public enum ArithOp extends Enum<ArithOp>
Enum Constant and Description |
---|
AND |
DCMPG |
DCMPL |
DIVIDE |
FCMPG |
FCMPL |
LCMP |
MINUS |
MULTIPLY |
NEG |
OR |
PLUS |
REM |
SHL |
SHR |
SHRU |
XOR |
Modifier and Type | Method and Description |
---|---|
boolean |
canThrow(InferredJavaType inferredJavaType,
ExceptionCheck caught,
Set<? extends JavaTypeInstance> instances) |
static ArithOp |
getOpFor(JVMInstr instr) |
Precedence |
getPrecedence() |
String |
getShowAs() |
boolean |
isBoolSafe() |
boolean |
isTemporary() |
static ArithOp |
valueOf(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
public static ArithOp[] values()
for (ArithOp c : ArithOp.values()) System.out.println(c);
public static ArithOp 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 String getShowAs()
public boolean isTemporary()
public Precedence getPrecedence()
public boolean canThrow(InferredJavaType inferredJavaType, ExceptionCheck caught, Set<? extends JavaTypeInstance> instances)
public boolean isBoolSafe()
Copyright © 2011-2021. All Rights Reserved.