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.

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
`DetailAST` | `DetailAST.findFirstToken(int aType)` Returns the first child token that makes a specified type.
`DetailAST` | `DetailAST.getLastChild()`
`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
`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.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 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` | `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.
`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, 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.
`void` | `Check.visitToken(DetailAST aAST)` Called to process a token.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Back to the Checkstyle Home Page
PREV NEXT | FRAMES NO FRAMES