public final class LiteralArg extends InsnArg
parentInsn| Modifier and Type | Method and Description |
|---|---|
InsnArg |
duplicate() |
boolean |
equals(java.lang.Object o) |
long |
getLiteral() |
int |
hashCode() |
boolean |
isInteger() |
boolean |
isLiteral() |
boolean |
isNegative() |
static LiteralArg |
litFalse() |
static LiteralArg |
litTrue() |
static LiteralArg |
make(long value,
ArgType type) |
static LiteralArg |
makeWithFixedType(long value,
ArgType type) |
@Nullable LiteralArg |
negate() |
void |
setType(ArgType type) |
java.lang.String |
toString() |
copyCommonParams, getParentInsn, isAnyThis, isConst, isFalse, isInsnWrap, isNamed, isRegister, isSameConst, isThis, isTrue, isZeroLiteral, lit, lit, reg, reg, reg, setParentInsn, typeImmutableIfKnownReg, typeImmutableReg, typeImmutableReg, unwrap, wrapArg, wrapInsnIntoArg, wrapInstruction, wrapInstructiongetType, isTypeImmutableadd, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributespublic static LiteralArg make(long value, ArgType type)
public static LiteralArg makeWithFixedType(long value, ArgType type)
public static LiteralArg litFalse()
public static LiteralArg litTrue()
public long getLiteral()
public boolean isInteger()
public boolean isNegative()
@Nullable public @Nullable LiteralArg negate()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object