Package org.sonar.java.model.declaration
Class EnumConstantTreeImpl
java.lang.Object
org.sonar.java.model.JavaTree
org.sonar.java.model.declaration.VariableTreeImpl
org.sonar.java.model.declaration.EnumConstantTreeImpl
- All Implemented Interfaces:
EnumConstantTree
,StatementTree
,Tree
,VariableTree
-
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
Fields inherited from class org.sonar.java.model.declaration.VariableTreeImpl
variableBinding
-
Constructor Summary
ConstructorsConstructorDescriptionEnumConstantTreeImpl
(ModifiersTree modifiers, IdentifierTree simpleName, NewClassTreeImpl initializer, InternalSyntaxToken separatorToken) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(TreeVisitor visitor) children()
Creates iterable for children of this node.kind()
Methods inherited from class org.sonar.java.model.declaration.VariableTreeImpl
completeModifiers, completeModifiersAndType, completeType, completeTypeAndInitializer, endToken, equalToken, getLine, modifiers, setEndToken, simpleName, symbol, type
Methods inherited from class org.sonar.java.model.JavaTree
allTokens, firstToken, getChildren, is, isLeaf, lastToken, parent, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.sonar.plugins.java.api.tree.EnumConstantTree
modifiers, simpleName
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
firstToken, is, lastToken, parent
-
Constructor Details
-
EnumConstantTreeImpl
public EnumConstantTreeImpl(ModifiersTree modifiers, IdentifierTree simpleName, NewClassTreeImpl initializer, @Nullable InternalSyntaxToken separatorToken)
-
-
Method Details
-
initializer
- Specified by:
initializer
in interfaceEnumConstantTree
- Specified by:
initializer
in interfaceVariableTree
- Overrides:
initializer
in classVariableTreeImpl
-
kind
- Specified by:
kind
in interfaceTree
- Overrides:
kind
in classVariableTreeImpl
-
accept
- Specified by:
accept
in interfaceTree
- Overrides:
accept
in classVariableTreeImpl
-
children
Description copied from class:JavaTree
Creates iterable for children of this node. Note that iterable may containnull
elements.- Overrides:
children
in classVariableTreeImpl
-
separatorToken
- Specified by:
separatorToken
in interfaceEnumConstantTree
-