Class MethodBody

java.lang.Object
com.strobel.core.Freezable
com.strobel.assembler.metadata.MethodBody
All Implemented Interfaces:
IFreezable

public final class MethodBody extends Freezable
  • Field Details

  • Constructor Details

  • Method Details

    • getResolver

      public final IMetadataResolver getResolver()
    • getInstructions

      public final InstructionCollection getInstructions()
    • getVariables

      public final VariableDefinitionCollection getVariables()
    • getExceptionHandlers

      public final List<ExceptionHandler> getExceptionHandlers()
    • getStackMapFrames

      public final List<StackMapFrame> getStackMapFrames()
    • setStackMapFrames

      final void setStackMapFrames(List<StackMapFrame> stackMapFrames)
    • getMethod

      public final MethodDefinition getMethod()
    • hasThis

      public final boolean hasThis()
    • getThisParameter

      public final ParameterDefinition getThisParameter()
    • getMaxStackSize

      public final int getMaxStackSize()
    • getCodeSize

      public final int getCodeSize()
    • getMaxLocals

      public final int getMaxLocals()
    • setThisParameter

      final void setThisParameter(ParameterDefinition thisParameter)
    • setMaxStackSize

      final void setMaxStackSize(int maxStackSize)
    • setCodeSize

      final void setCodeSize(int codeSize)
    • setMaxLocals

      final void setMaxLocals(int maxLocals)
    • freezeCore

      protected final void freezeCore()
      Overrides:
      freezeCore in class Freezable
    • getParameter

      public final ParameterDefinition getParameter(int index)