Uses of Class
com.puppycrawl.tools.checkstyle.api.DetailAST

Packages that use DetailAST
com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework. 
com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks. 
com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.annotation Contains the Annotation checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.blocks Contains the Block checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.coding Contains the Coding checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.design Contains the Class Design checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.imports Contains the Imports checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.indentation Contains all classes required for the indentation check. 
com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.metrics Contains the Metrics checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.modifier Contains the modifier checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.naming Contains the Naming conventions checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.regexp Contains the regular expression checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.sizes Contains the Size Violations checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.whitespace Contains the Whitespace checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.gui User interface classes for CheckStyle. 
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle
 

Methods in com.puppycrawl.tools.checkstyle that return DetailAST
static DetailAST TreeWalker.parse(FileContents aContents)
          Static helper method to parses a Java source file.
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.api
 

Methods in com.puppycrawl.tools.checkstyle.api that return DetailAST
static DetailAST AnnotationUtility.annotatingWhat(DetailAST aAST)
          Checks to see what the passed in AST (representing an annotation) is annotating.
 DetailAST DetailAST.findFirstToken(int aType)
          Returns the first child token that makes a specified type.
static DetailAST AnnotationUtility.getAnnotation(DetailAST aAST, java.lang.String aAnnotation)
          Checks to see if the AST is annotated with the passed in annotation and return the AST representing that annotation.
static DetailAST AnnotationUtility.getAnnotationHolder(DetailAST aAST)
          Gets the AST that holds a series of annotations for the potentially annotated AST.
 DetailAST DetailAST.getFirstChild()
           
 DetailAST DetailAST.getLastChild()
           
 DetailAST DetailAST.getNextSibling()
           
 DetailAST DetailAST.getParent()
          Returns the parent token.
 DetailAST DetailAST.getPreviousSibling()
          Returns the previous sibling or null if no such sibling exists.
 

Methods in com.puppycrawl.tools.checkstyle.api with parameters of type DetailAST
static DetailAST AnnotationUtility.annotatingWhat(DetailAST aAST)
          Checks to see what the passed in AST (representing an annotation) is annotating.
 void Check.beginTree(DetailAST aRootAST)
          Called before the starting to process a tree.
static boolean AnnotationUtility.containsAnnotation(DetailAST aAST)
          Checks to see if the AST is annotated with any annotation.
static boolean AnnotationUtility.containsAnnotation(DetailAST aAST, java.lang.String aAnnotation)
          Checks to see if the AST is annotated with the passed in annotation.
static FullIdent FullIdent.createFullIdent(DetailAST aAST)
          Creates a new FullIdent starting from the specified node.
static FullIdent FullIdent.createFullIdentBelow(DetailAST aAST)
          Creates a new FullIdent starting from the child of the specified node.
 void Check.finishTree(DetailAST aRootAST)
          Called after finished processing a tree.
static DetailAST AnnotationUtility.getAnnotation(DetailAST aAST, java.lang.String aAnnotation)
          Checks to see if the AST is annotated with the passed in annotation and return the AST representing that annotation.
static DetailAST AnnotationUtility.getAnnotationHolder(DetailAST aAST)
          Gets the AST that holds a series of annotations for the potentially annotated AST.
static Scope ScopeUtils.getScopeFromMods(DetailAST aMods)
          Returns the Scope specified by the modifier set.
static Scope ScopeUtils.getSurroundingScope(DetailAST aAST)
          Returns the scope of the surrounding "block".
static boolean ScopeUtils.inAnnotationBlock(DetailAST aAST)
          Returns whether a node is directly contained within an annotation block.
static boolean ScopeUtils.inCodeBlock(DetailAST aAST)
          Returns whether the scope of a node is restricted to a code block.
static boolean ScopeUtils.inEnumBlock(DetailAST aAST)
          Returns whether a node is directly contained within an enum block.
static boolean ScopeUtils.inInterfaceBlock(DetailAST aAST)
          Returns whether a node is directly contained within an interface block.
static boolean ScopeUtils.inInterfaceOrAnnotationBlock(DetailAST aAST)
          Returns whether a node is directly contained within an interface or annotation block.
