Class LongConstant
java.lang.Object
sootup.core.jimple.common.constant.LongConstant
- All Implemented Interfaces:
EquivTo
,Immediate
,Value
,ComparableConstant<LongConstant>
,Constant
,LogicalConstant<LongConstant>
,NumericConstant<LongConstant>
,ShiftableConstant<LongConstant>
,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 LongConstant
add
(@NonNull LongConstant c) @NonNull LongConstant
and
(@NonNull LongConstant c) cmp
(LongConstant c) Compares the value of LongConstant.@NonNull LongConstant
divide
(@NonNull LongConstant c) @NonNull BooleanConstant
equalEqual
(@NonNull LongConstant c) boolean
static LongConstant
getInstance
(long value) @NonNull Type
getType()
Returns the Soot type of this Value.long
getValue()
@NonNull BooleanConstant
greaterThan
(@NonNull LongConstant c) @NonNull BooleanConstant
greaterThanOrEqual
(@NonNull LongConstant c) int
hashCode()
Returns a hash code for this DoubleConstant object.@NonNull BooleanConstant
lessThan
(@NonNull LongConstant c) @NonNull BooleanConstant
lessThanOrEqual
(@NonNull LongConstant c) @NonNull LongConstant
multiply
(@NonNull LongConstant c) @NonNull LongConstant
negate()
@NonNull BooleanConstant
notEqual
(@NonNull LongConstant c) @NonNull LongConstant
or
(@NonNull LongConstant c) @NonNull LongConstant
remainder
(@NonNull LongConstant c) @NonNull LongConstant
shiftLeft
(@NonNull IntConstant c) @NonNull LongConstant
shiftRight
(@NonNull IntConstant c) @NonNull LongConstant
subtract
(@NonNull LongConstant c) toString()
@NonNull LongConstant
unsignedShiftRight
(@NonNull IntConstant c) @NonNull LongConstant
xor
(@NonNull LongConstant c) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
add
in interfaceNumericConstant<LongConstant>
-
subtract
- Specified by:
subtract
in interfaceNumericConstant<LongConstant>
-
multiply
- Specified by:
multiply
in interfaceNumericConstant<LongConstant>
-
divide
- Specified by:
divide
in interfaceNumericConstant<LongConstant>
-
remainder
- Specified by:
remainder
in interfaceNumericConstant<LongConstant>
-
equalEqual
- Specified by:
equalEqual
in interfaceComparableConstant<LongConstant>
-
notEqual
- Specified by:
notEqual
in interfaceComparableConstant<LongConstant>
-
lessThan
- Specified by:
lessThan
in interfaceNumericConstant<LongConstant>
-
lessThanOrEqual
- Specified by:
lessThanOrEqual
in interfaceNumericConstant<LongConstant>
-
greaterThan
- Specified by:
greaterThan
in interfaceNumericConstant<LongConstant>
-
greaterThanOrEqual
- Specified by:
greaterThanOrEqual
in interfaceNumericConstant<LongConstant>
-
cmp
Compares the value of LongConstant. -
negate
- Specified by:
negate
in interfaceNumericConstant<LongConstant>
-
and
- Specified by:
and
in interfaceLogicalConstant<LongConstant>
-
or
- Specified by:
or
in interfaceLogicalConstant<LongConstant>
-
xor
- Specified by:
xor
in interfaceLogicalConstant<LongConstant>
-
shiftLeft
- Specified by:
shiftLeft
in interfaceShiftableConstant<LongConstant>
-
shiftRight
- Specified by:
shiftRight
in interfaceShiftableConstant<LongConstant>
-
unsignedShiftRight
- Specified by:
unsignedShiftRight
in interfaceShiftableConstant<LongConstant>
-
toString
-
getType
Description copied from interface:Value
Returns the Soot type of this Value. -
accept
Description copied from interface:Acceptor
Called when this object is visited.- Specified by:
accept
in interfaceAcceptor<ConstantVisitor>
-
getValue
public long getValue()
-