static enum Resources.BuiltinMethod extends Enum<Resources.BuiltinMethod>
| Enum Constant and Description |
|---|
OBJECT_TO_STRING |
| Modifier and Type | Method and Description |
|---|---|
static Method |
lookupMethod(Class clazz,
String methodName,
Class... argumentTypes)
Finds a method of a given name that accepts a given set of arguments.
|
static Resources.BuiltinMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resources.BuiltinMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resources.BuiltinMethod OBJECT_TO_STRING
public final Method method
public static Resources.BuiltinMethod[] values()
for (Resources.BuiltinMethod c : Resources.BuiltinMethod.values()) System.out.println(c);
public static Resources.BuiltinMethod 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 static Method lookupMethod(Class clazz, String methodName, Class... argumentTypes)
clazz - Class against which method is invokedmethodName - Name of methodargumentTypes - Types of argumentsRuntimeException - if method not foundCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.