public static enum ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm extends Enum<ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm> implements ParameterList.ForLoadedExecutable.Dispatcher
java.lang.reflect.Parameter type.ParameterList.ForLoadedExecutable.Dispatcher.CreationAction, ParameterList.ForLoadedExecutable.Dispatcher.ForJava8CapableVm, ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
ParameterList<ParameterDescription.InDefinedShape> |
describe(Constructor<?> constructor,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Constructor's parameters of the given VM. |
ParameterList<ParameterDescription.InDefinedShape> |
describe(Method method,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Describes a
Method's parameters of the given VM. |
int |
getParameterCount(Object executable)
Returns the amount of parameters of a given executable..
|
static ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm INSTANCE
public static ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm[] values()
for (ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm c : ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm.values()) System.out.println(c);
public static ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getParameterCount(Object executable)
getParameterCount in interface ParameterList.ForLoadedExecutable.Dispatcherexecutable - The executable for which the amount of parameters should be found.public ParameterList<ParameterDescription.InDefinedShape> describe(Constructor<?> constructor, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Constructor's parameters of the given VM.describe in interface ParameterList.ForLoadedExecutable.Dispatcherconstructor - The constructor for which the parameters should be described.parameterAnnotationSource - The parameter annotation source to query.public ParameterList<ParameterDescription.InDefinedShape> describe(Method method, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Method's parameters of the given VM.describe in interface ParameterList.ForLoadedExecutable.Dispatchermethod - The method for which the parameters should be described.parameterAnnotationSource - The parameter annotation source to query.Copyright © 2014–2019. All rights reserved.