static enum Resources.BuiltinMethod extends java.lang.Enum<Resources.BuiltinMethod>
Enum Constant and Description |
---|
OBJECT_TO_STRING |
Modifier and Type | Field and Description |
---|---|
java.lang.reflect.Method |
method |
Modifier and Type | Method and Description |
---|---|
static java.lang.reflect.Method |
lookupMethod(java.lang.Class clazz,
java.lang.String methodName,
java.lang.Class... argumentTypes)
Finds a method of a given name that accepts a given set of arguments.
|
static Resources.BuiltinMethod |
valueOf(java.lang.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 static Resources.BuiltinMethod[] values()
for (Resources.BuiltinMethod c : Resources.BuiltinMethod.values()) System.out.println(c);
public static Resources.BuiltinMethod valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.lang.reflect.Method lookupMethod(java.lang.Class clazz, java.lang.String methodName, java.lang.Class... argumentTypes)
clazz
- Class against which method is invokedmethodName
- Name of methodargumentTypes
- Types of argumentsjava.lang.RuntimeException
- if method not foundCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.