public static class GenericTypeList.OfMethodExceptionTypes extends GenericTypeList.AbstractBase
GenericTypeList.AbstractBase, GenericTypeList.Empty, GenericTypeList.Explicit, GenericTypeList.ForDetachedTypes, GenericTypeList.ForLoadedType, GenericTypeList.OfConstructorExceptionTypes, GenericTypeList.OfLoadedInterfaceTypes, GenericTypeList.OfMethodExceptionTypesmodCount| Constructor and Description |
|---|
OfMethodExceptionTypes(Method method)
Creates a new lazy projection of a constructor's exception types.
|
| Modifier and Type | Method and Description |
|---|---|
TypeList |
asErasures()
Returns a list of the generic types' erasures.
|
GenericTypeDescription |
get(int index) |
int |
size() |
accept, getStackSize, 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, streampublic OfMethodExceptionTypes(Method method)
method - The method of which the exception types are represented.public GenericTypeDescription get(int index)
get in interface List<GenericTypeDescription>get in class AbstractList<GenericTypeDescription>public int size()
size in interface Collection<GenericTypeDescription>size in interface List<GenericTypeDescription>size in class AbstractCollection<GenericTypeDescription>public TypeList asErasures()
GenericTypeListasErasures in interface GenericTypeListasErasures in class GenericTypeList.AbstractBaseCopyright © 2014–2015. All rights reserved.