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.ForLegacyVm, ParameterDescription.ForLoadedParameter.Dispatcher.ForModernVm
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
List<Annotation> |
getDeclaredAnnotations(Object parameter)
Returns the given parameter's annotations.
|
Object |
getDeclaringExecutable(Object parameter)
Returns the given parameter's declaring exectuable, i.e, method or constructor.
|
int |
getModifiers(Object parameter)
Returns the given parameter's modifiers.
|
String |
getName(Object parameter)
Returns the given parameter's implicit or explicit name.
|
boolean |
isNamePresent(Object parameter)
Returns
true if the given parameter has an explicit name. |
String |
toString() |
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(Object parameter)
ParameterDescription.ForLoadedParameter.Dispatcher
getModifiers
in interface ParameterDescription.ForLoadedParameter.Dispatcher
parameter
- The parameter to introspect.public boolean isNamePresent(Object parameter)
ParameterDescription.ForLoadedParameter.Dispatcher
true
if the given parameter has an explicit name.isNamePresent
in interface ParameterDescription.ForLoadedParameter.Dispatcher
parameter
- The parameter to introspect.true
if the given parameter has an explicit name.public String getName(Object parameter)
ParameterDescription.ForLoadedParameter.Dispatcher
getName
in interface ParameterDescription.ForLoadedParameter.Dispatcher
parameter
- The parameter to introspect.public List<Annotation> getDeclaredAnnotations(Object parameter)
ParameterDescription.ForLoadedParameter.Dispatcher
getDeclaredAnnotations
in interface ParameterDescription.ForLoadedParameter.Dispatcher
parameter
- The parameter to introspect.public Object getDeclaringExecutable(Object parameter)
ParameterDescription.ForLoadedParameter.Dispatcher
getDeclaringExecutable
in interface ParameterDescription.ForLoadedParameter.Dispatcher
parameter
- The parameter to introspect.public String toString()
toString
in class Enum<ParameterDescription.ForLoadedParameter.Dispatcher.ForLegacyVm>
Copyright © 2014–2015. All rights reserved.