static boolean AnnotationUtility.isAnnotatingType(DetailAST aAST, int aTokenType)
          Checks to see if the passed in AST (representing an annotation) is annotating the passed in type.
static boolean ScopeUtils.isLocalVariableDef(DetailAST aAST)
          Determines whether a node is a local variable definition.
static boolean ScopeUtils.isOuterMostType(DetailAST aAST)
          Returns whether a node is contained in the outer most type block.
abstract  boolean JavadocTagInfo.isValidOn(DetailAST aAST)
          Checks if a particular Javadoc tag is valid within a Javadoc block of a given AST.
 void Check.leaveToken(DetailAST aAST)
          Called after all the child nodes have been process.
protected  void AbstractViolationReporter.log(DetailAST aAST, java.lang.String aKey, java.lang.Object... aArgs)
          Helper method to log a LocalizedMessage.
 void Check.visitToken(DetailAST aAST)
          Called to process a token.
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks
 

Methods in com.puppycrawl.tools.checkstyle.checks that return DetailAST
static DetailAST CheckUtils.getFirstNode(DetailAST aNode)
          Finds sub-node for given node minimal (line, column) pair.
 

Methods in com.puppycrawl.tools.checkstyle.checks that return types with arguments of type DetailAST
static java.util.List<DetailAST> CheckUtils.getTypeParameters(DetailAST aNode)
          Retrieves the type parameters to the node.
 

Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type DetailAST
 void OuterTypeFilenameCheck.beginTree(DetailAST aAST)
           
 void UncommentedMainCheck.beginTree(DetailAST aRootAST)
           
 void RegexpCheck.beginTree(DetailAST aRootAST)
           
 void TodoCommentCheck.beginTree(DetailAST aRootAST)
           
 void TrailingCommentCheck.beginTree(DetailAST aRootAST)
           
 void FileContentsHolder.beginTree(DetailAST aRootAST)
           
 void AbstractTypeAwareCheck.beginTree(DetailAST aRootAST)
           
 void DeclarationCollector.beginTree(DetailAST aRootAST)
           
static FullIdent CheckUtils.createFullType(DetailAST aTypeAST)
          Creates FullIdent for given type node.
 void FileContentsHolder.finishTree(DetailAST aRootAST)
           
static DetailAST CheckUtils.getFirstNode(DetailAST aNode)
          Finds sub-node for given node minimal (line, column) pair.
static java.util.List<java.lang.String> CheckUtils.getTypeParameterNames(DetailAST aNode)
          Retrieves the names of the type parameters to the node.
static java.util.List<DetailAST> CheckUtils.getTypeParameters(DetailAST aNode)
          Retrieves the type parameters to the node.
static boolean CheckUtils.isElseIf(DetailAST aAST)
          Returns whether a token represents an ELSE as part of an ELSE / IF set.
static boolean CheckUtils.isEqualsMethod(DetailAST aAST)
          Tests whether a method definition AST defines an equals covariant.
protected  void AbstractTypeAwareCheck.leaveAST(DetailAST aAST)
          Called when exiting an AST.
 void UncommentedMainCheck.leaveToken(DetailAST aAst)
           
 void AbstractTypeAwareCheck.leaveToken(DetailAST aAST)
           
 void DeclarationCollector.leaveToken(DetailAST aAST)
           
protected abstract  void AbstractTypeAwareCheck.processAST(DetailAST aAST)
          Called to process an AST when visiting it.
 void OuterTypeFilenameCheck.visitToken(DetailAST aAST)
           
 void UncommentedMainCheck.visitToken(DetailAST aAst)
           
 void FinalParametersCheck.visitToken(DetailAST aAST)
           
 void UpperEllCheck.visitToken(DetailAST aAST)
           
 void DescendantTokenCheck.visitToken(DetailAST aAST)
           
 void TrailingCommentCheck.visitToken(DetailAST aAST)
           
 void AbstractTypeAwareCheck.visitToken(DetailAST aAST)
           
 void ArrayTypeStyleCheck.visitToken(DetailAST aAST)
           
 void DeclarationCollector.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.annotation
 

