Iterable<ModifierTree>
, Collection<ModifierTree>
, List<ModifierTree>
, ListTree<ModifierTree>
, ModifiersTree
, Tree
public class ModifiersTreeImpl extends ListTreeImpl<ModifierTree> implements ModifiersTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImpl
grammarRuleKey
Constructor | Description |
---|---|
ModifiersTreeImpl(List<ModifierTree> javaTrees) |
Modifier and Type | Method | Description |
---|---|---|
void |
accept(TreeVisitor visitor) |
|
List<AnnotationTree> |
annotations() |
|
static ModifiersTreeImpl |
emptyModifiers() |
|
Tree.Kind |
kind() |
|
List<ModifierKeywordTree> |
modifiers() |
parallelStream, removeIf, stream
firstToken, getChildren, getGrammarRuleKey, getLine, is, isLeaf, lastToken, parent, setParent
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
separators
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
firstToken, is, lastToken, parent
public ModifiersTreeImpl(List<ModifierTree> javaTrees)
public static ModifiersTreeImpl emptyModifiers()
public Tree.Kind kind()
kind
in interface Tree
kind
in class ListTreeImpl<ModifierTree>
public List<ModifierKeywordTree> modifiers()
modifiers
in interface ModifiersTree
public List<AnnotationTree> annotations()
annotations
in interface ModifiersTree
public void accept(TreeVisitor visitor)
accept
in interface Tree
accept
in class ListTreeImpl<ModifierTree>
Copyright © 2012–2018 SonarSource. All rights reserved.