Class LongConstant
java.lang.Object
sootup.core.jimple.common.constant.LongConstant
- All Implemented Interfaces:
EquivTo,ComparableConstant<LongConstant>,Constant,LogicalConstant<LongConstant>,NumericConstant<LongConstant>,ShiftableConstant<LongConstant>,Immediate,Value,JimpleIR,Acceptor<ConstantVisitor>
A 64-bit integer constant
-
Method Summary
Modifier and TypeMethodDescription<V extends ConstantVisitor>
Vaccept(@NonNull V v) Called when this object is visited.@NonNull LongConstantadd(@NonNull LongConstant c) @NonNull LongConstantand(@NonNull LongConstant c) cmp(LongConstant c) Compares the value of LongConstant.@NonNull LongConstantdivide(@NonNull LongConstant c) @NonNull BooleanConstantequalEqual(@NonNull LongConstant c) booleanstatic LongConstantgetInstance(long value) @NonNull TypegetType()Returns the Soot type of this Value.longgetValue()@NonNull BooleanConstantgreaterThan(@NonNull LongConstant c) @NonNull BooleanConstantgreaterThanOrEqual(@NonNull LongConstant c) inthashCode()Returns a hash code for this DoubleConstant object.@NonNull BooleanConstantlessThan(@NonNull LongConstant c) @NonNull BooleanConstantlessThanOrEqual(@NonNull LongConstant c) @NonNull LongConstantmultiply(@NonNull LongConstant c) @NonNull LongConstantnegate()@NonNull BooleanConstantnotEqual(@NonNull LongConstant c) @NonNull LongConstantor(@NonNull LongConstant c) @NonNull LongConstantremainder(@NonNull LongConstant c) @NonNull LongConstantshiftLeft(@NonNull IntConstant c) @NonNull LongConstantshiftRight(@NonNull IntConstant c) @NonNull LongConstantsubtract(@NonNull LongConstant c) toString()@NonNull LongConstantunsignedShiftRight(@NonNull IntConstant c) @NonNull LongConstantxor(@NonNull LongConstant c) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface sootup.core.jimple.common.constant.Constant
equivHashCode, equivTo, getUses, toString
-
Method Details
-
getInstance
-
equals
-
hashCode
public int hashCode()Returns a hash code for this DoubleConstant object. -
add
- Specified by:
addin interfaceNumericConstant<LongConstant>
-
subtract
- Specified by:
subtractin interfaceNumericConstant<LongConstant>
-
multiply
- Specified by:
multiplyin interfaceNumericConstant<LongConstant>
-
divide
- Specified by:
dividein interfaceNumericConstant<LongConstant>
-
remainder
- Specified by:
remainderin interfaceNumericConstant<LongConstant>
-
equalEqual
- Specified by:
equalEqualin interfaceComparableConstant<LongConstant>
-
notEqual
- Specified by:
notEqualin interfaceComparableConstant<LongConstant>
-
lessThan
- Specified by:
lessThanin interfaceNumericConstant<LongConstant>
-
lessThanOrEqual
- Specified by:
lessThanOrEqualin interfaceNumericConstant<LongConstant>
-
greaterThan
- Specified by:
greaterThanin interfaceNumericConstant<LongConstant>
-
greaterThanOrEqual
- Specified by:
greaterThanOrEqualin interfaceNumericConstant<LongConstant>
-
cmp
Compares the value of LongConstant. -
negate
- Specified by:
negatein interfaceNumericConstant<LongConstant>
-
and
- Specified by:
andin interfaceLogicalConstant<LongConstant>
-
or
- Specified by:
orin interfaceLogicalConstant<LongConstant>
-
xor
- Specified by:
xorin interfaceLogicalConstant<LongConstant>
-
shiftLeft
- Specified by:
shiftLeftin interfaceShiftableConstant<LongConstant>
-
shiftRight
- Specified by:
shiftRightin interfaceShiftableConstant<LongConstant>
-
unsignedShiftRight
- Specified by:
unsignedShiftRightin interfaceShiftableConstant<LongConstant>
-
toString
-
getType
Description copied from interface:ValueReturns the Soot type of this Value. -
accept
Description copied from interface:AcceptorCalled when this object is visited.- Specified by:
acceptin interfaceAcceptor<ConstantVisitor>
-
getValue
public long getValue()
-