Methods in com.puppycrawl.tools.checkstyle.checks.annotation with parameters of type DetailAST
 void MissingDeprecatedCheck.visitToken(DetailAST aAST)
          Called to process a token.
 void PackageAnnotationCheck.visitToken(DetailAST aAST)
          Called to process a token.
 void MissingOverrideCheck.visitToken(DetailAST aAST)
          Called to process a token.
 void SuppressWarningsCheck.visitToken(DetailAST aAST)
          Called to process a token.
 void AnnotationUseStyleCheck.visitToken(DetailAST aAST)
          Called to process a token.
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.blocks
 

Methods in com.puppycrawl.tools.checkstyle.checks.blocks with parameters of type DetailAST
protected  boolean EmptyBlockCheck.hasText(DetailAST aSlistAST)
           
 void AvoidNestedBlocksCheck.visitToken(DetailAST aAST)
           
 void RightCurlyCheck.visitToken(DetailAST aAST)
           
 void LeftCurlyCheck.visitToken(DetailAST aAST)
           
 void EmptyBlockCheck.visitToken(DetailAST aAST)
           
 void NeedBracesCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.coding
 

Methods in com.puppycrawl.tools.checkstyle.checks.coding with parameters of type DetailAST
 void MultipleStringLiteralsCheck.beginTree(DetailAST aRootAST)
           
 void EqualsHashCodeCheck.beginTree(DetailAST aRootAST)
           
 void PackageDeclarationCheck.beginTree(DetailAST aAST)
           
 void ModifiedControlVariableCheck.beginTree(DetailAST aRootAST)
           
 void IllegalTokenTextCheck.beginTree(DetailAST aRootAST)
           
 void AbstractNestedDepthCheck.beginTree(DetailAST aRootAST)
           
 void HiddenFieldCheck.beginTree(DetailAST aRootAST)
           
 void ReturnCountCheck.beginTree(DetailAST aRootAST)
           
 void AbstractSuperCheck.beginTree(DetailAST aRootAST)
           
 void IllegalInstantiationCheck.beginTree(DetailAST aRootAST)
           
 void ParameterAssignmentCheck.beginTree(DetailAST aRootAST)
           
 void OneStatementPerLineCheck.beginTree(DetailAST aRootAST)
           
 void MultipleStringLiteralsCheck.finishTree(DetailAST aRootAST)
           
 void EqualsHashCodeCheck.finishTree(DetailAST aRootAST)
           
 void PackageDeclarationCheck.finishTree(DetailAST aAST)
           
 void IllegalInstantiationCheck.finishTree(DetailAST aRootAST)
           
 void NestedForDepthCheck.leaveToken(DetailAST aAST)
           
 void DeclarationOrderCheck.leaveToken(DetailAST aAST)
           
 void ModifiedControlVariableCheck.leaveToken(DetailAST aAST)
           
 void NestedTryDepthCheck.leaveToken(DetailAST aAST)
           
 void NestedIfDepthCheck.leaveToken(DetailAST aAST)
           
 void HiddenFieldCheck.leaveToken(DetailAST aAST)
           
 void ReturnCountCheck.leaveToken(DetailAST aAST)
           
 void UnnecessaryParenthesesCheck.leaveToken(DetailAST aAST)
           
 void FinalLocalVariableCheck.leaveToken(DetailAST aAST)
           
 void AbstractSuperCheck.leaveToken(DetailAST aAST)
           
 void ParameterAssignmentCheck.leaveToken(DetailAST aAST)
           
 void OneStatementPerLineCheck.leaveToken(DetailAST aAst)
           
protected  void AbstractNestedDepthCheck.nestIn(DetailAST aAST, java.lang.String aMessageId)
          Increasing current nesting depth.
