Package jadx.core.dex.instructions.args
Class LiteralArg
java.lang.Object
jadx.core.dex.attributes.AttrNode
jadx.core.dex.instructions.args.Typed
jadx.core.dex.instructions.args.InsnArg
jadx.core.dex.instructions.args.LiteralArg
- All Implemented Interfaces:
IAttributeNode
-
Field Summary
FieldsFields inherited from class jadx.core.dex.instructions.args.InsnArg
parentInsn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate static ArgTypefixLiteralType(long value, ArgType type) longinthashCode()booleanbooleanbooleanbooleanstatic LiteralArglitFalse()static LiteralArglitTrue()static LiteralArgstatic LiteralArgmakeWithFixedType(long value, ArgType type) @Nullable LiteralArgnegate()voidtoString()Methods inherited from class jadx.core.dex.instructions.args.InsnArg
copyCommonParams, getParentInsn, isAnyThis, isConst, isFalse, isInsnWrap, isNamed, isRegister, isSameCodeVar, isSameConst, isSameVar, isSameVar, isThis, isTrue, isUseVar, isZeroConst, lit, lit, reg, reg, reg, setParentInsn, typeImmutableIfKnownReg, typeImmutableReg, typeImmutableReg, unwrap, wrapArg, wrapInsnIntoArg, wrapInstruction, wrapInstructionMethods inherited from class jadx.core.dex.instructions.args.Typed
getType, isTypeImmutableMethods inherited from class jadx.core.dex.attributes.AttrNode
add, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributes
-
Field Details
-
literal
private final long literal
-
-
Constructor Details
-
LiteralArg
-
-
Method Details
-
make
-
makeWithFixedType
-
fixLiteralType
-
litFalse
-
litTrue
-
getLiteral
public long getLiteral() -
setType
-
isLiteral
public boolean isLiteral() -
isZeroLiteral
public boolean isZeroLiteral()- Overrides:
isZeroLiteralin classInsnArg
-
isInteger
public boolean isInteger() -
isNegative
public boolean isNegative() -
negate
-
duplicate
-
hashCode
public int hashCode() -
equals
-
toShortString
- Overrides:
toShortStringin classInsnArg
-
toString
-