public static enum ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm extends Enum<ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm> implements ParameterDescription.ForLoadedParameter.Dispatcher
java.lang.reflect.Parameter
type that only throws
exceptions on any property extraction.ParameterDescription.ForLoadedParameter.Dispatcher.CreationAction, ParameterDescription.ForLoadedParameter.Dispatcher.ForJava8CapableVm, ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getModifiers(AccessibleObject executable,
int index)
Returns the given parameter's modifiers.
|
String |
getName(AccessibleObject executable,
int index)
Returns the given parameter's implicit or explicit name.
|
boolean |
isNamePresent(AccessibleObject executable,
int index)
Returns
true if the given parameter has an explicit name. |
static ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm INSTANCE
public static ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm[] values()
for (ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm c : ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm.values()) System.out.println(c);
public static ParameterDescription.ForLoadedParameter.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 getModifiers(AccessibleObject executable, int index)
getModifiers
in interface ParameterDescription.ForLoadedParameter.Dispatcher
executable
- The executable to introspect.index
- The parameter's index.public boolean isNamePresent(AccessibleObject executable, int index)
true
if the given parameter has an explicit name.isNamePresent
in interface ParameterDescription.ForLoadedParameter.Dispatcher
executable
- The parameter to introspect.index
- The parameter's index.true
if the given parameter has an explicit name.public String getName(AccessibleObject executable, int index)
getName
in interface ParameterDescription.ForLoadedParameter.Dispatcher
executable
- The parameter to introspect.index
- The parameter's index.Copyright © 2014–2019. All rights reserved.