Class IdentifierTreeImpl
java.lang.Object
org.sonar.java.model.JavaTree
org.sonar.java.model.AbstractTypedTree
org.sonar.java.model.expression.AssessableExpressionTree
org.sonar.java.model.expression.IdentifierTreeImpl
- All Implemented Interfaces:
JavaTree.AnnotatedTypeTree, ExpressionTree, IdentifierTree, Tree, TypeTree
public class IdentifierTreeImpl
extends AssessableExpressionTree
implements IdentifierTree, JavaTree.AnnotatedTypeTree
-
Nested Class Summary
Nested classes/interfaces inherited from class JavaTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImplModifier and TypeClassDescriptionstatic interfaceThis interface is dedicated to mark TypeTrees which will requires completion of their annotations during parsing.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionorg.eclipse.jdt.core.dom.IBindingFields inherited from class AbstractTypedTree
typeBinding -
Constructor Summary
ConstructorsConstructorDescriptionIdentifierTreeImpl(InternalSyntaxToken nameToken) IdentifierTreeImpl(InternalSyntaxToken nameToken, boolean isUnnamedVariable) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TreeVisitor visitor) children()Creates iterable for children of this node.voidcomplete(List<AnnotationTree> annotations) booleankind()name()symbol()toString()Methods inherited from class AssessableExpressionTree
asConstant, asConstantMethods inherited from class AbstractTypedTree
symbolTypeMethods inherited from class JavaTree
allTokens, firstToken, getChildren, getLine, is, isLeaf, lastToken, parent, setParentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ExpressionTree
symbolTypeMethods inherited from interface TypeTree
symbolType
-
Field Details
-
binding
public org.eclipse.jdt.core.dom.IBinding binding -
labelSymbol
-
-
Constructor Details
-
IdentifierTreeImpl
-
IdentifierTreeImpl
-
-
Method Details
-
complete
- Specified by:
completein interfaceJavaTree.AnnotatedTypeTree
-
kind
-
identifierToken
- Specified by:
identifierTokenin interfaceIdentifierTree
-
name
- Specified by:
namein interfaceIdentifierTree
-
isUnnamedVariable
public boolean isUnnamedVariable()- Specified by:
isUnnamedVariablein interfaceIdentifierTree
-
symbol
- Specified by:
symbolin interfaceIdentifierTree
-
accept
-
toString
-
children
-
annotations
- Specified by:
annotationsin interfaceTypeTree
-