Class CodeAttributeEditor

    • Field Detail

      • preOffsetInsertions

        public Instruction[] preOffsetInsertions
      • deleted

        public boolean[] deleted
    • Constructor Detail

      • CodeAttributeEditor

        public CodeAttributeEditor()
        Creates a new CodeAttributeEditor that automatically updates frame sizes and shrinks instructions.
      • CodeAttributeEditor

        public CodeAttributeEditor​(boolean updateFrameSizes,
                                   boolean shrinkInstructions)
        Creates a new CodeAttributeEditor.
        Parameters:
        updateFrameSizes - specifies whether frame sizes of edited code should be updated.
        shrinkInstructions - specifies whether added instructions should automatically be shrunk before being written.