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.WildcardTreeImplgrammarRuleKey| 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, toArrayfirstToken, getChildren, getGrammarRuleKey, getLine, is, isLeaf, lastToken, parent, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitseparatorsfirstToken, is, lastToken, parentadd, 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, toArrayparallelStream, removeIf, streampublic ModifiersTreeImpl(List<ModifierTree> javaTrees)
public static ModifiersTreeImpl emptyModifiers()
public Tree.Kind kind()
kind in interface Treekind in class ListTreeImpl<ModifierTree>public List<ModifierKeywordTree> modifiers()
modifiers in interface ModifiersTreepublic List<AnnotationTree> annotations()
annotations in interface ModifiersTreepublic void accept(TreeVisitor visitor)
accept in interface Treeaccept in class ListTreeImpl<ModifierTree>Copyright © 2012–2017 SonarSource. All rights reserved.