Package org.benf.cfr.reader.entities
Enum Method.MethodConstructor
- java.lang.Object
-
- java.lang.Enum<Method.MethodConstructor>
-
- org.benf.cfr.reader.entities.Method.MethodConstructor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Method.MethodConstructor>
- Enclosing class:
- Method
public static enum Method.MethodConstructor extends java.lang.Enum<Method.MethodConstructor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTOR
ECLIPSE_ENUM_CONSTRUCTOR
ENUM_CONSTRUCTOR
NOT
RECORD_CANONICAL_CONSTRUCTOR
STATIC_CONSTRUCTOR
-
Field Summary
Fields Modifier and Type Field Description private boolean
isConstructor
private boolean
isEnumConstructor
-
Constructor Summary
Constructors Modifier Constructor Description private
MethodConstructor(boolean isConstructor, boolean isEnumConstructor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isConstructor()
boolean
isEnumConstructor()
static Method.MethodConstructor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Method.MethodConstructor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT
public static final Method.MethodConstructor NOT
-
STATIC_CONSTRUCTOR
public static final Method.MethodConstructor STATIC_CONSTRUCTOR
-
CONSTRUCTOR
public static final Method.MethodConstructor CONSTRUCTOR
-
RECORD_CANONICAL_CONSTRUCTOR
public static final Method.MethodConstructor RECORD_CANONICAL_CONSTRUCTOR
-
ENUM_CONSTRUCTOR
public static final Method.MethodConstructor ENUM_CONSTRUCTOR
-
ECLIPSE_ENUM_CONSTRUCTOR
public static final Method.MethodConstructor ECLIPSE_ENUM_CONSTRUCTOR
-
-
Method Detail
-
values
public static Method.MethodConstructor[] 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 (Method.MethodConstructor c : Method.MethodConstructor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Method.MethodConstructor valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isConstructor
public boolean isConstructor()
-
isEnumConstructor
public boolean isEnumConstructor()
-
-