public static class ParameterList.ForLoadedExecutable extends ParameterList.AbstractBase<ParameterDescription.InDefinedShape>
Method or
Constructor.| Modifier and Type | Class and Description |
|---|---|
protected static interface |
ParameterList.ForLoadedExecutable.Dispatcher
A dispatcher for creating parameter lists depending on the features of the currently running JVM.
|
protected static class |
ParameterList.ForLoadedExecutable.OfLegacyVmConstructor
Represents a list of constructor parameters on virtual machines where the
java.lang.reflect.Parameter
type is not available. |
protected static class |
ParameterList.ForLoadedExecutable.OfLegacyVmMethod
Represents a list of method parameters on virtual machines where the
java.lang.reflect.Parameter
type is not available. |
ParameterList.AbstractBase<S extends ParameterDescription>, ParameterList.Empty, ParameterList.Explicit<S extends ParameterDescription>, ParameterList.ForLoadedExecutable, ParameterList.ForTokens, ParameterList.TypeSubstitutingmodCount| Modifier | Constructor and Description |
|---|---|
protected |
ForLoadedExecutable(Object[] parameter)
Creates a list representing a method's or a constructor's parameters.
|
| Modifier and Type | Method and Description |
|---|---|
GenericTypeList |
asTypeList()
Transforms this list of parameters into a list of the types of the represented parameters.
|
ParameterDescription.InDefinedShape |
get(int index) |
static ParameterList<ParameterDescription.InDefinedShape> |
of(Constructor<?> constructor)
Creates a parameter list for a loaded constructor.
|
static ParameterList<ParameterDescription.InDefinedShape> |
of(Method method)
Creates a parameter list for a loaded method.
|
int |
size() |
asDefined, asTokenList, asTokenList, hasExplicitMetaData, 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 ForLoadedExecutable(Object[] parameter)
parameter - The java.lang.reflect.Parameter-typed parameters to represent.public static ParameterList<ParameterDescription.InDefinedShape> of(Method method)
method - The method to represent.public static ParameterList<ParameterDescription.InDefinedShape> of(Constructor<?> constructor)
constructor - The constructor to represent.public ParameterDescription.InDefinedShape get(int index)
get in interface List<ParameterDescription.InDefinedShape>get in class AbstractList<ParameterDescription.InDefinedShape>public int size()
size in interface Collection<ParameterDescription.InDefinedShape>size in interface List<ParameterDescription.InDefinedShape>size in class AbstractCollection<ParameterDescription.InDefinedShape>public GenericTypeList asTypeList()
ParameterListasTypeList in interface ParameterList<ParameterDescription.InDefinedShape>asTypeList in class ParameterList.AbstractBase<ParameterDescription.InDefinedShape>Copyright © 2014–2015. All rights reserved.