public static enum JavaMethod.ForUnavailableMethod extends Enum<JavaMethod.ForUnavailableMethod> implements JavaMethod
JavaMethod.ForLoadedMethod, JavaMethod.ForUnavailableMethod| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object instance,
Object... argument)
Invokes this method.
|
boolean |
isInvokable()
Checks if this method is invokable on the current version of the Java virtual machine.
|
static JavaMethod.ForUnavailableMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JavaMethod.ForUnavailableMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaMethod.ForUnavailableMethod INSTANCE
public static JavaMethod.ForUnavailableMethod[] values()
for (JavaMethod.ForUnavailableMethod c : JavaMethod.ForUnavailableMethod.values()) System.out.println(c);
public static JavaMethod.ForUnavailableMethod 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 boolean isInvokable()
JavaMethodisInvokable in interface JavaMethodtrue if this method is invokable.public Object invoke(Object instance, Object... argument)
JavaMethodinvoke in interface JavaMethodinstance - The instance on which the method is to be invoked.argument - The arguments for this method.Copyright © 2014–2015. All rights reserved.