Class CodeAttribute

    • Field Detail

      • _maxStack

        private final int _maxStack
      • _maxLocals

        private final int _maxLocals
      • _codeSize

        private final int _codeSize
      • _codeOffset

        private final int _codeOffset
      • _code

        private final Buffer _code
      • _exceptionTableEntriesView

        private final java.util.List<ExceptionTableEntry> _exceptionTableEntriesView
      • _attributesView

        private final java.util.List<SourceAttribute> _attributesView
    • Constructor Detail

      • CodeAttribute

        public CodeAttribute​(int size,
                             int maxStack,
                             int maxLocals,
                             int codeOffset,
                             int codeSize,
                             Buffer buffer,
                             ExceptionTableEntry[] exceptionTableEntries,
                             SourceAttribute[] attributes)
      • CodeAttribute

        public CodeAttribute​(int size,
                             int codeOffset,
                             int codeSize,
                             int maxStack,
                             int maxLocals,
                             ExceptionTableEntry[] exceptionTableEntries,
                             SourceAttribute[] attributes)
    • Method Detail

      • getMaxStack

        public int getMaxStack()
      • getMaxLocals

        public int getMaxLocals()
      • getCodeSize

        public int getCodeSize()
      • hasCode

        public boolean hasCode()
      • getCode

        public Buffer getCode()
      • getExceptionTableEntries

        public java.util.List<ExceptionTableEntry> getExceptionTableEntries()
      • getCodeOffset

        public int getCodeOffset()