Enum ResolvedMethod.InvokeKind
- java.lang.Object
-
- java.lang.Enum<ResolvedMethod.InvokeKind>
-
- com.tonic.analysis.execution.resolve.ResolvedMethod.InvokeKind
-
- All Implemented Interfaces:
Serializable,Comparable<ResolvedMethod.InvokeKind>
- Enclosing class:
- ResolvedMethod
public static enum ResolvedMethod.InvokeKind extends Enum<ResolvedMethod.InvokeKind>
Dispatch style the resolved method should be invoked with.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResolvedMethod.InvokeKindvalueOf(String name)Returns the enum constant of this type with the specified name.static ResolvedMethod.InvokeKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC
public static final ResolvedMethod.InvokeKind STATIC
-
VIRTUAL
public static final ResolvedMethod.InvokeKind VIRTUAL
-
SPECIAL
public static final ResolvedMethod.InvokeKind SPECIAL
-
INTERFACE
public static final ResolvedMethod.InvokeKind INTERFACE
-
-
Method Detail
-
values
public static ResolvedMethod.InvokeKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ResolvedMethod.InvokeKind c : ResolvedMethod.InvokeKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResolvedMethod.InvokeKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-