public static class TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList extends TypeList.Generic.AbstractBase
Modifier and Type | Class and Description |
---|---|
protected static class |
TypePool.Default.LazyTypeDescription.GenericTypeToken.LazyTokenList.ForWildcardBound
A generic type description representing a tokenized wildcard bound.
|
TypeList.Generic.AbstractBase, TypeList.Generic.Empty, TypeList.Generic.Explicit, TypeList.Generic.ForDetachedTypes, TypeList.Generic.ForLoadedTypes, TypeList.Generic.OfConstructorExceptionTypes, TypeList.Generic.OfLoadedInterfaceTypes, TypeList.Generic.OfMethodExceptionTypes
modCount
Modifier | Constructor and Description |
---|---|
protected |
LazyTokenList(TypePool typePool,
TypeVariableSource typeVariableSource,
String typePath,
Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens,
List<TypePool.Default.LazyTypeDescription.GenericTypeToken> genericTypeTokens)
Creates a new type list that represents a list of tokenized types.
|
Modifier and Type | Method and Description |
---|---|
TypeDescription.Generic |
get(int index) |
int |
size() |
accept, asErasures, asRawTypes, asTokenList, getStackSize, wrap
filter, getOnly, subList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected LazyTokenList(TypePool typePool, TypeVariableSource typeVariableSource, String typePath, Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, List<TypePool.Default.LazyTypeDescription.GenericTypeToken> genericTypeTokens)
typePool
- The type pool that is used for locating a generic type.typeVariableSource
- The type variable source to use for resolving type variables.typePath
- The represented types' type path to which an index step is added upon resolution.annotationTokens
- A mapping of the represent types' annotation tokens,genericTypeTokens
- A list of type tokens this list represents.public TypeDescription.Generic get(int index)
get
in interface List<TypeDescription.Generic>
get
in class AbstractList<TypeDescription.Generic>
public int size()
size
in interface Collection<TypeDescription.Generic>
size
in interface List<TypeDescription.Generic>
size
in class AbstractCollection<TypeDescription.Generic>
Copyright © 2014–2023. All rights reserved.