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