com.puppycrawl.tools.checkstyle.checks.j2ee
public class EntityBeanMethodChecker extends BeanMethodChecker
| Constructor Summary | |
|---|---|
| EntityBeanMethodChecker(EntityBeanCheck aCheck)
Constructs a EntityBeanMethodChecker for a bean check. | |
| Method Summary | |
|---|---|
| protected void | checkCreateMatch()
Checks that every ejbCreate method has a matching ejbPostCreate method. |
| protected void | checkCreateMethod(DetailAST aMethodAST) |
| protected void | checkHomeMethod(DetailAST aMethodAST)
Checks whether an ejbHome<METHOD>(...) method of an
entity bean satisfies requirements. |
| void | checkMethod(DetailAST aMethodAST) |
| void | checkMethods(DetailAST aAST) |
| protected void | checkPostCreateMethod(DetailAST aMethodAST)
Checks whether an ejbPostCreate<METHOD>(...) method of an
entity bean satisfies requirements. |
Parameters: aCheck the bean check.
Parameters: aMethodAST the AST for the method definition.
Parameters: aMethodAST the AST for the method definition.