Package soot

Class AbstractJasminClass

    • Field Detail

      • subroutineToReturnAddressSlot

        protected Map<Unit,​Integer> subroutineToReturnAddressSlot
      • isEmittingMethodCode

        protected boolean isEmittingMethodCode
      • labelCount

        protected int labelCount
      • isNextGotoAJsr

        protected boolean isNextGotoAJsr
      • returnAddressSlot

        protected int returnAddressSlot
      • currentStackHeight

        protected int currentStackHeight
      • maxStackHeight

        protected int maxStackHeight
      • blockToLogicalStackHeight

        protected Map<Block,​Integer> blockToLogicalStackHeight
    • Constructor Detail

      • AbstractJasminClass

        public AbstractJasminClass​(SootClass sootClass)
    • Method Detail

      • sizeOfType

        public static int sizeOfType​(Type t)
      • jasminDescriptorOf

        public static String jasminDescriptorOf​(Type type)
      • emit

        protected void emit​(String s)
      • okayEmit

        protected void okayEmit​(String s)
      • assignColorsToLocals

        protected void assignColorsToLocals​(Body body)
      • emitMethod

        protected void emitMethod​(SootMethod method)
      • emitMethodBody

        protected abstract void emitMethodBody​(SootMethod method)
      • doubleToString

        protected String doubleToString​(double d)
      • floatToString

        protected String floatToString​(float d)