Uses of Interface
org.sonar.plugins.java.api.tree.Tree
-
Packages that use Tree Package Description org.sonar.java org.sonar.java.ast.parser org.sonar.java.ast.visitors org.sonar.java.cfg org.sonar.java.model org.sonar.java.model.declaration org.sonar.java.model.expression org.sonar.java.model.statement org.sonar.java.regex org.sonar.plugins.java.api org.sonar.plugins.java.api.cfg Provides interfaces to represent Java source code as syntax tree.org.sonar.plugins.java.api.semantic Provides interfaces to represent Java source code as syntax tree.org.sonar.plugins.java.api.tree Provides interfaces to represent Java source code as syntax tree. -
-
Uses of Tree in org.sonar.java
Methods in org.sonar.java with parameters of type Tree Modifier and Type Method Description void
Measurer. leaveNode(Tree tree)
static AnalyzerMessage.TextSpan
AnalyzerMessage. textSpanBetween(Tree startTree, Tree endTree)
static AnalyzerMessage.TextSpan
AnalyzerMessage. textSpanFor(Tree syntaxNode)
void
Measurer. visitNode(Tree tree)
-
Uses of Tree in org.sonar.java.ast.parser
Classes in org.sonar.java.ast.parser with type parameters of type Tree Modifier and Type Class Description class
ListTreeImpl<T extends Tree>
Classes in org.sonar.java.ast.parser that implement Tree Modifier and Type Class Description class
ArgumentListTreeImpl
class
BlockStatementListTreeImpl
class
BoundListTreeImpl
class
FormalParametersListTreeImpl
class
InitializerListTreeImpl
class
LambdaParameterListTreeImpl
class
ListTreeImpl<T extends Tree>
class
ModuleNameTreeImpl
class
QualifiedIdentifierListTreeImpl
class
ResourceListTreeImpl
class
StatementExpressionListTreeImpl
class
TypeParameterListTreeImpl
class
TypeUnionListTreeImpl
class
VariableDeclaratorListTreeImpl
Methods in org.sonar.java.ast.parser that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
ArgumentListTreeImpl. children()
List<Tree>
ListTreeImpl. children()
List<Tree>
TypeParameterListTreeImpl. children()
static ListTree<Tree>
ResourceListTreeImpl. emptyList()
Constructor parameters in org.sonar.java.ast.parser with type arguments of type Tree Constructor Description BoundListTreeImpl(List<? extends Tree> typeTrees, List<SyntaxToken> separators)
ResourceListTreeImpl(List<Tree> resources, List<SyntaxToken> tokens)
-
Uses of Tree in org.sonar.java.ast.visitors
Methods in org.sonar.java.ast.visitors that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
ComplexityVisitor. getNodes(Tree tree)
Methods in org.sonar.java.ast.visitors with parameters of type Tree Modifier and Type Method Description static String
PublicApiChecker. getApiJavadoc(Tree tree)
List<Tree>
ComplexityVisitor. getNodes(Tree tree)
static boolean
PublicApiChecker. isPublicApi(Tree currentParent, Tree tree)
void
SubscriptionVisitor. leaveNode(Tree tree)
void
SyntaxHighlighterVisitor. leaveNode(Tree tree)
int
LinesOfCodeVisitor. linesOfCode(Tree tree)
int
StatementVisitor. numberOfStatements(Tree tree)
protected void
SubscriptionVisitor. scanTree(Tree tree)
void
FileLinesVisitor. visitNode(Tree tree)
void
SubscriptionVisitor. visitNode(Tree tree)
void
SyntaxHighlighterVisitor. visitNode(Tree tree)
-
Uses of Tree in org.sonar.java.cfg
Methods in org.sonar.java.cfg that return Tree Modifier and Type Method Description Tree
CFG.Block. terminator()
Methods in org.sonar.java.cfg that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
CFG.Block. elements()
static Map<Tree,CFGLoop>
CFGLoop. getCFGLoops(CFG cfg)
Method parameters in org.sonar.java.cfg with type arguments of type Tree Modifier and Type Method Description static CFG
CFG. buildCFG(List<? extends Tree> trees)
static CFG
CFG. buildCFG(List<? extends Tree> trees, boolean ignoreBreak)
-
Uses of Tree in org.sonar.java.model
Subinterfaces of Tree in org.sonar.java.model Modifier and Type Interface Description static interface
JavaTree.AnnotatedTypeTree
This interface is dedicated to mark TypeTrees which will requires completion of their annotations during parsing.Classes in org.sonar.java.model that implement Tree Modifier and Type Class Description class
AbstractTypedTree
This class is intended for internal use during semantic analysis and should not be used in checks.class
ArrayDimensionTreeImpl
class
InternalSyntaxToken
class
InternalSyntaxTrivia
class
JavaTree
static class
JavaTree.ArrayTypeTreeImpl
static class
JavaTree.CompilationUnitTreeImpl
static class
JavaTree.ImportTreeImpl
static class
JavaTree.NotImplementedTreeImpl
static class
JavaTree.PackageDeclarationTreeImpl
static class
JavaTree.ParameterizedTypeTreeImpl
static class
JavaTree.PrimitiveTypeTreeImpl
static class
JavaTree.UnionTypeTreeImpl
static class
JavaTree.WildcardTreeImpl
class
TypeParameterTreeImpl
Methods in org.sonar.java.model that return Tree Modifier and Type Method Description Tree
JavaTree. parent()
Tree
JavaTree.ImportTreeImpl. qualifiedIdentifier()
Methods in org.sonar.java.model that return types with arguments of type Tree Modifier and Type Method Description ListTree<Tree>
TypeParameterTreeImpl. bounds()
List<Tree>
ArrayDimensionTreeImpl. children()
List<Tree>
InternalSyntaxToken. children()
List<Tree>
InternalSyntaxTrivia. children()
List<Tree>
JavaTree.ArrayTypeTreeImpl. children()
protected abstract List<Tree>
JavaTree. children()
Creates iterable for children of this node.List<Tree>
JavaTree.CompilationUnitTreeImpl. children()
List<Tree>
JavaTree.ImportTreeImpl. children()
List<Tree>
JavaTree.NotImplementedTreeImpl. children()
List<Tree>
JavaTree.PackageDeclarationTreeImpl. children()
List<Tree>
JavaTree.ParameterizedTypeTreeImpl. children()
List<Tree>
JavaTree.PrimitiveTypeTreeImpl. children()
List<Tree>
JavaTree.UnionTypeTreeImpl. children()
List<Tree>
JavaTree.WildcardTreeImpl. children()
List<Tree>
TypeParameterTreeImpl. children()
List<Tree>
JavaTree. getChildren()
List<Tree>
DefaultJavaFileScannerContext. getComplexityNodes(Tree tree)
List<Tree>
JavaTree.CompilationUnitTreeImpl. types()
Methods in org.sonar.java.model with parameters of type Tree Modifier and Type Method Description static boolean
SyntacticEquivalence. areEquivalent(Tree leftNode, Tree rightNode)
protected static AnalyzerMessage
DefaultJavaFileScannerContext. createAnalyzerMessage(org.sonar.api.batch.fs.InputFile inputFile, JavaCheck javaCheck, Tree startTree, Tree endTree, String message, Iterable<List<JavaFileScannerContext.Location>> flows, Integer cost)
AnalyzerMessage
DefaultJavaFileScannerContext. createAnalyzerMessage(JavaCheck javaCheck, Tree startTree, String message)
AnalyzerMessage
VisitorsBridgeForTests.TestJavaFileScannerContext. createAnalyzerMessage(JavaCheck javaCheck, Tree startTree, String message)
static Symbol
JUtils. enclosingClass(Tree t)
List<Tree>
DefaultJavaFileScannerContext. getComplexityNodes(Tree tree)
static boolean
LiteralUtils. hasValue(Tree tree, String expectedValue)
static boolean
LiteralUtils. isEmptyString(Tree tree)
static boolean
LiteralUtils. isFalse(Tree tree)
static boolean
LiteralUtils. isTrue(Tree tree)
void
DefaultJavaFileScannerContext. reportIssue(RegexCheck regexCheck, Tree javaSyntaxElement, String message, Integer cost, List<RegexCheck.RegexIssueLocation> secondaries)
void
DefaultJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree tree, String message)
void
DefaultJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree syntaxNode, String message, List<JavaFileScannerContext.Location> secondary, Integer cost)
void
DefaultJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree startTree, Tree endTree, String message)
void
DefaultJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree startTree, Tree endTree, String message, List<JavaFileScannerContext.Location> secondary, Integer cost)
void
VisitorsBridgeForTests.TestJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree syntaxNode, String message, List<JavaFileScannerContext.Location> secondary, Integer cost)
void
VisitorsBridgeForTests.TestJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree startTree, Tree endTree, String message)
void
VisitorsBridgeForTests.TestJavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree startTree, Tree endTree, String message, List<JavaFileScannerContext.Location> secondary, Integer cost)
void
DefaultJavaFileScannerContext. reportIssueWithFlow(JavaCheck javaCheck, Tree syntaxNode, String message, Iterable<List<JavaFileScannerContext.Location>> flows, Integer cost)
void
VisitorsBridgeForTests.TestJavaFileScannerContext. reportIssueWithFlow(JavaCheck javaCheck, Tree syntaxNode, String message, Iterable<List<JavaFileScannerContext.Location>> flows, Integer cost)
void
JavaTree. setParent(Tree parent)
void
VisitorsBridge. visitFile(Tree parsedTree)
Method parameters in org.sonar.java.model with type arguments of type Tree Modifier and Type Method Description static boolean
SyntacticEquivalence. areEquivalent(List<? extends Tree> leftList, List<? extends Tree> rightList)
static boolean
SyntacticEquivalence. areEquivalent(List<? extends Tree> leftList, List<? extends Tree> rightList, BiPredicate<JavaTree,JavaTree> permissiveEquivalence)
static boolean
SyntacticEquivalence. areSemanticallyEquivalent(List<? extends Tree> leftList, List<? extends Tree> rightList)
Syntactic equivalence with additional semantic equivalence for methods calls.Constructors in org.sonar.java.model with parameters of type Tree Constructor Description ImportTreeImpl(InternalSyntaxToken importToken, InternalSyntaxToken staticToken, Tree qualifiedIdentifier, InternalSyntaxToken semiColonToken)
-
Uses of Tree in org.sonar.java.model.declaration
Classes in org.sonar.java.model.declaration that implement Tree Modifier and Type Class Description class
AnnotationTreeImpl
class
ClassTreeImpl
class
EnumConstantTreeImpl
class
ExportsDirectiveTreeImpl
class
MethodTreeImpl
class
ModifierKeywordTreeImpl
class
ModifiersTreeImpl
class
ModuleDeclarationTreeImpl
class
ModuleDirectiveTreeImpl
class
ModuleNameListTreeImpl
class
OpensDirectiveTreeImpl
class
ProvidesDirectiveTreeImpl
class
RequiresDirectiveTreeImpl
class
SimpleModuleDirectiveTreeImpl
class
UsesDirectiveTreeImpl
class
VariableTreeImpl
Methods in org.sonar.java.model.declaration that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
AnnotationTreeImpl. children()
List<Tree>
ClassTreeImpl. children()
List<Tree>
EnumConstantTreeImpl. children()
List<Tree>
MethodTreeImpl. children()
protected List<Tree>
ModuleDeclarationTreeImpl. children()
protected List<Tree>
ProvidesDirectiveTreeImpl. children()
protected List<Tree>
RequiresDirectiveTreeImpl. children()
protected List<Tree>
SimpleModuleDirectiveTreeImpl. children()
protected List<Tree>
UsesDirectiveTreeImpl. children()
List<Tree>
VariableTreeImpl. children()
List<Tree>
ClassTreeImpl. members()
Constructor parameters in org.sonar.java.model.declaration with type arguments of type Tree Constructor Description ClassTreeImpl(ModifiersTree modifiers, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken)
ClassTreeImpl(Tree.Kind kind, SyntaxToken openBraceToken, List<Tree> members, SyntaxToken closeBraceToken)
-
Uses of Tree in org.sonar.java.model.expression
Classes in org.sonar.java.model.expression that implement Tree Modifier and Type Class Description class
ArrayAccessExpressionTreeImpl
class
AssessableExpressionTree
Parent class for all ExpressionTrees, which allows to express them as their constant valueclass
AssignmentExpressionTreeImpl
class
BinaryExpressionTreeImpl
class
ConditionalExpressionTreeImpl
class
IdentifierTreeImpl
class
InstanceOfTreeImpl
class
InternalPostfixUnaryExpression
class
InternalPrefixUnaryExpression
class
InternalUnaryExpression
class
LambdaExpressionTreeImpl
class
LiteralTreeImpl
class
MemberSelectExpressionTreeImpl
class
MethodInvocationTreeImpl
class
MethodReferenceTreeImpl
class
NewArrayTreeImpl
class
NewClassTreeImpl
class
ParenthesizedTreeImpl
class
TypeArgumentListTreeImpl
class
TypeCastExpressionTreeImpl
class
VarTypeTreeImpl
Methods in org.sonar.java.model.expression that return Tree Modifier and Type Method Description Tree
LambdaExpressionTreeImpl. body()
Tree
MethodReferenceTreeImpl. expression()
Methods in org.sonar.java.model.expression that return types with arguments of type Tree Modifier and Type Method Description ListTree<Tree>
TypeCastExpressionTreeImpl. bounds()
List<Tree>
ArrayAccessExpressionTreeImpl. children()
List<Tree>
AssignmentExpressionTreeImpl. children()
List<Tree>
BinaryExpressionTreeImpl. children()
List<Tree>
ConditionalExpressionTreeImpl. children()
List<Tree>
IdentifierTreeImpl. children()
List<Tree>
InstanceOfTreeImpl. children()
List<Tree>
InternalPostfixUnaryExpression. children()
List<Tree>
InternalPrefixUnaryExpression. children()
List<Tree>
LambdaExpressionTreeImpl. children()
List<Tree>
LiteralTreeImpl. children()
List<Tree>
MemberSelectExpressionTreeImpl. children()
List<Tree>
MethodInvocationTreeImpl. children()
List<Tree>
MethodReferenceTreeImpl. children()
List<Tree>
NewArrayTreeImpl. children()
List<Tree>
NewClassTreeImpl. children()
List<Tree>
ParenthesizedTreeImpl. children()
List<Tree>
TypeArgumentListTreeImpl. children()
List<Tree>
TypeCastExpressionTreeImpl. children()
protected List<Tree>
VarTypeTreeImpl. children()
Constructors in org.sonar.java.model.expression with parameters of type Tree Constructor Description LambdaExpressionTreeImpl(InternalSyntaxToken openParenToken, List<VariableTree> parameters, InternalSyntaxToken closeParenToken, InternalSyntaxToken arrowToken, Tree body)
MethodReferenceTreeImpl(Tree expression, InternalSyntaxToken doubleColon)
Constructor parameters in org.sonar.java.model.expression with type arguments of type Tree Constructor Description TypeArgumentListTreeImpl(InternalSyntaxToken openBracketToken, List<Tree> expressions, List<SyntaxToken> separators, InternalSyntaxToken closeBracketToken)
TypeCastExpressionTreeImpl(TypeTree type, InternalSyntaxToken andToken, ListTree<Tree> bounds, InternalSyntaxToken closeParenToken, ExpressionTree expression)
-
Uses of Tree in org.sonar.java.model.statement
Classes in org.sonar.java.model.statement that implement Tree Modifier and Type Class Description class
AssertStatementTreeImpl
class
BlockTreeImpl
class
BreakStatementTreeImpl
class
CaseGroupTreeImpl
class
CaseLabelTreeImpl
class
CatchTreeImpl
class
ContinueStatementTreeImpl
class
DoWhileStatementTreeImpl
class
EmptyStatementTreeImpl
class
ExpressionStatementTreeImpl
class
ForEachStatementImpl
class
ForStatementTreeImpl
class
IfStatementTreeImpl
class
LabeledStatementTreeImpl
class
ReturnStatementTreeImpl
class
StaticInitializerTreeImpl
class
SwitchExpressionTreeImpl
class
SwitchStatementTreeImpl
class
SynchronizedStatementTreeImpl
class
ThrowStatementTreeImpl
class
TryStatementTreeImpl
class
WhileStatementTreeImpl
class
YieldStatementTreeImpl
Methods in org.sonar.java.model.statement that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
AssertStatementTreeImpl. children()
List<Tree>
BlockTreeImpl. children()
List<Tree>
BreakStatementTreeImpl. children()
List<Tree>
CaseGroupTreeImpl. children()
List<Tree>
CaseLabelTreeImpl. children()
List<Tree>
CatchTreeImpl. children()
List<Tree>
ContinueStatementTreeImpl. children()
List<Tree>
DoWhileStatementTreeImpl. children()
List<Tree>
EmptyStatementTreeImpl. children()
List<Tree>
ExpressionStatementTreeImpl. children()
List<Tree>
ForEachStatementImpl. children()
List<Tree>
ForStatementTreeImpl. children()
List<Tree>
IfStatementTreeImpl. children()
List<Tree>
LabeledStatementTreeImpl. children()
List<Tree>
ReturnStatementTreeImpl. children()
List<Tree>
StaticInitializerTreeImpl. children()
List<Tree>
SwitchExpressionTreeImpl. children()
List<Tree>
SwitchStatementTreeImpl. children()
List<Tree>
SynchronizedStatementTreeImpl. children()
List<Tree>
ThrowStatementTreeImpl. children()
List<Tree>
TryStatementTreeImpl. children()
List<Tree>
WhileStatementTreeImpl. children()
protected List<Tree>
YieldStatementTreeImpl. children()
ListTree<Tree>
TryStatementTreeImpl. resourceList()
-
Uses of Tree in org.sonar.java.regex
Methods in org.sonar.java.regex with parameters of type Tree Modifier and Type Method Description void
RegexScannerContext. reportIssue(RegexCheck regexCheck, Tree javaSyntaxElement, String message, Integer cost, List<RegexCheck.RegexIssueLocation> secondaries)
-
Uses of Tree in org.sonar.plugins.java.api
Fields in org.sonar.plugins.java.api declared as Tree Modifier and Type Field Description Tree
JavaFileScannerContext.Location. syntaxNode
Syntax node on which to raise the secondary location.Methods in org.sonar.plugins.java.api that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
JavaFileScannerContext. getComplexityNodes(Tree tree)
Computes the list of syntax nodes which are contributing to increase the complexity for the given methodTree.Methods in org.sonar.plugins.java.api with parameters of type Tree Modifier and Type Method Description List<Tree>
JavaFileScannerContext. getComplexityNodes(Tree tree)
Computes the list of syntax nodes which are contributing to increase the complexity for the given methodTree.void
IssuableSubscriptionVisitor. reportIssue(Tree tree, String message)
Report an issue.void
IssuableSubscriptionVisitor. reportIssue(Tree tree, String message, List<JavaFileScannerContext.Location> flow, Integer cost)
Report an issue.void
IssuableSubscriptionVisitor. reportIssue(Tree startTree, Tree endTree, String message)
Report an issue.void
JavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree tree, String message)
Report an issue.void
JavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree tree, String message, List<JavaFileScannerContext.Location> secondaryLocations, Integer cost)
Report an issue.void
JavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree startTree, Tree endTree, String message)
Report an issue.void
JavaFileScannerContext. reportIssue(JavaCheck javaCheck, Tree startTree, Tree endTree, String message, List<JavaFileScannerContext.Location> secondaryLocations, Integer cost)
Report an issue.void
JavaFileScannerContext. reportIssueWithFlow(JavaCheck javaCheck, Tree tree, String message, Iterable<List<JavaFileScannerContext.Location>> flows, Integer cost)
Report an issue.protected void
IssuableSubscriptionVisitor. scanTree(Tree tree)
Optional<SourceMap.Location>
SourceMap. sourceMapLocationFor(Tree tree)
Return location in JSP file corresponding to the AST nodeConstructors in org.sonar.plugins.java.api with parameters of type Tree Constructor Description Location(String msg, Tree syntaxNode)
-
Uses of Tree in org.sonar.plugins.java.api.cfg
Methods in org.sonar.plugins.java.api.cfg that return Tree Modifier and Type Method Description Tree
ControlFlowGraph.Block. terminator()
Methods in org.sonar.plugins.java.api.cfg that return types with arguments of type Tree Modifier and Type Method Description List<Tree>
ControlFlowGraph.Block. elements()
-
Uses of Tree in org.sonar.plugins.java.api.semantic
Methods in org.sonar.plugins.java.api.semantic that return Tree Modifier and Type Method Description Tree
Symbol. declaration()
Declaration node of this symbol. -
Uses of Tree in org.sonar.plugins.java.api.tree
Classes in org.sonar.plugins.java.api.tree with type parameters of type Tree Modifier and Type Interface Description interface
ListTree<T extends Tree>
Subinterfaces of Tree in org.sonar.plugins.java.api.tree Modifier and Type Interface Description interface
AnnotationTree
Annotation.interface
Arguments
interface
ArrayAccessExpressionTree
Array access expression.interface
ArrayDimensionTree
Describe an array dimension.interface
ArrayTypeTree
Array type.interface
AssertStatementTree
'assert' statement.interface
AssignmentExpressionTree
Assignment expression.interface
BinaryExpressionTree
Binary expression.interface
BlockTree
Block.interface
BreakStatementTree
'break' statement.interface
CaseGroupTree
Group of 'case's in a 'switch' statement.interface
CaseLabelTree
'case' label in a 'switch' statement.interface
CatchTree
'catch' in a 'try' statement.interface
ClassTree
Class, enum, interface or annotation declaration.interface
CompilationUnitTree
Compilation unit.interface
ConditionalExpressionTree
Conditional expression.interface
ContinueStatementTree
'continue' statement.interface
DoWhileStatementTree
'do' statement.interface
EmptyStatementTree
Empty statement.interface
EnumConstantTree
Enum constant.interface
ExportsDirectiveTree
The 'exports' directive from java 9 module directives JLS9 - §7.7.2interface
ExpressionStatementTree
Expression statement.interface
ExpressionTree
Common interface for all types of expressions.interface
ForEachStatement
Enhanced 'for' statement.interface
ForStatementTree
'for' statement.interface
IdentifierTree
Identifier expression.interface
IfStatementTree
'if' statement.interface
ImportClauseTree
Common interface for all import clauses.interface
ImportTree
Import declaration.interface
InstanceOfTree
'instanceof' expression.interface
LabeledStatementTree
Labeled statement.interface
LambdaExpressionTree
Lambda expression.interface
ListTree<T extends Tree>
interface
LiteralTree
Literal expression.interface
MemberSelectExpressionTree
Member select expression.interface
MethodInvocationTree
Method invocation expression.interface
MethodReferenceTree
Method reference.interface
MethodTree
Method or annotation type element declaration.interface
ModifierKeywordTree
interface
ModifiersTree
Modifiers.interface
ModifierTree
interface
ModuleDeclarationTree
Module declaration.interface
ModuleDirectiveTree
Common interface for all the module directives JLS9 - §7.7interface
ModuleNameTree
Module Name.interface
NewArrayTree
Array creation expression.interface
NewClassTree
Class instance creation expression.interface
OpensDirectiveTree
The 'opens' directive from java 9 module directives JLS9 - §7.7.2interface
PackageDeclarationTree
Package declaration.interface
ParameterizedTypeTree
Parameterized type.interface
ParenthesizedTree
Parenthesized expression.interface
PrimitiveTypeTree
Primitive type.interface
ProvidesDirectiveTree
The 'provides' directive from java 9 module directives JLS9 - §7.7.4interface
RequiresDirectiveTree
The 'requires' directive from java 9 module directives JLS9 - §7.7.1interface
ReturnStatementTree
'return' statement.interface
StatementTree
Common interface for all types of statements.interface
StaticInitializerTree
Static Initializer.interface
SwitchExpressionTree
'switch' expression.interface
SwitchStatementTree
'switch' statement.interface
SynchronizedStatementTree
'synchronized' statement.interface
SyntaxToken
Represents a token in the syntax tree.interface
SyntaxTrivia
Represents a Trivia in the SyntaxTree.interface
ThrowStatementTree
'throw' statement.interface
TryStatementTree
'try' statement.interface
TypeArguments
interface
TypeCastTree
Cast expression.interface
TypeParameters
interface
TypeParameterTree
Type parameter.interface
TypeTree
interface
UnaryExpressionTree
Postfix or unary expression.interface
UnionTypeTree
Union type expression in a multi-catch.interface
UsesDirectiveTree
The 'uses' directive from java 9 module directives JLS9 - §7.7.3interface
VariableTree
Variable declaration.interface
VarTypeTree
'var' type tree used for local variables.interface
WhileStatementTree
'while' statement.interface
WildcardTree
Wildcard type argument.interface
YieldStatementTree
'yield' statement.Classes in org.sonar.plugins.java.api.tree that implement Tree Modifier and Type Class Description class
InferedTypeTree
Methods in org.sonar.plugins.java.api.tree that return Tree Modifier and Type Method Description Tree
LambdaExpressionTree. body()
Tree
MethodReferenceTree. expression()
Tree
Tree. parent()
Tree
ImportTree. qualifiedIdentifier()
Methods in org.sonar.plugins.java.api.tree that return types with arguments of type Tree Modifier and Type Method Description ListTree<Tree>
TypeCastTree. bounds()
ListTree<Tree>
TypeParameterTree. bounds()
List<Tree>
InferedTypeTree. children()
Class<? extends Tree>
Tree.Kind. getAssociatedInterface()
List<Tree>
ClassTree. members()
ListTree<Tree>
TryStatementTree. resourceList()
Until Java 9, resource could only be instance ofVariableTree
.List<Tree>
CompilationUnitTree. types()
Methods in org.sonar.plugins.java.api.tree with parameters of type Tree Modifier and Type Method Description protected void
BaseTreeVisitor. scan(Tree tree)
void
BaseTreeVisitor. visitOther(Tree tree)
void
TreeVisitor. visitOther(Tree tree)
Method parameters in org.sonar.plugins.java.api.tree with type arguments of type Tree Modifier and Type Method Description protected void
BaseTreeVisitor. scan(List<? extends Tree> trees)
protected void
BaseTreeVisitor. scan(ListTree<? extends Tree> listTree)
-