public interface GenericTypeList extends FilterableList<GenericTypeDescription,GenericTypeList>
| Modifier and Type | Interface and Description |
|---|---|
static class |
GenericTypeList.AbstractBase
An abstract base implementation of a generic type list.
|
static class |
GenericTypeList.Empty
An empty list of generic types.
|
static class |
GenericTypeList.Explicit
An explicit list of generic types.
|
static class |
GenericTypeList.ForDetachedTypes
A list of detached types that are attached on reception.
|
static class |
GenericTypeList.ForLoadedType
A list of loaded generic types.
|
static class |
GenericTypeList.OfConstructorExceptionTypes
A lazy projection of a constructor's exception types.
|
static class |
GenericTypeList.OfLoadedInterfaceTypes
A lazy projection of a type's generic interface types.
|
static class |
GenericTypeList.OfMethodExceptionTypes
A lazy projection of a method's exception types.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
Transforms the generic types by applying the supplied visitor to each of them.
|
TypeList |
asErasures()
Returns a list of the generic types' erasures.
|
int |
getStackSize()
Returns the sum of the size of all types contained in this list.
|
filter, getOnly, subListadd, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, toArray, toArrayparallelStream, removeIf, streamTypeList asErasures()
GenericTypeList accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
visitor - The visitor to apply to each type.int getStackSize()
Copyright © 2014–2015. All rights reserved.