Class TypeParameterListTreeImpl
java.lang.Object
org.sonar.java.model.JavaTree
org.sonar.java.ast.parser.ListTreeImpl<TypeParameterTree>
org.sonar.java.ast.parser.TypeParameterListTreeImpl
- All Implemented Interfaces:
Iterable<TypeParameterTree>, Collection<TypeParameterTree>, List<TypeParameterTree>, ListTree<TypeParameterTree>, Tree, TypeParameters
public class TypeParameterListTreeImpl
extends ListTreeImpl<TypeParameterTree>
implements TypeParameters
-
Nested Class Summary
Nested classes/interfaces inherited from class JavaTree
JavaTree.AnnotatedTypeTree, JavaTree.ArrayTypeTreeImpl, JavaTree.CompilationUnitTreeImpl, JavaTree.ImportTreeImpl, JavaTree.NotImplementedTreeImpl, JavaTree.PackageDeclarationTreeImpl, JavaTree.ParameterizedTypeTreeImpl, JavaTree.PrimitiveTypeTreeImpl, JavaTree.UnionTypeTreeImpl, JavaTree.WildcardTreeImplModifier and TypeClassDescriptionstatic interfaceThis interface is dedicated to mark TypeTrees which will requires completion of their annotations during parsing.static classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTypeParameterListTreeImpl(InternalSyntaxToken openBracketToken, InternalSyntaxToken closeBracketToken) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(TreeVisitor visitor) children()Creates iterable for children of this node.kind()Methods inherited from class ListTreeImpl
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, separators, set, size, subList, toArray, toArrayModifier and TypeMethodDescriptionvoidadd(int index, TypeParameterTree element) booleanbooleanaddAll(int index, Collection<? extends TypeParameterTree> c) booleanaddAll(Collection<? extends TypeParameterTree> c) voidclear()booleanbooleancontainsAll(Collection<?> c) get(int index) intbooleanisEmpty()iterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) set(int index, TypeParameterTree element) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<U> U[]toArray(U[] a) Methods inherited from class JavaTree
allTokens, firstToken, getChildren, getLine, is, isLeaf, lastToken, parent, setParentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
TypeParameterListTreeImpl
public TypeParameterListTreeImpl(InternalSyntaxToken openBracketToken, InternalSyntaxToken closeBracketToken) -
TypeParameterListTreeImpl
public TypeParameterListTreeImpl()
-
-
Method Details
-
openBracketToken
- Specified by:
openBracketTokenin interfaceTypeParameters
-
closeBracketToken
- Specified by:
closeBracketTokenin interfaceTypeParameters
-
accept
- Specified by:
acceptin interfaceTree- Overrides:
acceptin classListTreeImpl<TypeParameterTree>
-
children
Description copied from class:JavaTreeCreates iterable for children of this node. Note that iterable may containnullelements.- Overrides:
childrenin classListTreeImpl<TypeParameterTree>
-
kind
- Specified by:
kindin interfaceTree- Overrides:
kindin classListTreeImpl<TypeParameterTree>
-