Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## 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.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.header | File Header checks.
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.j2ee | Contains J2EE checks.
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.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.
`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
`DetailAST` | `DetailAST.findFirstToken(int aType)` Returns the first child token that makes a specified type.
`DetailAST` | `DetailAST.findFirstToken(int aType)` Returns the first child token that makes a specified type.
`DetailAST` | `DetailAST.getLastChild()`
`DetailAST` | `DetailAST.getLastChild()`
`DetailAST` | `DetailAST.getParent()` Returns the parent token.
`DetailAST` | `DetailAST.getParent()` Returns the parent token.
`DetailAST` | `DetailAST.getPreviousSibling()` Returns the previous sibling or null if no such sibling exists.
`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
`void` | `Check.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `Check.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`static FullIdent` | `FullIdent.createFullIdent(DetailAST aAST)` Creates a new FullIdent starting from the specified node.
`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.
`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.
`void` | `Check.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`static Scope` | `ScopeUtils.getScopeFromMods(DetailAST aMods)` Returns the Scope specified by the modifier set.
`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 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.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.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.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.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` | `ScopeUtils.inInterfaceOrAnnotationBlock(DetailAST aAST)` Returns whether a node is directly contained within an interface or annotation block.
`static boolean` | `ScopeUtils.isLocalVariableDef(DetailAST aAST)` Determines whether a node is a local variable definition.
`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.
`static boolean` | `ScopeUtils.isOuterMostType(DetailAST aAST)` Returns whether a node is contained in the outer most type block.
`void` | `Check.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `Check.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`protected void` | `AbstractViolationReporter.log(DetailAST aAST, String aKey)` Helper method to log a LocalizedMessage.
`protected void` | `AbstractViolationReporter.log(DetailAST aAST, String aKey)` Helper method to log a LocalizedMessage.
`protected void` | `AbstractViolationReporter.log(DetailAST aAST, String aKey, Object aArg0)` Helper method to log a LocalizedMessage.
`protected void` | `AbstractViolationReporter.log(DetailAST aAST, String aKey, Object aArg0)` Helper method to log a LocalizedMessage.
`protected void` | `AbstractViolationReporter.log(DetailAST aAST, String aKey, Object aArg0, Object aArg1)` Helper method to log a LocalizedMessage.
`protected void` | `AbstractViolationReporter.log(DetailAST aAST, String aKey, Object aArg0, Object aArg1)` Helper method to log a LocalizedMessage.
`void` | `Check.visitToken(DetailAST aAST)` Called to process a token.
`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 with parameters of type DetailAST
`void` | `UncommentedMainCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `TrailingCommentCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `TodoCommentCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `RequiredRegexpCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `RegexpCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `GenericIllegalRegexpCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `FileContentsHolder.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `DeclarationCollector.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `AbstractTypeAwareCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`static FullIdent` | `CheckUtils.createFullType(DetailAST aTypeAST)` Creates `FullIdent` for given type node.
`void` | `FileContentsHolder.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`static DetailAST` | `CheckUtils.getFirstNode(DetailAST aNode)` Finds sub-node for given node minimal (line, column) pair.
`static List` | `CheckUtils.getTypeParameterNames(DetailAST aNode)` Retrieves the names of the type parameters to the node.
`static List` | `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)` Called after all the child nodes have been process.
`void` | `DeclarationCollector.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `AbstractTypeAwareCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`protected abstract void` | `AbstractTypeAwareCheck.processAST(DetailAST aAST)` Called to process an AST when visiting it.
`void` | `UncommentedMainCheck.visitToken(DetailAST aAst)` Called to process a token.
`void` | `TrailingCommentCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `UpperEllCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `FinalParametersCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `DescendantTokenCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `DeclarationCollector.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ArrayTypeStyleCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AbstractTypeAwareCheck.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
`void` | `RightCurlyCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `NeedBracesCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `LeftCurlyCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `EmptyBlockCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AvoidNestedBlocksCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.coding with parameters of type DetailAST
`void` | `ReturnCountCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `ParameterAssignmentCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `PackageDeclarationCheck.beginTree(DetailAST aAST)` Called before the starting to process a tree.
`void` | `MultipleStringLiteralsCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `ModifiedControlVariableCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `IllegalTokenTextCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `IllegalInstantiationCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `HiddenFieldCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `EqualsHashCodeCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `AbstractSuperCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `AbstractNestedDepthCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `PackageDeclarationCheck.finishTree(DetailAST aAST)` Called after finished processing a tree.
`void` | `MultipleStringLiteralsCheck.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`void` | `IllegalInstantiationCheck.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`void` | `EqualsHashCodeCheck.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`void` | `UnnecessaryParenthesesCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `ReturnCountCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `ParameterAssignmentCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `NestedTryDepthCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `NestedIfDepthCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `ModifiedControlVariableCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `HiddenFieldCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `FinalLocalVariableCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `DeclarationOrderCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `AbstractSuperCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`protected void` | `AbstractNestedDepthCheck.nestIn(DetailAST aAST, String aMessageId)` Increasing current nesting depth.
`protected void` | `RedundantThrowsCheck.processAST(DetailAST aAST)` Checks exceptions declared in throws for a method or constructor.
`void` | `UnnecessaryParenthesesCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `StringLiteralEqualityCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `SimplifyBooleanReturnCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `SimplifyBooleanExpressionCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ReturnCountCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `RequireThisCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ParameterAssignmentCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `PackageDeclarationCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `NestedTryDepthCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `NestedIfDepthCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MultipleVariableDeclarationsCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MultipleStringLiteralsCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ModifiedControlVariableCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MissingCtorCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MagicNumberCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `JUnitTestCaseCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `InnerAssignmentCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `IllegalTypeCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `IllegalTokenTextCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `IllegalTokenCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `IllegalThrowsCheck.visitToken(DetailAST aDetailAST)` Called to process a token.
`void` | `IllegalInstantiationCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `IllegalCatchCheck.visitToken(DetailAST aDetailAST)` Called to process a token.
`void` | `HiddenFieldCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `FinalLocalVariableCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `FallThroughCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ExplicitInitializationCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `EqualsHashCodeCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `EmptyStatementCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `DoubleCheckedLockingCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `DefaultComesLastCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `DeclarationOrderCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `CovariantEqualsCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AvoidInlineConditionalsCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ArrayTrailingCommaCheck.visitToken(DetailAST aArrayInit)` Called to process a token.
`void` | `AbstractSuperCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.design with parameters of type DetailAST
`void` | `MutableExceptionCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `FinalClassCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `VisibilityModifierCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ThrowsCountCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MutableExceptionCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `InterfaceIsTypeCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `HideUtilityClassConstructorCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `FinalClassCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `DesignForExtensionCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.header with parameters of type DetailAST
`void` | `RegexpHeaderCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `HeaderCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.

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)` Called before the starting to process a tree.
`void` | `RedundantImportCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `ImportOrderCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `ImportControlCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `UnusedImportsCheck.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`void` | `UnusedImportsCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `RedundantImportCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ImportOrderCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ImportControlCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `IllegalImportCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AvoidStarImportCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.indentation that return DetailAST
`protected DetailAST` | `SwitchHandler.getLCurly()` Get the left curly brace portion of the expression we are handling.
`protected DetailAST` | `SlistHandler.getLCurly()` Get the left curly brace portion of the expression we are handling.
`protected DetailAST` | `ObjectBlockHandler.getLCurly()` Get the left curly brace portion of the expression we are handling.
`protected DetailAST` | `ClassDefHandler.getLCurly()` Get the left curly brace portion of the expression we are handling.
`protected DetailAST` | `BlockParentHandler.getLCurly()` Get the left curly brace portion of the expression we are handling.
`protected DetailAST` | `ArrayInitHandler.getLCurly()` Get the left curly brace portion of the expression we are handling.
`protected DetailAST` | `SwitchHandler.getListChild()` There is no list of statements child for this handler.
`protected DetailAST` | `SlistHandler.getListChild()` Get the child element representing the list of statements.
`protected DetailAST` | `ObjectBlockHandler.getListChild()` Get the child element representing the list of statements.
`protected DetailAST` | `ClassDefHandler.getListChild()` Get the child element representing the list of statements.
`protected DetailAST` | `BlockParentHandler.getListChild()` Get the child element representing the list of statements.
`protected DetailAST` | `ArrayInitHandler.getListChild()` Get the child element representing the list of statements.
`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` | `SwitchHandler.getNonlistChild()` There is no child element that is not a list of statements.
`protected DetailAST` | `SlistHandler.getNonlistChild()` Get the child element that is not a list of statements.
`protected DetailAST` | `ElseHandler.getNonlistChild()` Get the child element that is not a list of statements.
`protected DetailAST` | `BlockParentHandler.getNonlistChild()` Get the child element that is not a list of statements.
`protected DetailAST` | `SwitchHandler.getRCurly()` Get the right curly brace portion of the expression we are handling.
`protected DetailAST` | `SlistHandler.getRCurly()` Get the right curly brace portion of the expression we are handling.
`protected DetailAST` | `ObjectBlockHandler.getRCurly()` Get the right curly brace portion of the expression we are handling.
`protected DetailAST` | `ClassDefHandler.getRCurly()` Get the right curly brace portion of the expression we are handling.
`protected DetailAST` | `BlockParentHandler.getRCurly()` Get the right curly brace portion of the expression we are handling.
`protected DetailAST` | `ArrayInitHandler.getRCurly()` Get the right curly brace portion of the expression we are handling.
`protected DetailAST` | `BlockParentHandler.getRParen()` Get the right parenthesis portion of the expression we are handling.
`protected DetailAST` | `SlistHandler.getToplevelAST()` There is no top level expression for this handler.
`protected DetailAST` | `ObjectBlockHandler.getToplevelAST()` There is no top level expression for this handler.
`protected DetailAST` | `MethodDefHandler.getToplevelAST()` There is no top level expression for this handler.
`protected DetailAST` | `ClassDefHandler.getToplevelAST()` There is no top level expression for this handler.
`protected DetailAST` | `BlockParentHandler.getToplevelAST()` Get the top level expression being managed by this handler.
`protected DetailAST` | `ArrayInitHandler.getToplevelAST()` There is no top level expression for this handler.

Methods in com.puppycrawl.tools.checkstyle.checks.indentation with parameters of type DetailAST
`void` | `IndentationCheck.beginTree(DetailAST aAst)` Called before the starting to process a tree.
`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)` Called after all the child nodes have been process.
`protected void` | `ExpressionHandler.logError(DetailAST aAst, String aSubtypeName, int aActualLevel)` Log an indentation error.
`protected void` | `ExpressionHandler.logError(DetailAST aAst, 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)` Called to process a token.

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, 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, 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.j2ee

Methods in com.puppycrawl.tools.checkstyle.checks.j2ee with parameters of type DetailAST
`protected void` | `AbstractBeanCheck.checkBean(DetailAST aAST, String aBeanType, boolean aAllowAbstract)` Checks a bean class requirements.
`protected void` | `ContainerManagedMethodChecker.checkCreateMethod(DetailAST aMethodAST)` Checks whether an ejbCreate<METHOD>(...) method of an entity bean satisfies requirements.
`protected void` | `EntityBeanMethodChecker.checkCreateMethod(DetailAST aMethodAST)` Checks whether an ejbCreate<METHOD>(...) method of a bean satisfies requirements.
`protected void` | `SessionBeanMethodChecker.checkCreateMethod(DetailAST aMethodAST)` Checks whether an ejbCreate<METHOD>(...) method of a bean satisfies requirements.
`protected void` | `MessageBeanMethodChecker.checkCreateMethod(DetailAST aMethodAST)` Checks whether an ejbCreate<METHOD>(...) method of a bean satisfies requirements.
`protected void` | `HomeInterfaceMethodChecker.checkCreateMethod(DetailAST aMethodAST)` Checks create<METHOD>(...) method requirements.
`protected void` | `BeanMethodChecker.checkCreateMethod(DetailAST aMethodAST)` Checks whether an ejbCreate<METHOD>(...) method of a bean satisfies requirements.
`protected void` | `EntityBeanMethodChecker.checkHomeMethod(DetailAST aMethodAST)` Checks whether an ejbHome<METHOD>(...) method of an entity bean satisfies requirements.
`void` | `ContainerManagedMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `EntityBeanMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `BeanManagedMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `RemoteInterfaceMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `RemoteHomeInterfaceMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `LocalInterfaceMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `LocalHomeInterfaceMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `HomeInterfaceMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `BeanMethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`abstract void` | `MethodChecker.checkMethod(DetailAST aMethodAST)` Checks whether a method satisfies component requirements.
`void` | `MethodChecker.checkMethod(DetailAST aMethodAST, boolean aAllowFinal)` Checks whether a method satisfies public, non-static, and final requirements.
`void` | `EntityBeanMethodChecker.checkMethods(DetailAST aAST)` Checks that the methods of a component satisfy requirements.
`void` | `BeanManagedMethodChecker.checkMethods(DetailAST aAST)` Checks that the methods of a component satisfy requirements.
`void` | `SessionBeanMethodChecker.checkMethods(DetailAST aAST)` Checks that the methods of a component satisfy requirements.
`void` | `MessageBeanMethodChecker.checkMethods(DetailAST aAST)` Checks that the methods of a component satisfy requirements.
`void` | `MethodChecker.checkMethods(DetailAST aAST)` Checks that the methods of a component satisfy requirements.
`protected void` | `MethodChecker.checkNotThrows(DetailAST aMethodAST, String aException)` Checks that the throws clause of a method definition does no include an Exception.
`protected void` | `EntityBeanMethodChecker.checkPostCreateMethod(DetailAST aMethodAST)` Checks whether an ejbPostCreate<METHOD>(...) method of an entity bean satisfies requirements.
`protected void` | `ContainerManagedMethodChecker.checkSelectMethod(DetailAST aMethodAST)` Checks whether an ejbSelect<METHOD>(...) method of an entity bean satisfies requirements.
`protected void` | `MethodChecker.checkThrows(DetailAST aMethodAST, String aException)` Checks that the throws clause of a method definition includes an Exception.
`static String` | `Utils.constructDottedName(DetailAST aAST)` Builds the dotted name String representation of the object contained within an AST.
`static boolean` | `Utils.equalTypes(DetailAST aTypeAST1, DetailAST aTypeAST2)` Tests whether two type AST nodes have the same type.
`static boolean` | `Utils.hasExtends(DetailAST aAST, String aClassOrInterface)` Determines whether an AST node declares an extension of a class or interface.
`static boolean` | `Utils.hasImplements(DetailAST aAST, String aInterface)` Determines whether an AST node declares an implementation of an interface.
`static boolean` | `Utils.hasPublicConstructor(DetailAST aAST, int aParameterCount)` Determines whether an AST defines a class with a public constructor with a given number of parameters.
`static boolean` | `Utils.hasPublicMethod(DetailAST aAST, String aName)` Determines whether an AST node has a definition of a public method.
`static boolean` | `Utils.hasPublicMethod(DetailAST aAST, String aName, boolean aIsVoid)` Determines whether an AST node has a definition of a public method.
`static boolean` | `Utils.hasPublicMethod(DetailAST aAST, String aName, boolean aIsVoid, int aParameterCount)` Determines whether an AST node has a definition of a public method.
`static boolean` | `Utils.hasThrows(DetailAST aAST, String aException)` Determines whether an AST node declares a throw of an Exception.
`static boolean` | `Utils.implementsEntityBean(DetailAST aAST)` Determines whether an AST node is in the definition of a class that implements javax.ejb.EntityBean.
`static boolean` | `Utils.implementsSessionBean(DetailAST aAST)` Determines whether an AST node is in the definition of a class that implements javax.ejb.SessionBean.
`static boolean` | `Utils.isAbstract(DetailAST aAST)` Determines whether an AST defines an abstract element.
`static boolean` | `Utils.isFinal(DetailAST aAST)` Determines whether an AST defines a final element.
`static boolean` | `Utils.isInEJB(DetailAST aAST)` Determines whether an AST node is in the definition of an EJB class.
`static boolean` | `Utils.isPublic(DetailAST aAST)` Determines whether an AST defines a public element.
`static boolean` | `Utils.isPublicMethod(DetailAST aAST, String aName)` Determines whether an AST node defines a public method.
`static boolean` | `Utils.isPublicMethod(DetailAST aAST, String aName, boolean aIsVoid)` Determines whether an AST node defines a public method.
`static boolean` | `Utils.isPublicMethod(DetailAST aAST, String aName, boolean aIsVoid, int aParameterCount)` Determines whether an AST node defines a public method.
`static boolean` | `Utils.isStatic(DetailAST aAST)` Determines whether an AST defines a static element.
`static boolean` | `Utils.isVoid(DetailAST aAST)` Determines whether an AST defines a void method.
`protected void` | `MethodChecker.log(DetailAST aMethodAST, String aKey, Object[] aArgs)` Logs an error message for a method.
`protected void` | `AbstractJ2eeCheck.log(DetailAST aAST, String aKey, Object[] aArgs)` Helper method to log a LocalizedMessage for an AST.
`protected void` | `MethodChecker.logName(DetailAST aMethodAST, String aKey, Object[] aArgs)` Logs an error message for a method, including the method name.
`protected void` | `AbstractJ2eeCheck.logName(DetailAST aAST, String aKey, Object[] aArgs)` Helper method to log a LocalizedMessage for an AST.
`static boolean` | `Utils.sameParameters(DetailAST aMethodAST1, DetailAST aMethodAST2)` Tests whether two method definition ASTs have the same parameter lists according to type.
`void` | `SessionBeanCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MessageBeanCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `EntityBeanCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ThisReturnCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ThisParameterCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `RemoteInterfaceCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `RemoteHomeInterfaceCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `LocalInterfaceCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `LocalHomeInterfaceCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `FinalStaticCheck.visitToken(DetailAST aAST)` Called to process a token.

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)` Checks Javadoc comments for a method or constructor.
`void` | `WriteTagCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `JavadocVariableCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `JavadocTypeCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `JavadocStyleCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.metrics with parameters of type DetailAST
`void` | `JavaNCSSCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `AbstractClassCouplingCheck.beginTree(DetailAST aAST)` Called before the starting to process a tree.
`void` | `JavaNCSSCheck.finishTree(DetailAST aRootAST)` Called after finished processing a tree.
`void` | `NPathComplexityCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `JavaNCSSCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `BooleanExpressionComplexityCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `AbstractComplexityCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `AbstractClassCouplingCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`protected void` | `AbstractComplexityCheck.leaveTokenHook(DetailAST aAST)` Hook called when leaving a token.
`void` | `NPathComplexityCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `JavaNCSSCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `BooleanExpressionComplexityCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AbstractComplexityCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AbstractClassCouplingCheck.visitToken(DetailAST aAST)` Called to process a token.
`protected void` | `CyclomaticComplexityCheck.visitTokenHook(DetailAST aAST)` Hook called when visiting a token.
`protected void` | `AbstractComplexityCheck.visitTokenHook(DetailAST aAST)` Hook called when visiting a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.modifier with parameters of type DetailAST
`void` | `RedundantModifierCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ModifierOrderCheck.visitToken(DetailAST aAST)` Called to process a token.

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` | `StaticVariableNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`protected boolean` | `ParameterNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`protected boolean` | `MemberNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`protected boolean` | `LocalVariableNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`protected boolean` | `LocalFinalVariableNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`protected boolean` | `ConstantNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`protected boolean` | `AbstractNameCheck.mustCheckName(DetailAST aAST)` Decides whether the name of an AST should be checked against the format regexp.
`void` | `PackageNameCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AbstractNameCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AbstractClassNameCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type DetailAST
`void` | `LineLengthCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `FileLengthCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `ExecutableStatementCountCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `ExecutableStatementCountCheck.leaveToken(DetailAST aAST)` Called after all the child nodes have been process.
`void` | `ParameterNumberCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MethodLengthCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ExecutableStatementCountCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `AnonInnerLengthCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.checks.whitespace with parameters of type DetailAST
`void` | `TabCharacterCheck.beginTree(DetailAST aRootAST)` Called before the starting to process a tree.
`void` | `WhitespaceAroundCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `WhitespaceAfterCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `TypecastParenPadCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `ParenPadCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `OperatorWrapCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `NoWhitespaceBeforeCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `NoWhitespaceAfterCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `MethodParamPadCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `EmptyForIteratorPadCheck.visitToken(DetailAST aAST)` Called to process a token.
`void` | `EmptyForInitializerPadCheck.visitToken(DetailAST aAST)` Called to process a token.

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

Methods in com.puppycrawl.tools.checkstyle.gui that return DetailAST
`static DetailAST` | `ParseTreeInfoPanel.parseFile(String aFileName)` Parses a file and returns the parse tree.

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Back to the Checkstyle Home Page
PREV NEXT | FRAMES NO FRAMES