soot.jimple
Class LongConstant
java.lang.Object
soot.jimple.Constant
soot.jimple.NumericConstant
soot.jimple.ArithmeticConstant
soot.jimple.LongConstant
- All Implemented Interfaces:
- Serializable, EquivTo, Immediate, ConvertToBaf, Switchable, Value
public class LongConstant
- extends ArithmeticConstant
- See Also:
- Serialized Form
value
public final long value
v
public static LongConstant v(long value)
equals
public boolean equals(Object c)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Returns a hash code for this DoubleConstant object.
- Overrides:
hashCode
in class Object
add
public NumericConstant add(NumericConstant c)
- Specified by:
add
in class NumericConstant
subtract
public NumericConstant subtract(NumericConstant c)
- Specified by:
subtract
in class NumericConstant
multiply
public NumericConstant multiply(NumericConstant c)
- Specified by:
multiply
in class NumericConstant
divide
public NumericConstant divide(NumericConstant c)
- Specified by:
divide
in class NumericConstant
remainder
public NumericConstant remainder(NumericConstant c)
- Specified by:
remainder
in class NumericConstant
equalEqual
public NumericConstant equalEqual(NumericConstant c)
- Specified by:
equalEqual
in class NumericConstant
notEqual
public NumericConstant notEqual(NumericConstant c)
- Specified by:
notEqual
in class NumericConstant
lessThan
public NumericConstant lessThan(NumericConstant c)
- Specified by:
lessThan
in class NumericConstant
lessThanOrEqual
public NumericConstant lessThanOrEqual(NumericConstant c)
- Specified by:
lessThanOrEqual
in class NumericConstant
greaterThan
public NumericConstant greaterThan(NumericConstant c)
- Specified by:
greaterThan
in class NumericConstant
greaterThanOrEqual
public NumericConstant greaterThanOrEqual(NumericConstant c)
- Specified by:
greaterThanOrEqual
in class NumericConstant
cmp
public IntConstant cmp(LongConstant c)
negate
public NumericConstant negate()
- Specified by:
negate
in class NumericConstant
and
public ArithmeticConstant and(ArithmeticConstant c)
- Specified by:
and
in class ArithmeticConstant
or
public ArithmeticConstant or(ArithmeticConstant c)
- Specified by:
or
in class ArithmeticConstant
xor
public ArithmeticConstant xor(ArithmeticConstant c)
- Specified by:
xor
in class ArithmeticConstant
shiftLeft
public ArithmeticConstant shiftLeft(ArithmeticConstant c)
- Specified by:
shiftLeft
in class ArithmeticConstant
shiftRight
public ArithmeticConstant shiftRight(ArithmeticConstant c)
- Specified by:
shiftRight
in class ArithmeticConstant
unsignedShiftRight
public ArithmeticConstant unsignedShiftRight(ArithmeticConstant c)
- Specified by:
unsignedShiftRight
in class ArithmeticConstant
toString
public String toString()
- Overrides:
toString
in class Object
getType
public Type getType()
- Description copied from interface:
Value
- Returns the Soot type of this Value.
apply
public void apply(Switch sw)
- Description copied from interface:
Switchable
- Called when this object is visited.