|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.BeanMethodChecker
com.puppycrawl.tools.checkstyle.checks.j2ee.EntityBeanMethodChecker
public class EntityBeanMethodChecker
Root class for entity bean method checks.
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)
Checks whether an ejbCreate<METHOD>(...) method of a bean satisfies requirements. |
protected void |
checkHomeMethod(DetailAST aMethodAST)
Checks whether an ejbHome<METHOD>(...) method of an entity bean satisfies requirements. |
void |
checkMethod(DetailAST aMethodAST)
Checks whether a method satisfies component requirements. |
void |
checkMethods(DetailAST aAST)
Checks that the methods of a component satisfy requirements. |
protected void |
checkPostCreateMethod(DetailAST aMethodAST)
Checks whether an ejbPostCreate<METHOD>(...) method of an entity bean satisfies requirements. |
Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker |
---|
checkMethod, checkNotThrows, checkThrows, getCheck, log, logName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EntityBeanMethodChecker(EntityBeanCheck aCheck)
aCheck
- the bean check.Method Detail |
---|
public void checkMethods(DetailAST aAST)
checkMethods
in class MethodChecker
aAST
- the AST for the component definition.protected void checkCreateMatch()
public void checkMethod(DetailAST aMethodAST)
checkMethod
in class BeanMethodChecker
aMethodAST
- the AST for the method definition.protected void checkCreateMethod(DetailAST aMethodAST)
checkCreateMethod
in class BeanMethodChecker
aMethodAST
- the AST for the method definition.protected void checkHomeMethod(DetailAST aMethodAST)
aMethodAST
- the AST for the method definition.protected void checkPostCreateMethod(DetailAST aMethodAST)
aMethodAST
- the AST for the method definition.
|
Back to the Checkstyle Home Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |