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

Uses in package com.puppycrawl.tools.checkstyle.checks.sizes

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void
void
void
void

Uses in package com.puppycrawl.tools.checkstyle.checks.naming

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

boolean
Decides whether the name of an AST should be checked against the format regexp.
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void

Uses in package com.puppycrawl.tools.checkstyle.checks.indentation

Constructors with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, name, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
ExpressionHandler.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.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.
Construct an instance of this handler with the given indentation check, abstract syntax tree, and parent handler.

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
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.
void
ExpressionHandler.checkExpressionSubtree(DetailAST aTree, IndentLevel aLevel, boolean aFirstLineMatches, boolean aAllowNesting)
Check the indentation level for an expression subtree.
int
Get the column number for the start of a given expression, expanding tabs out into spaces in the process.
void
ExpressionHandler.findSubtreeLines(LineSet aLines, DetailAST aTree, boolean aAllowNesting)
Find the set of lines for a given subtree.
int
ExpressionHandler.getFirstLine(int aStartLine, DetailAST aTree)
Get the first line for a given expression.
ExpressionHandler
Get the handler for an AST.
int
Get the start of the line for the given expression.
void
void
ExpressionHandler.logError(DetailAST aAst, String aSubtypeName, int aActualLevel)
Log an indentation error.
void
ExpressionHandler.logError(DetailAST aAst, String aSubtypeName, int aActualLevel, IndentLevel aExpectedLevel)
Log an indentation error.
boolean
Determines if the given expression is at the start of a line.
void

Methods with return type com.puppycrawl.tools.checkstyle.api.DetailAST

DetailAST
Get the left curly brace portion of the expression we are handling.
DetailAST
Get the left curly brace portion of the expression we are handling.
DetailAST
Get the left curly brace portion of the expression we are handling.
DetailAST
Get the left curly brace portion of the expression we are handling.
DetailAST
Get the left curly brace portion of the expression we are handling.
DetailAST
Get the left curly brace portion of the expression we are handling.
DetailAST
Get the left parenthesis portion of the expression we are handling.
DetailAST
Get the child element representing the list of statements.
DetailAST
Get the child element representing the list of statements.
DetailAST
Get the child element representing the list of statements.
DetailAST
Get the child element representing the list of statements.
DetailAST
Get the child element representing the list of statements.
DetailAST
There is no list of statements child for this handler.
DetailAST
Accessor for the MainAst attribute.
DetailAST
Get the child element that is not a list of statements.
DetailAST
Get the child element that is not a list of statements.
DetailAST
Get the child element that is not a list of statements.
DetailAST
There is no child element that is not a list of statements.
DetailAST
Get the right curly brace portion of the expression we are handling.
DetailAST
Get the right curly brace portion of the expression we are handling.
DetailAST
Get the right curly brace portion of the expression we are handling.
DetailAST
Get the right curly brace portion of the expression we are handling.
DetailAST
Get the right curly brace portion of the expression we are handling.
DetailAST
Get the right curly brace portion of the expression we are handling.
DetailAST
Get the right parenthesis portion of the expression we are handling.
DetailAST
There is no top level expression for this handler.
DetailAST
Get the top level expression being managed by this handler.
DetailAST
There is no top level expression for this handler.
DetailAST
There is no top level expression for this handler.
DetailAST
There is no top level expression for this handler.
DetailAST
There is no top level expression for this handler.

Uses in package com.puppycrawl.tools.checkstyle.checks.coding

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
AbstractNestedDepthCheck.nestIn(DetailAST aAST, String aMessageId)
Increasing current nesting depth.
void
Checks exceptions declared in throws for a method or constructor.
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void

Uses in package com.puppycrawl.tools.checkstyle.checks.usage

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
boolean
Determines whether the reference count of an aAST is required.
boolean
boolean
boolean
boolean
boolean
void

Uses in package com.puppycrawl.tools.checkstyle.checks.javadoc

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
Checks Javadoc comments for a method or constructor.
void
Called to process a token.
void
void

Uses in package com.puppycrawl.tools.checkstyle.checks.imports

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void
void
void
void
void

Uses in package com.puppycrawl.tools.checkstyle.api

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
Called before the starting to process a tree.
FullIdent
Creates a new FullIdent starting from the specified node.
FullIdent
Creates a new FullIdent starting from the child of the specified node.
void
Called after finished processing a tree.
Scope
Returns the Scope specified by the modifier set.
Scope
Returns the scope of the surrounding "block".
boolean
Returns whether the scope of a node is restricted to a code block.
boolean
Returns whether a node is directly contained within an interface block.
boolean
Determines whether a node is a local variable definition.
boolean
Returns whether a node is contained in the outer most type block.
void
Called after all the child nodes have been process.
void
Helper method to log a LocalizedMessage.
void
AbstractViolationReporter.log(DetailAST aAST, String aKey, Object aArg0)
Helper method to log a LocalizedMessage.
void
AbstractViolationReporter.log(DetailAST aAST, String aKey, Object aArg0, Object aArg1)
Helper method to log a LocalizedMessage.
void
Called to process a token.

Methods with return type com.puppycrawl.tools.checkstyle.api.DetailAST

DetailAST
Returns the first child token that makes a specified type.
DetailAST
DetailAST
Returns the parent token.
DetailAST
Returns the previous sibling or null if no such sibling exists.