protected  void RedundantThrowsCheck.processAST(DetailAST aAST)
           
 void ExplicitInitializationCheck.visitToken(DetailAST aAST)
           
 void EqualsAvoidNullCheck.visitToken(DetailAST aMethodCall)
           
 void IllegalCatchCheck.visitToken(DetailAST aDetailAST)
           
 void RequireThisCheck.visitToken(DetailAST aAST)
           
 void MultipleStringLiteralsCheck.visitToken(DetailAST aAST)
           
 void MissingCtorCheck.visitToken(DetailAST aAST)
           
 void NestedForDepthCheck.visitToken(DetailAST aAST)
           
 void EqualsHashCodeCheck.visitToken(DetailAST aAST)
           
 void IllegalTypeCheck.visitToken(DetailAST aAST)
           
 void MultipleVariableDeclarationsCheck.visitToken(DetailAST aAST)
           
 void PackageDeclarationCheck.visitToken(DetailAST aAST)
           
 void ArrayTrailingCommaCheck.visitToken(DetailAST aArrayInit)
           
 void DeclarationOrderCheck.visitToken(DetailAST aAST)
           
 void ModifiedControlVariableCheck.visitToken(DetailAST aAST)
           
 void AbstractIllegalMethodCheck.visitToken(DetailAST aAST)
           
 void IllegalTokenTextCheck.visitToken(DetailAST aAST)
           
 void NestedTryDepthCheck.visitToken(DetailAST aAST)
           
 void NestedIfDepthCheck.visitToken(DetailAST aAST)
           
 void DoubleCheckedLockingCheck.visitToken(DetailAST aAST)
           
 void HiddenFieldCheck.visitToken(DetailAST aAST)
           
 void ReturnCountCheck.visitToken(DetailAST aAST)
           
 void UnnecessaryParenthesesCheck.visitToken(DetailAST aAST)
           
 void FinalLocalVariableCheck.visitToken(DetailAST aAST)
           
 void JUnitTestCaseCheck.visitToken(DetailAST aAST)
           
 void MagicNumberCheck.visitToken(DetailAST aAST)
           
 void EmptyStatementCheck.visitToken(DetailAST aAST)
           
 void FallThroughCheck.visitToken(DetailAST aAST)
           
 void AvoidInlineConditionalsCheck.visitToken(DetailAST aAST)
           
 void DefaultComesLastCheck.visitToken(DetailAST aAST)
           
 void CovariantEqualsCheck.visitToken(DetailAST aAST)
           
 void StringLiteralEqualityCheck.visitToken(DetailAST aAST)
           
 void IllegalTokenCheck.visitToken(DetailAST aAST)
           
 void InnerAssignmentCheck.visitToken(DetailAST aAST)
           
 void AbstractSuperCheck.visitToken(DetailAST aAST)
           
 void IllegalInstantiationCheck.visitToken(DetailAST aAST)
           
 void SimplifyBooleanReturnCheck.visitToken(DetailAST aAST)
           
 void ParameterAssignmentCheck.visitToken(DetailAST aAST)
           
 void OneStatementPerLineCheck.visitToken(DetailAST aAst)
           
 void IllegalThrowsCheck.visitToken(DetailAST aDetailAST)
           
 void SimplifyBooleanExpressionCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.design
 

Methods in com.puppycrawl.tools.checkstyle.checks.design with parameters of type DetailAST
 void FinalClassCheck.leaveToken(DetailAST aAST)
           
 void MutableExceptionCheck.leaveToken(DetailAST aAST)
           
 void InnerTypeLastCheck.leaveToken(DetailAST aAST)
           
 void FinalClassCheck.visitToken(DetailAST aAST)
           
 void MutableExceptionCheck.visitToken(DetailAST aAST)
           
 void VisibilityModifierCheck.visitToken(DetailAST aAST)
           
 void DesignForExtensionCheck.visitToken(DetailAST aAST)
           
 void HideUtilityClassConstructorCheck.visitToken(DetailAST aAST)
           
 void InnerTypeLastCheck.visitToken(DetailAST aAST)
           
 void ThrowsCountCheck.visitToken(DetailAST aAST)
           
 void InterfaceIsTypeCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.imports
 

