Enum Constant and Description |
---|
AND |
DCMPG |
DCMPL |
DIVIDE |
FCMPG |
FCMPL |
LCMP |
MINUS |
MULTIPLY |
NEG |
OR |
PLUS |
REM |
SHL |
SHR |
SHRU |
XOR |
Modifier and Type | Field and Description |
---|---|
private boolean |
boolSafe |
private Precedence |
precedence |
private java.lang.String |
showAs |
private boolean |
temporary |
Modifier and Type | Method and Description |
---|---|
boolean |
canThrow(InferredJavaType inferredJavaType,
ExceptionCheck caught,
java.util.Set<? extends JavaTypeInstance> instances) |
static ArithOp |
getOpFor(JVMInstr instr) |
Precedence |
getPrecedence() |
java.lang.String |
getShowAs() |
boolean |
isBoolSafe() |
boolean |
isTemporary() |
static ArithOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArithOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArithOp LCMP
public static final ArithOp DCMPL
public static final ArithOp DCMPG
public static final ArithOp FCMPL
public static final ArithOp FCMPG
public static final ArithOp PLUS
public static final ArithOp MINUS
public static final ArithOp MULTIPLY
public static final ArithOp DIVIDE
public static final ArithOp REM
public static final ArithOp OR
public static final ArithOp AND
public static final ArithOp SHR
public static final ArithOp SHL
public static final ArithOp SHRU
public static final ArithOp XOR
public static final ArithOp NEG
private final java.lang.String showAs
private final boolean temporary
private final boolean boolSafe
private final Precedence precedence
public static ArithOp[] values()
for (ArithOp c : ArithOp.values()) System.out.println(c);
public static ArithOp 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 java.lang.String getShowAs()
public boolean isTemporary()
public Precedence getPrecedence()
public boolean canThrow(InferredJavaType inferredJavaType, ExceptionCheck caught, java.util.Set<? extends JavaTypeInstance> instances)
public boolean isBoolSafe()