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
public final class LiteralArg extends InsnArg
-
-
Field Summary
-
Fields inherited from class jadx.core.dex.instructions.args.InsnArg
parentInsn
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InsnArgduplicate()booleanequals(java.lang.Object o)longgetLiteral()inthashCode()booleanisInteger()booleanisLiteral()booleanisNegative()booleanisZeroLiteral()static LiteralArglitFalse()static LiteralArglitTrue()static LiteralArgmake(long value, ArgType type)static LiteralArgmakeWithFixedType(long value, ArgType type)@Nullable LiteralArgnegate()voidsetType(ArgType type)java.lang.StringtoShortString()java.lang.StringtoString()-
Methods inherited from class jadx.core.dex.instructions.args.InsnArg
copyCommonParams, getParentInsn, isAnyThis, isConst, isFalse, isInsnWrap, isNamed, isRegister, isSameCodeVar, isSameConst, isSameVar, isThis, isTrue, isUseVar, isZeroConst, lit, lit, reg, reg, reg, setParentInsn, typeImmutableIfKnownReg, typeImmutableReg, typeImmutableReg, unwrap, wrapArg, wrapInsnIntoArg, wrapInstruction, wrapInstruction
-
Methods inherited from class jadx.core.dex.instructions.args.Typed
getType, isTypeImmutable
-
Methods 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
-
-
-
-
Method Detail
-
make
public static LiteralArg make(long value, ArgType type)
-
makeWithFixedType
public static LiteralArg makeWithFixedType(long value, ArgType type)
-
litFalse
public static LiteralArg litFalse()
-
litTrue
public static LiteralArg litTrue()
-
getLiteral
public long getLiteral()
-
isZeroLiteral
public boolean isZeroLiteral()
- Overrides:
isZeroLiteralin classInsnArg
-
isInteger
public boolean isInteger()
-
isNegative
public boolean isNegative()
-
negate
@Nullable public @Nullable LiteralArg negate()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toShortString
public java.lang.String toShortString()
- Overrides:
toShortStringin classInsnArg
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-