Methods in com.puppycrawl.tools.checkstyle.checks.imports with parameters of type DetailAST
 void UnusedImportsCheck.beginTree(DetailAST aRootAST)
           
 void ImportControlCheck.beginTree(DetailAST aRootAST)
           
 void RedundantImportCheck.beginTree(DetailAST aRootAST)
           
 void ImportOrderCheck.beginTree(DetailAST aRootAST)
           
 void UnusedImportsCheck.finishTree(DetailAST aRootAST)
           
 void IllegalImportCheck.visitToken(DetailAST aAST)
           
 void UnusedImportsCheck.visitToken(DetailAST aAST)
           
 void ImportControlCheck.visitToken(DetailAST aAST)
           
 void AvoidStaticImportCheck.visitToken(DetailAST aAST)
           
 void AvoidStarImportCheck.visitToken(DetailAST aAST)
           
 void RedundantImportCheck.visitToken(DetailAST aAST)
           
 void ImportOrderCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.indentation
 

Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return DetailAST
protected  DetailAST SlistHandler.getLCurly()
           
protected  DetailAST SwitchHandler.getLCurly()
           
protected  DetailAST BlockParentHandler.getLCurly()
          Get the left curly brace portion of the expression we are handling.
protected  DetailAST ObjectBlockHandler.getLCurly()
           
protected  DetailAST ArrayInitHandler.getLCurly()
           
protected  DetailAST ClassDefHandler.getLCurly()
           
protected  DetailAST SlistHandler.getListChild()
           
protected  DetailAST SwitchHandler.getListChild()
           
protected  DetailAST BlockParentHandler.getListChild()
          Get the child element representing the list of statements.
protected  DetailAST ObjectBlockHandler.getListChild()
           
protected  DetailAST ArrayInitHandler.getListChild()
           
protected  DetailAST ClassDefHandler.getListChild()
           
protected  DetailAST BlockParentHandler.getLParen()
          Get the left parenthesis portion of the expression we are handling.
protected  DetailAST ExpressionHandler.getMainAst()
          Accessor for the MainAst attribute.
protected  DetailAST SlistHandler.getNonlistChild()
           
protected  DetailAST SwitchHandler.getNonlistChild()
           
protected  DetailAST ElseHandler.getNonlistChild()
           
protected  DetailAST BlockParentHandler.getNonlistChild()
          Get the child element that is not a list of statements.
protected  DetailAST SlistHandler.getRCurly()
           
protected  DetailAST SwitchHandler.getRCurly()
           
protected  DetailAST BlockParentHandler.getRCurly()
          Get the right curly brace portion of the expression we are handling.
protected  DetailAST ObjectBlockHandler.getRCurly()
           
protected  DetailAST ArrayInitHandler.getRCurly()
           
protected  DetailAST ClassDefHandler.getRCurly()
           
protected  DetailAST BlockParentHandler.getRParen()
          Get the right parenthesis portion of the expression we are handling.
protected  DetailAST SlistHandler.getToplevelAST()
           
protected  DetailAST BlockParentHandler.getToplevelAST()
          Get the top level expression being managed by this handler.
protected  DetailAST ObjectBlockHandler.getToplevelAST()
           
protected  DetailAST ArrayInitHandler.getToplevelAST()
           
protected  DetailAST ClassDefHandler.getToplevelAST()
           
protected  DetailAST MethodDefHandler.getToplevelAST()
           
 

Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type DetailAST
 void IndentationCheck.beginTree(DetailAST aAst)
           
protected  void ExpressionHandler.checkChildren(DetailAST aParent, int[] aTokenTypes, IndentLevel aStartLevel, boolean aFirstLineMatches, boolean aAllowNesting)
          Check the indent level of the children of the specified parent expression.
protected  void ExpressionHandler.checkExpressionSubtree(DetailAST aTree, IndentLevel aLevel, boolean aFirstLineMatches, boolean aAllowNesting)
          Check the indentation level for an expression subtree.
protected  void ExpressionHandler.checkLParen(DetailAST aLparen)
          Check the indentation of the left parenthesis.
protected  void ExpressionHandler.checkRParen(DetailAST aLparen, DetailAST aRparen)
          Check the indentation of the right parenthesis.
protected  int ExpressionHandler.expandedTabsColumnNo(DetailAST aAST)
          Get the column number for the start of a given expression, expanding tabs out into spaces in the process.
protected  void ExpressionHandler.findSubtreeLines(LineSet aLines, DetailAST aTree, boolean aAllowNesting)
          Find the set of lines for a given subtree.
