Enum InferredJavaType.Source
- java.lang.Object
-
- java.lang.Enum<InferredJavaType.Source>
-
- org.benf.cfr.reader.bytecode.analysis.types.discovery.InferredJavaType.Source
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InferredJavaType.Source>
- Enclosing class:
- InferredJavaType
public static enum InferredJavaType.Source extends java.lang.Enum<InferredJavaType.Source>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOTSTRAP
CONSTRUCTOR
EXCEPTION
EXPRESSION
FIELD
FORCE_TARGET_TYPE
FUNCTION
GENERICCALL
IMPROVED_ITERATION
INSTRUCTION
LITERAL
OPERATION
PROTOTYPE
RESOLVE_CLASH
STRING_TRANSFORM
TERNARY
TEST
TRANSFORM
UNKNOWN
-
Constructor Summary
Constructors Modifier Constructor Description private
Source()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InferredJavaType.Source
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InferredJavaType.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEST
public static final InferredJavaType.Source TEST
-
UNKNOWN
public static final InferredJavaType.Source UNKNOWN
-
LITERAL
public static final InferredJavaType.Source LITERAL
-
FIELD
public static final InferredJavaType.Source FIELD
-
FUNCTION
public static final InferredJavaType.Source FUNCTION
-
PROTOTYPE
public static final InferredJavaType.Source PROTOTYPE
-
BOOTSTRAP
public static final InferredJavaType.Source BOOTSTRAP
-
CONSTRUCTOR
public static final InferredJavaType.Source CONSTRUCTOR
-
OPERATION
public static final InferredJavaType.Source OPERATION
-
EXPRESSION
public static final InferredJavaType.Source EXPRESSION
-
INSTRUCTION
public static final InferredJavaType.Source INSTRUCTION
-
GENERICCALL
public static final InferredJavaType.Source GENERICCALL
-
EXCEPTION
public static final InferredJavaType.Source EXCEPTION
-
STRING_TRANSFORM
public static final InferredJavaType.Source STRING_TRANSFORM
-
IMPROVED_ITERATION
public static final InferredJavaType.Source IMPROVED_ITERATION
-
TERNARY
public static final InferredJavaType.Source TERNARY
-
RESOLVE_CLASH
public static final InferredJavaType.Source RESOLVE_CLASH
-
FORCE_TARGET_TYPE
public static final InferredJavaType.Source FORCE_TARGET_TYPE
-
TRANSFORM
public static final InferredJavaType.Source TRANSFORM
-
-
Method Detail
-
values
public static InferredJavaType.Source[] 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 (InferredJavaType.Source c : InferredJavaType.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InferredJavaType.Source 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
-
-