Package soot.toDex

Class Register

  • All Implemented Interfaces:
    Cloneable

    public class Register
    extends Object
    implements Cloneable
    A register for the Dalvik VM. It has a number and a type.
    • Constructor Detail

      • Register

        public Register​(Type type,
                        int number)
    • Method Detail

      • fitsUnconstrained

        public static boolean fitsUnconstrained​(int regNumber,
                                                boolean isWide)
      • fitsShort

        public static boolean fitsShort​(int regNumber,
                                        boolean isWide)
      • fitsByte

        public static boolean fitsByte​(int regNumber,
                                       boolean isWide)
      • isEmptyReg

        public boolean isEmptyReg()
      • isWide

        public boolean isWide()
      • isObject

        public boolean isObject()
      • isFloat

        public boolean isFloat()
      • isDouble

        public boolean isDouble()
      • getType

        public Type getType()
      • getTypeString

        public String getTypeString()
      • getNumber

        public int getNumber()
      • setNumber

        public void setNumber​(int number)
      • fitsUnconstrained

        public boolean fitsUnconstrained()
      • fitsShort

        public boolean fitsShort()
      • fitsByte

        public boolean fitsByte()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object