protected  int ExpressionHandler.getFirstLine(int aStartLine, DetailAST aTree)
          Get the first line for a given expression.
 ExpressionHandler HandlerFactory.getHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Get the handler for an AST.
protected  int ExpressionHandler.getLineStart(DetailAST aAst)
          Get the start of the line for the given expression.
 void IndentationCheck.leaveToken(DetailAST aAST)
           
protected  void ExpressionHandler.logError(DetailAST aAst, java.lang.String aSubtypeName, int aActualLevel)
          Log an indentation error.
protected  void ExpressionHandler.logError(DetailAST aAst, java.lang.String aSubtypeName, int aActualLevel, IndentLevel aExpectedLevel)
          Log an indentation error.
protected  boolean ExpressionHandler.startsLine(DetailAST aAst)
          Determines if the given expression is at the start of a line.
 void IndentationCheck.visitToken(DetailAST aAST)
           
 

Constructors in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type DetailAST
ArrayInitHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
AssignHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
BlockParentHandler(IndentationCheck aIndentCheck, java.lang.String aName, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, name, abstract syntax tree, and parent handler.
CaseHandler(IndentationCheck aIndentCheck, DetailAST aExpr, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
CatchHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ClassDefHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
DoWhileHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ElseHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ExpressionHandler(IndentationCheck aIndentCheck, java.lang.String aTypeName, DetailAST aExpr, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, name, abstract syntax tree, and parent handler.
FinallyHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ForHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
IfHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ImportHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
LabelHandler(IndentationCheck aIndentCheck, DetailAST aExpr, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
MemberDefHandler(IndentationCheck aIndentCheck, DetailAST aAST, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
MethodCallHandler(IndentationCheck aIndentCheck, DetailAST aAST, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
MethodDefHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
NewHandler(IndentationCheck aIndentCheck, DetailAST aAST, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ObjectBlockHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
PackageDefHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
SlistHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
StaticInitHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
SwitchHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
TryHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
WhileHandler(IndentationCheck aIndentCheck, DetailAST aAst, ExpressionHandler aParent)
          Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.javadoc
 

Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type DetailAST
protected  boolean JavadocMethodCheck.isMissingJavadocAllowed(DetailAST aAST)
          The JavadocMethodCheck is about to report a missing Javadoc.
protected  void JavadocMethodCheck.processAST(DetailAST aAST)
           
 void WriteTagCheck.visitToken(DetailAST aAST)
           
 void JavadocVariableCheck.visitToken(DetailAST aAST)
           
 void JavadocTypeCheck.visitToken(DetailAST aAST)
           
 void JavadocStyleCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.metrics
 

Methods in com.puppycrawl.tools.checkstyle.checks.metrics with parameters of type DetailAST
 void AbstractClassCouplingCheck.beginTree(DetailAST aAST)
           
 void JavaNCSSCheck.beginTree(DetailAST aRootAST)
           
 void JavaNCSSCheck.finishTree(DetailAST aRootAST)
           
 void AbstractClassCouplingCheck.leaveToken(DetailAST aAST)
           
 void AbstractComplexityCheck.leaveToken(DetailAST aAST)
           
 void NPathComplexityCheck.leaveToken(DetailAST aAST)
           
 void JavaNCSSCheck.leaveToken(DetailAST aAST)
           
 void BooleanExpressionComplexityCheck.leaveToken(DetailAST aAST)
           
protected  void AbstractComplexityCheck.leaveTokenHook(DetailAST aAST)
          Hook called when leaving a token.
 void AbstractClassCouplingCheck.visitToken(DetailAST aAST)
           
 void AbstractComplexityCheck.visitToken(DetailAST aAST)
           
 void NPathComplexityCheck.visitToken(DetailAST aAST)
           
 void JavaNCSSCheck.visitToken(DetailAST aAST)
           
 void BooleanExpressionComplexityCheck.visitToken(DetailAST aAST)
           
protected  void AbstractComplexityCheck.visitTokenHook(DetailAST aAST)
          Hook called when visiting a token.
protected  void CyclomaticComplexityCheck.visitTokenHook(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.modifier
 

Methods in com.puppycrawl.tools.checkstyle.checks.modifier with parameters of type DetailAST
 void ModifierOrderCheck.visitToken(DetailAST aAST)
           
 void RedundantModifierCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.naming
 

Methods in com.puppycrawl.tools.checkstyle.checks.naming with parameters of type DetailAST
protected  boolean LocalFinalVariableNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean ConstantNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean AbstractTypeParameterNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean StaticVariableNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean ParameterNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean MemberNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean AbstractAccessControlNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean AbstractNameCheck.mustCheckName(DetailAST aAST)
          Decides whether the name of an AST should be checked against the format regexp.
protected  boolean LocalVariableNameCheck.mustCheckName(DetailAST aAST)
           
protected  boolean AbstractAccessControlNameCheck.shouldCheckInScope(DetailAST aModifiers)
          Should we check member with given modifiers.
 void AbstractClassNameCheck.visitToken(DetailAST aAST)
           
 void MethodNameCheck.visitToken(DetailAST aAst)
           
 void PackageNameCheck.visitToken(DetailAST aAST)
           
 void AbstractNameCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.regexp
 

Methods in com.puppycrawl.tools.checkstyle.checks.regexp with parameters of type DetailAST
 void RegexpSinglelineJavaCheck.beginTree(DetailAST aRootAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.sizes
 

Methods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type DetailAST
 void ExecutableStatementCountCheck.beginTree(DetailAST aRootAST)
           
 void OuterTypeNumberCheck.beginTree(DetailAST aAst)
           
 void LineLengthCheck.beginTree(DetailAST aRootAST)
           
 void OuterTypeNumberCheck.finishTree(DetailAST aAst)
           
 void MethodCountCheck.leaveToken(DetailAST aAST)
           
 void ExecutableStatementCountCheck.leaveToken(DetailAST aAST)
           
 void OuterTypeNumberCheck.leaveToken(DetailAST aAst)
           
 void MethodCountCheck.visitToken(DetailAST aAST)
           
 void MethodLengthCheck.visitToken(DetailAST aAST)
           
 void ParameterNumberCheck.visitToken(DetailAST aAST)
           
 void ExecutableStatementCountCheck.visitToken(DetailAST aAST)
           
 void OuterTypeNumberCheck.visitToken(DetailAST aAst)
           
 void AnonInnerLengthCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.checks.whitespace
 

Methods in com.puppycrawl.tools.checkstyle.checks.whitespace with parameters of type DetailAST
 void GenericWhitespaceCheck.beginTree(DetailAST aRootAST)
           
 void WhitespaceAfterCheck.visitToken(DetailAST aAST)
           
 void TypecastParenPadCheck.visitToken(DetailAST aAST)
           
 void EmptyForIteratorPadCheck.visitToken(DetailAST aAST)
           
 void NoWhitespaceBeforeCheck.visitToken(DetailAST aAST)
           
 void ParenPadCheck.visitToken(DetailAST aAST)
           
 void OperatorWrapCheck.visitToken(DetailAST aAST)
           
 void WhitespaceAroundCheck.visitToken(DetailAST aAST)
           
 void NoWhitespaceAfterCheck.visitToken(DetailAST aAST)
           
 void GenericWhitespaceCheck.visitToken(DetailAST aAST)
           
 void MethodParamPadCheck.visitToken(DetailAST aAST)
           
 void EmptyForInitializerPadCheck.visitToken(DetailAST aAST)
           
 

Uses of DetailAST in com.puppycrawl.tools.checkstyle.gui
 

Methods in com.puppycrawl.tools.checkstyle.gui that return DetailAST
static DetailAST ParseTreeInfoPanel.parseFile(FileText aText)
          Parses a file and returns the parse tree.
static DetailAST ParseTreeInfoPanel.parseFile(java.lang.String aFileName)
          Deprecated. Use ParseTreeInfoPanel.parseFile(FileText) instead
 

Constructors in com.puppycrawl.tools.checkstyle.gui with parameters of type DetailAST
ParseTreeModel(DetailAST parseTree)
           
 



Copyright © 2001-2010. All Rights Reserved.