Class RegisterArg

All Implemented Interfaces:
IAttributeNode, Named

public class RegisterArg extends InsnArg implements Named
  • Field Details

  • Constructor Details

    • RegisterArg

      public RegisterArg(int rn, ArgType type)
  • Method Details

    • getRegNum

      public int getRegNum()
    • isRegister

      public boolean isRegister()
      Overrides:
      isRegister in class InsnArg
    • getInitType

      public ArgType getInitType()
    • getType

      public ArgType getType()
      Overrides:
      getType in class Typed
    • setType

      public void setType(ArgType newType)
      Overrides:
      setType in class Typed
    • forceSetInitType

      public void forceSetInitType(ArgType type)
    • getImmutableType

      @Nullable public @Nullable ArgType getImmutableType()
    • isTypeImmutable

      public boolean isTypeImmutable()
      Overrides:
      isTypeImmutable in class Typed
    • getSVar

      public SSAVar getSVar()
    • setSVar

      void setSVar(@NotNull @NotNull SSAVar sVar)
    • resetSSAVar

      public void resetSSAVar()
    • getName

      public String getName()
      Specified by:
      getName in interface Named
    • isSuper

      private boolean isSuper()
    • setName

      public void setName(String name)
      Specified by:
      setName in interface Named
    • setNameIfUnknown

      public void setNameIfUnknown(String name)
    • isNameEquals

      public boolean isNameEquals(InsnArg arg)
    • duplicate

      public RegisterArg duplicate()
      Specified by:
      duplicate in class InsnArg
    • duplicate

      public RegisterArg duplicate(ArgType initType)
    • duplicateWithNewSSAVar

      public RegisterArg duplicateWithNewSSAVar(MethodNode mth)
    • duplicate

      public RegisterArg duplicate(int regNum, @Nullable @Nullable SSAVar sVar)
    • duplicate

      public RegisterArg duplicate(int regNum, ArgType initType, @Nullable @Nullable SSAVar sVar)
    • getAssignInsn

      @Nullable public @Nullable InsnNode getAssignInsn()
    • equalRegisterAndType

      public boolean equalRegisterAndType(RegisterArg arg)
    • sameRegAndSVar

      public boolean sameRegAndSVar(InsnArg arg)
    • sameReg

      public boolean sameReg(InsnArg arg)
    • sameType

      public boolean sameType(InsnArg arg)
    • sameCodeVar

      public boolean sameCodeVar(RegisterArg arg)
    • isLinkedToOtherSsaVars

      public boolean isLinkedToOtherSsaVars()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toShortString

      public String toShortString()
      Overrides:
      toShortString in class InsnArg
    • toString

      public String toString()
      Overrides:
      toString in class Object