Package org.sonar.plugins.java.api.tree
Interface ModifiersTree
-
- All Superinterfaces:
Collection<ModifierTree>
,Iterable<ModifierTree>
,List<ModifierTree>
,ListTree<ModifierTree>
,Tree
- All Known Implementing Classes:
ModifiersTreeImpl
@Beta public interface ModifiersTree extends ListTree<ModifierTree>
Modifiers. JLS 8.1.1, 8.3.1, 8.4.3, 8.5.1, 8.8.3, 9.1.1, 9.7- Since:
- Java 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AnnotationTree>
annotations()
List<ModifierKeywordTree>
modifiers()
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
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
-
-
-
-
Method Detail
-
annotations
List<AnnotationTree> annotations()
- Since:
- Java 1.5
-
modifiers
List<ModifierKeywordTree> modifiers()
-
-