com.puppycrawl.tools.checkstyle.checks.j2ee

Class ThisParameterCheck

public class ThisParameterCheck extends Check

Checks that 'this' is not a parameter of any method calls or constructors for a bean. Instead, you must use the result of the getEJBObject() available in SessionContext or EntityContext. http://www.javaworld.com/javaworld/jw-08-2000/jw-0825-ejbrestrict.html

Author: Rick Giles

Method Summary
int[]getDefaultTokens()
{@inheritDoc}
int[]getRequiredTokens()
{@inheritDoc}
voidvisitToken(DetailAST aAST)
{@inheritDoc}

Method Detail

getDefaultTokens

public int[] getDefaultTokens()
{@inheritDoc}

getRequiredTokens

public int[] getRequiredTokens()
{@inheritDoc}

visitToken

public void visitToken(DetailAST aAST)
{@inheritDoc}