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 TypeMethodDescriptionvoidaccept(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, typeMethods inherited from class org.sonar.java.model.JavaTree
allTokens, firstToken, getChildren, is, isLeaf, lastToken, parent, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.java.api.tree.EnumConstantTree
modifiers, simpleNameMethods 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:
initializerin interfaceEnumConstantTree- Specified by:
initializerin interfaceVariableTree- Overrides:
initializerin classVariableTreeImpl
-
kind
- Specified by:
kindin interfaceTree- Overrides:
kindin classVariableTreeImpl
-
accept
- Specified by:
acceptin interfaceTree- Overrides:
acceptin classVariableTreeImpl
-
children
Description copied from class:JavaTreeCreates iterable for children of this node. Note that iterable may containnullelements.- Overrides:
childrenin classVariableTreeImpl
-
separatorToken
- Specified by:
separatorTokenin interfaceEnumConstantTree
-