| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.j2ee.MethodCheckercom.puppycrawl.tools.checkstyle.checks.j2ee.BeanMethodCheckercom.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodCheckerpublic class EntityBeanMethodCheckerextends BeanMethodCheckerConstructor Summary | |
| |
Method Summary | |
protected void |
|
protected void |
|
protected void |
|
void |
|
void |
|
protected void |
|
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.BeanMethodChecker | |
checkCreateMethod, checkMethod | |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker | |
checkMethod, checkMethod, checkMethods, checkNotThrows, checkThrows, getCheck, log, logName | |
public EntityBeanMethodChecker(EntityBeanCheck aCheck)
Constructs a EntityBeanMethodChecker for a bean check.
- Parameters:
aCheck- the bean check.
protected void checkCreateMatch()
Checks that every ejbCreate method has a matching ejbPostCreate method.
protected void checkCreateMethod(DetailAST aMethodAST)
- Overrides:
- checkCreateMethod in interface BeanMethodChecker
protected void checkHomeMethod(DetailAST aMethodAST)
Checks whether an ejbHome<METHOD>(...) method of an entity bean satisfies requirements.
- Parameters:
aMethodAST- the AST for the method definition.
public void checkMethod(DetailAST aMethodAST)
- Overrides:
- checkMethod in interface BeanMethodChecker
public void checkMethods(DetailAST aAST)
- Overrides:
- checkMethods in interface MethodChecker
protected void checkPostCreateMethod(DetailAST aMethodAST)
Checks whether an ejbPostCreate<METHOD>(...) method of an entity bean satisfies requirements.
- Parameters:
aMethodAST- the AST for the method definition.
| Back to the Checkstyle Home Page |