public abstract static class GenericTypeList.AbstractBase extends FilterableList.AbstractBase<GenericTypeDescription,GenericTypeList> implements GenericTypeList
GenericTypeList.AbstractBase, GenericTypeList.Empty, GenericTypeList.Explicit, GenericTypeList.ForDetachedTypes, GenericTypeList.ForLoadedType, GenericTypeList.OfConstructorExceptionTypes, GenericTypeList.OfLoadedInterfaceTypes, GenericTypeList.OfMethodExceptionTypes
modCount
Constructor and Description |
---|
AbstractBase() |
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.
|
protected GenericTypeList |
wrap(List<GenericTypeDescription> values)
Represents a list of values as an instance of this instance's list type.
|
filter, getOnly, subList
add, add, addAll, clear, equals, get, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
filter, getOnly, subList
add, 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, toArray
parallelStream, removeIf, stream
protected GenericTypeList wrap(List<GenericTypeDescription> values)
FilterableList.AbstractBase
wrap
in class FilterableList.AbstractBase<GenericTypeDescription,GenericTypeList>
values
- The values to wrap in an instance of this list's type.values
.public GenericTypeList accept(GenericTypeDescription.Visitor<? extends GenericTypeDescription> visitor)
GenericTypeList
accept
in interface GenericTypeList
visitor
- The visitor to apply to each type.public int getStackSize()
GenericTypeList
getStackSize
in interface GenericTypeList
public TypeList asErasures()
GenericTypeList
asErasures
in interface GenericTypeList
Copyright © 2014–2015. All rights reserved.