Package org.sonar.java.model.expression
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 org.sonar.java.model.JavaTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionorg.eclipse.jdt.core.dom.IBinding
Fields inherited from class org.sonar.java.model.AbstractTypedTree
typeBinding
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifierTreeImpl
(InternalSyntaxToken nameToken) IdentifierTreeImpl
(InternalSyntaxToken nameToken, boolean isUnnamedVariable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(TreeVisitor visitor) children()
Creates iterable for children of this node.void
complete
(List<AnnotationTree> annotations) boolean
kind()
name()
symbol()
toString()
Methods inherited from class org.sonar.java.model.expression.AssessableExpressionTree
asConstant, asConstant
Methods inherited from class org.sonar.java.model.AbstractTypedTree
symbolType
Methods inherited from class org.sonar.java.model.JavaTree
allTokens, firstToken, getChildren, getLine, is, isLeaf, lastToken, parent, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.sonar.plugins.java.api.tree.ExpressionTree
asConstant, asConstant, symbolType
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
firstToken, is, lastToken, parent
Methods inherited from interface org.sonar.plugins.java.api.tree.TypeTree
symbolType
-
Field Details
-
binding
public org.eclipse.jdt.core.dom.IBinding binding -
labelSymbol
-
-
Constructor Details
-
IdentifierTreeImpl
-
IdentifierTreeImpl
-
-
Method Details
-
complete
- Specified by:
complete
in interfaceJavaTree.AnnotatedTypeTree
-
kind
-
identifierToken
- Specified by:
identifierToken
in interfaceIdentifierTree
-
name
- Specified by:
name
in interfaceIdentifierTree
-
isUnnamedVariable
public boolean isUnnamedVariable()- Specified by:
isUnnamedVariable
in interfaceIdentifierTree
-
symbol
- Specified by:
symbol
in interfaceIdentifierTree
-
accept
-
toString
-
children
-
annotations
- Specified by:
annotations
in interfaceTypeTree
-