Package org.sonar.java.model.declaration
Class ModifiersTreeImpl
java.lang.Object
org.sonar.java.model.JavaTree
org.sonar.java.ast.parser.ListTreeImpl<ModifierTree>
org.sonar.java.model.declaration.ModifiersTreeImpl
- All Implemented Interfaces:
Iterable<ModifierTree>
,Collection<ModifierTree>
,List<ModifierTree>
,ListTree<ModifierTree>
,ModifiersTree
,Tree
-
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(TreeVisitor visitor)
static ModifiersTreeImpl
kind()
Methods inherited from class org.sonar.java.ast.parser.ListTreeImpl
add, add, addAll, addAll, children, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, separators, set, size, subList, toArray, toArray
Methods inherited from class org.sonar.java.model.JavaTree
firstToken, getChildren, getLine, 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 java.util.Collection
parallelStream, removeIf, stream
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
Methods inherited from interface org.sonar.plugins.java.api.tree.ListTree
separators
Methods inherited from interface org.sonar.plugins.java.api.tree.Tree
firstToken, is, lastToken, parent
-
Constructor Details
-
ModifiersTreeImpl
-
-
Method Details
-
emptyModifiers
-
kind
- Specified by:
kind
in interfaceTree
- Overrides:
kind
in classListTreeImpl<ModifierTree>
-
modifiers
- Specified by:
modifiers
in interfaceModifiersTree
-
annotations
- Specified by:
annotations
in interfaceModifiersTree
-
accept
- Specified by:
accept
in interfaceTree
- Overrides:
accept
in classListTreeImpl<ModifierTree>
-