Uses in package com.puppycrawl.tools.checkstyle.checks

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void
void
void
void
void
FullIdent
Creates FullIdent for given type node.
void
DetailAST
Finds sub-node for given node minimal (line, column) pair.
boolean
Returns whether a token represents an ELSE as part of an ELSE / IF set.
boolean
Tests whether a method definition AST defines an equals covariant.
void
void
void
Called to process an AST when visiting it.
void
void
void
void
void
void
void
void
void

Methods with return type com.puppycrawl.tools.checkstyle.api.DetailAST

DetailAST
Finds sub-node for given node minimal (line, column) pair.

Uses in package com.puppycrawl.tools.checkstyle.checks.blocks

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void

Uses in package com.puppycrawl.tools.checkstyle.checks.j2ee

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
AbstractBeanCheck.checkBean(DetailAST aAST, String aBeanType, boolean aAllowAbstract)
Checks a bean class requirements.
void
Checks whether an ejbCreate<METHOD>(...) method of a bean satisfies requirements.
void
Checks whether an ejbCreate<METHOD>(...) method of an entity bean satisfies requirements.
void
void
Checks create<METHOD>(...) method requirements.
void
void
void
Checks whether an ejbHome<METHOD>(...) method of an entity bean satisfies requirements.
void
void
void
void
void
void
void
void
Checks whether a method satisfies component requirements.
void
void
void
MethodChecker.checkMethod(DetailAST aMethodAST, boolean aAllowFinal)
Checks whether a method satisfies public, non-static, and final requirements.
void
void
void
void
Checks that the methods of a component satisfy requirements.
void
void
MethodChecker.checkNotThrows(DetailAST aMethodAST, String aException)
Checks that the throws clause of a method definition does no include an Exception.
void
Checks whether an ejbPostCreate<METHOD>(...) method of an entity bean satisfies requirements.
void
Checks whether an ejbSelect<METHOD>(...) method of an entity bean satisfies requirements.
void
MethodChecker.checkThrows(DetailAST aMethodAST, String aException)
Checks that the throws clause of a method definition includes an Exception.
String
Builds the dotted name String representation of the object contained within an AST.
boolean
Utils.equalTypes(DetailAST aTypeAST1, DetailAST aTypeAST2)
Tests whether two type AST nodes have the same type.
boolean
Utils.hasExtends(DetailAST aAST, String aClassOrInterface)
Determines whether an AST node declares an extension of a class or interface.
boolean
Utils.hasImplements(DetailAST aAST, String aInterface)
Determines whether an AST node declares an implementation of an interface.
boolean
Utils.hasPublicConstructor(DetailAST aAST, int aParameterCount)
Determines whether an AST defines a class with a public constructor with a given number of parameters.
boolean
Utils.hasPublicMethod(DetailAST aAST, String aName)
Determines whether an AST node has a definition of a public method.
boolean
Utils.hasPublicMethod(DetailAST aAST, String aName, boolean aIsVoid)
Determines whether an AST node has a definition of a public method.
boolean
Utils.hasPublicMethod(DetailAST aAST, String aName, boolean aIsVoid, int aParameterCount)
Determines whether an AST node has a definition of a public method.
boolean
Utils.hasThrows(DetailAST aAST, String aException)
Determines whether an AST node declares a throw of an Exception.
boolean
Determines whether an AST node is in the definition of a class that implements javax.ejb.EntityBean.
boolean
Determines whether an AST node is in the definition of a class that implements javax.ejb.SessionBean.
boolean
Determines whether an AST defines an abstract element.
boolean
Determines whether an AST defines a final element.
boolean
Determines whether an AST node is in the definition of an EJB class.
boolean
Determines whether an AST defines a public element.
boolean
Utils.isPublicMethod(DetailAST aAST, String aName)
Determines whether an AST node defines a public method.
boolean
Utils.isPublicMethod(DetailAST aAST, String aName, boolean aIsVoid)
Determines whether an AST node defines a public method.
boolean
Utils.isPublicMethod(DetailAST aAST, String aName, boolean aIsVoid, int aParameterCount)
Determines whether an AST node defines a public method.
boolean
Determines whether an AST defines a static element.
boolean
Determines whether an AST defines a void method.
void
AbstractJ2eeCheck.log(DetailAST aAST, String aKey, Object[] aArgs)
Helper method to log a LocalizedMessage for an AST.
void
MethodChecker.log(DetailAST aMethodAST, String aKey, Object[] aArgs)
Logs an error message for a method.
void
AbstractJ2eeCheck.logName(DetailAST aAST, String aKey, Object[] aArgs)
Helper method to log a LocalizedMessage for an AST.
void
MethodChecker.logName(DetailAST aMethodAST, String aKey, Object[] aArgs)
Logs an error message for a method, including the method name.
boolean
Utils.sameParameters(DetailAST aMethodAST1, DetailAST aMethodAST2)
Tests whether two method definition ASTs have the same parameter lists according to type.
void
void
void
void
void
void
void
void
void
void

Uses in package com.puppycrawl.tools.checkstyle.checks.design

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void
void
void
void
void

Uses in package com.puppycrawl.tools.checkstyle

Methods with return type com.puppycrawl.tools.checkstyle.api.DetailAST

DetailAST
Static helper method to parses a Java source file.

Uses in package com.puppycrawl.tools.checkstyle.checks.metrics

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
void
void
void
void
void
void
void
Hook called when leaving a token.
void
void
void
void
void
void
Hook called when visiting a token.
void

Uses in package com.puppycrawl.tools.checkstyle.checks.whitespace

Methods with parameter type com.puppycrawl.tools.checkstyle.api.DetailAST

void
void
Process a token representing a left parentheses.
void
Process a token representing a right parentheses.
void
void
void
void
void
void
void
void
void
void