public final class MethodBody
extends com.strobel.core.Freezable
| Constructor and Description |
|---|
MethodBody(MethodDefinition methodDefinition) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
freezeCore() |
int |
getCodeSize() |
java.util.List<ExceptionHandler> |
getExceptionHandlers() |
InstructionCollection |
getInstructions() |
int |
getMaxLocals() |
int |
getMaxStackSize() |
MethodDefinition |
getMethod() |
ParameterDefinition |
getParameter(int index) |
java.util.List<StackMapFrame> |
getStackMapFrames() |
ParameterDefinition |
getThisParameter() |
VariableDefinitionCollection |
getVariables() |
boolean |
hasThis() |
public MethodBody(MethodDefinition methodDefinition)
public final InstructionCollection getInstructions()
public final VariableDefinitionCollection getVariables()
public final java.util.List<ExceptionHandler> getExceptionHandlers()
public final java.util.List<StackMapFrame> getStackMapFrames()
public final MethodDefinition getMethod()
public final boolean hasThis()
public final ParameterDefinition getThisParameter()
public final int getMaxStackSize()
public final int getCodeSize()
public final int getMaxLocals()
protected final void freezeCore()
freezeCore in class com.strobel.core.Freezablepublic final ParameterDefinition getParameter(int index)