public static enum ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm extends Enum<ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm> implements ParameterList.ForLoadedExecutable.Dispatcher
java.lang.reflect.Executable
type that was added in Java version 8.ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm, ParameterList.ForLoadedExecutable.Dispatcher.ForModernVm
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
ParameterList<ParameterDescription.InDefinedShape> |
getParameters(Constructor<?> constructor)
Returns a list of descriptions of the provided constructor.
|
ParameterList<ParameterDescription.InDefinedShape> |
getParameters(Method method)
Returns a list of descriptions of the provided method.
|
String |
toString() |
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 ParameterList<ParameterDescription.InDefinedShape> getParameters(Method method)
ParameterList.ForLoadedExecutable.Dispatcher
getParameters
in interface ParameterList.ForLoadedExecutable.Dispatcher
method
- The loaded method for which to describe the parameters.public ParameterList<ParameterDescription.InDefinedShape> getParameters(Constructor<?> constructor)
ParameterList.ForLoadedExecutable.Dispatcher
getParameters
in interface ParameterList.ForLoadedExecutable.Dispatcher
constructor
- The loaded constructor for which to describe the parameters.public String toString()
toString
in class Enum<ParameterList.ForLoadedExecutable.Dispatcher.ForLegacyVm>
Copyright © 2014–2015. All rights reserved.