public enum ObjectMethod extends Enum<ObjectMethod>
Object
in a static manner. The values of
this enum correspond to the following methods:
Enum Constant and Description |
---|
CLONE |
EQUALS |
FINALIZE |
GET_CLASS |
HASH_CODE |
NOTIFY |
NOTIFY_ALL |
TO_STRING |
WAIT |
WAIT1 |
WAIT2 |
Modifier and Type | Method and Description |
---|---|
static ObjectMethod[] |
allMethods() |
static ObjectMethod[] |
arity0Methods() |
static ObjectMethod[] |
arity1Methods() |
static ObjectMethod[] |
arity2Methods() |
int |
getArity() |
static ObjectMethod |
getObjectMethod(ExecutableElement ee) |
String |
getSimpleName() |
boolean |
is(ExecutableElement ee) |
static ObjectMethod[] |
methodsOfArity(int arity) |
static ObjectMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectMethod CLONE
public static final ObjectMethod FINALIZE
public static final ObjectMethod GET_CLASS
public static final ObjectMethod HASH_CODE
public static final ObjectMethod NOTIFY
public static final ObjectMethod NOTIFY_ALL
public static final ObjectMethod TO_STRING
public static final ObjectMethod WAIT
public static final ObjectMethod EQUALS
public static final ObjectMethod WAIT1
public static final ObjectMethod WAIT2
public static ObjectMethod[] values()
for (ObjectMethod c : ObjectMethod.values()) System.out.println(c);
public static ObjectMethod 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 ObjectMethod[] allMethods()
public static ObjectMethod[] arity0Methods()
public static ObjectMethod[] arity1Methods()
public static ObjectMethod[] arity2Methods()
public static ObjectMethod[] methodsOfArity(int arity)
public static ObjectMethod getObjectMethod(ExecutableElement ee)
public String getSimpleName()
public int getArity()
public boolean is(ExecutableElement ee)
Copyright © 2013–2014. All rights reserved.