soot.jimple
Class LongConstant
java.lang.Object
|
+--soot.jimple.Constant
|
+--soot.jimple.NumericConstant
|
+--soot.jimple.ArithmeticConstant
|
+--soot.jimple.LongConstant
- All Implemented Interfaces:
- ConvertToBaf, EquivTo, Switchable, ToBriefString, Value
- public class LongConstant
- extends ArithmeticConstant
- implements Switchable, ToBriefString
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
value
public final long value
v
public static LongConstant v(long value)
equals
public boolean equals(java.lang.Object c)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Returns a hash code for this DoubleConstant object.
- Overrides:
hashCode
in class java.lang.Object
add
public NumericConstant add(NumericConstant c)
- Overrides:
add
in class NumericConstant
subtract
public NumericConstant subtract(NumericConstant c)
- Overrides:
subtract
in class NumericConstant
multiply
public NumericConstant multiply(NumericConstant c)
- Overrides:
multiply
in class NumericConstant
divide
public NumericConstant divide(NumericConstant c)
- Overrides:
divide
in class NumericConstant
remainder
public NumericConstant remainder(NumericConstant c)
- Overrides:
remainder
in class NumericConstant
equalEqual
public NumericConstant equalEqual(NumericConstant c)
- Overrides:
equalEqual
in class NumericConstant
notEqual
public NumericConstant notEqual(NumericConstant c)
- Overrides:
notEqual
in class NumericConstant
lessThan
public NumericConstant lessThan(NumericConstant c)
- Overrides:
lessThan
in class NumericConstant
lessThanOrEqual
public NumericConstant lessThanOrEqual(NumericConstant c)
- Overrides:
lessThanOrEqual
in class NumericConstant
greaterThan
public NumericConstant greaterThan(NumericConstant c)
- Overrides:
greaterThan
in class NumericConstant
greaterThanOrEqual
public NumericConstant greaterThanOrEqual(NumericConstant c)
- Overrides:
greaterThanOrEqual
in class NumericConstant
cmp
public IntConstant cmp(LongConstant c)
negate
public NumericConstant negate()
- Overrides:
negate
in class NumericConstant
and
public ArithmeticConstant and(ArithmeticConstant c)
- Overrides:
and
in class ArithmeticConstant
or
public ArithmeticConstant or(ArithmeticConstant c)
- Overrides:
or
in class ArithmeticConstant
xor
public ArithmeticConstant xor(ArithmeticConstant c)
- Overrides:
xor
in class ArithmeticConstant
shiftLeft
public ArithmeticConstant shiftLeft(ArithmeticConstant c)
- Overrides:
shiftLeft
in class ArithmeticConstant
shiftRight
public ArithmeticConstant shiftRight(ArithmeticConstant c)
- Overrides:
shiftRight
in class ArithmeticConstant
unsignedShiftRight
public ArithmeticConstant unsignedShiftRight(ArithmeticConstant c)
- Overrides:
unsignedShiftRight
in class ArithmeticConstant
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toBriefString
public java.lang.String toBriefString()
- Description copied from interface:
ToBriefString
- Returns a brief description of this object.
- Specified by:
toBriefString
in interface ToBriefString
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.
- Specified by:
apply
in interface Switchable