类 CodeAttributeEditor

    • 字段详细资料

      • RESTORE_PREVIOUS_LINE_NUMBER

        public static final int RESTORE_PREVIOUS_LINE_NUMBER
        Magic line number that indicates the previous line number should be restored. The restored line number is the first preceding line number with a different source.
        另请参阅:
        常量字段值
      • preOffsetInsertions

        public Instruction[] preOffsetInsertions
      • deleted

        public boolean[] deleted
    • 构造器详细资料

      • 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.
        参数:
        updateFrameSizes - specifies whether frame sizes of edited code should be updated.
        shrinkInstructions - specifies whether added instructions should automatically be shrunk before being written.