Class CodeAttribute

java.lang.Object
com.strobel.assembler.ir.attributes.SourceAttribute
com.strobel.assembler.ir.attributes.CodeAttribute

public final class CodeAttribute extends SourceAttribute
Author:
Mike Strobel
  • Constructor Details

    • 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 Details

    • getMaxStack

      public int getMaxStack()
    • getMaxLocals

      public int getMaxLocals()
    • getCodeSize

      public int getCodeSize()
    • hasCode

      public boolean hasCode()
    • getCode

      public Buffer getCode()
    • getExceptionTableEntries

      public List<ExceptionTableEntry> getExceptionTableEntries()
    • getAttributes

      public List<SourceAttribute> getAttributes()
    • getCodeOffset

      public int getCodeOffset()