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.OfMethodExceptionTypesmodCount| 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, wrapfilter, getOnly, subListadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, setaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitfilter, getOnly, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamprotected 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()
TypeList.GenericasErasures in interface TypeList.GenericasErasures in class TypeList.Generic.AbstractBasepublic TypeList.Generic asRawTypes()
TypeList.GenericasRawTypes in interface TypeList.GenericasRawTypes in class TypeList.Generic.AbstractBasepublic int getStackSize()
TypeList.GenericgetStackSize in interface TypeList.GenericgetStackSize in class TypeList.Generic.AbstractBaseCopyright © 2014–2016. All rights reserved.