protected static class TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.LazyRawAnnotatedTypeList extends TypeList.Generic.AbstractBase
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 |
LazyRawAnnotatedTypeList(TypePool typePool,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
List<String> descriptors)
Creates a generic type list only representing raw types.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
asErasures()
Returns a list of the generic types' erasures.
|
TypeList.Generic |
asRawTypes()
Returns a list of the generic types' raw types.
|
TypeDescription.Generic |
get(int index) |
int |
getStackSize()
Returns the sum of the size of all types contained in this list.
|
protected static TypeList.Generic |
of(TypePool typePool,
Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens,
List<String> descriptors)
Creates generic type list only representing raw types.
|
int |
size() |
accept, asTokenList, 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 LazyRawAnnotatedTypeList(TypePool typePool, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, List<String> descriptors)
typePool
- The type pool to use for locating types.annotationTokens
- A mapping of the represented types' type annotation tokens by their indices.descriptors
- A list of type descriptors that this list represents.protected static TypeList.Generic of(TypePool typePool, Map<Integer,Map<String,List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, List<String> descriptors)
typePool
- The type pool to use for locating types.annotationTokens
- A mapping of the represented types' type annotation tokens by their indices or
null
if no type annotations are defined for any type.descriptors
- A list of type descriptors that 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>
public TypeList asErasures()
asErasures
in interface TypeList.Generic
asErasures
in class TypeList.Generic.AbstractBase
public TypeList.Generic asRawTypes()
asRawTypes
in interface TypeList.Generic
asRawTypes
in class TypeList.Generic.AbstractBase
public int getStackSize()
getStackSize
in interface TypeList.Generic
getStackSize
in class TypeList.Generic.AbstractBase
Copyright © 2014–2020. All rights reserved.