com.puppycrawl.tools.checkstyle.checks.j2ee

Class HomeInterfaceMethodChecker

Known Direct Subclasses:
LocalHomeInterfaceMethodChecker, RemoteHomeInterfaceMethodChecker

public abstract class HomeInterfaceMethodChecker
extends MethodChecker

Checks the methods of a home interface.
Author:
Rick Giles

Constructor Summary

HomeInterfaceMethodChecker(AbstractInterfaceCheck aCheck)
Constructs a method checker for a home interface check.

Method Summary

protected void
checkCreateMethod(DetailAST aMethodAST)
Checks create<METHOD>(...) method requirements.
void
checkMethod(DetailAST aMethodAST)

Methods inherited from class com.puppycrawl.tools.checkstyle.checks.j2ee.MethodChecker

checkMethod, checkMethod, checkMethods, checkNotThrows, checkThrows, getCheck, log, logName

Constructor Details

HomeInterfaceMethodChecker

public HomeInterfaceMethodChecker(AbstractInterfaceCheck aCheck)
Constructs a method checker for a home interface check.
Parameters:
aCheck - the home interface check.

Method Details

checkCreateMethod

protected void checkCreateMethod(DetailAST aMethodAST)
Checks create<METHOD>(...) method requirements.
Parameters:
aMethodAST - the AST for the method definition.

checkMethod

public void checkMethod(DetailAST aMethodAST)
Overrides:
checkMethod in interface MethodChecker