public class RegisterArg extends InsnArg implements Named
| Modifier and Type | Field and Description |
|---|---|
protected int |
regNum |
static java.lang.String |
SUPER_ARG_NAME |
static java.lang.String |
THIS_ARG_NAME |
parentInsn| Constructor and Description |
|---|
RegisterArg(int rn,
ArgType type) |
copyCommonParams, getParentInsn, isAnyThis, isConst, isFalse, isInsnWrap, isLiteral, isNamed, isSameConst, isThis, isTrue, isZeroLiteral, lit, lit, reg, reg, reg, setParentInsn, typeImmutableIfKnownReg, typeImmutableReg, typeImmutableReg, unwrap, wrapArg, wrapInsnIntoArg, wrapInstruction, wrapInstructionadd, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributespublic static final java.lang.String THIS_ARG_NAME
public static final java.lang.String SUPER_ARG_NAME
protected final int regNum
public RegisterArg(int rn,
ArgType type)
public int getRegNum()
public boolean isRegister()
isRegister in class InsnArgpublic ArgType getInitType()
public void forceSetInitType(ArgType type)
@Nullable public @Nullable ArgType getImmutableType()
public boolean isTypeImmutable()
isTypeImmutable in class Typedpublic SSAVar getSVar()
public void resetSSAVar()
public void setNameIfUnknown(java.lang.String name)
public boolean isNameEquals(InsnArg arg)
public RegisterArg duplicate()
public RegisterArg duplicate(ArgType initType)
public RegisterArg duplicateWithNewSSAVar(MethodNode mth)
public RegisterArg duplicate(int regNum, @Nullable @Nullable SSAVar sVar)
public RegisterArg duplicate(int regNum, ArgType initType, @Nullable @Nullable SSAVar sVar)
@Nullable public @Nullable InsnNode getAssignInsn()
public boolean equalRegisterAndType(RegisterArg arg)
public boolean sameRegAndSVar(InsnArg arg)
public boolean sameReg(InsnArg arg)
public boolean sameCodeVar(RegisterArg arg)
public boolean isLinkedToOtherSsaVars()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object