Package com.strobel.assembler.metadata
Class MethodBody
java.lang.Object
com.strobel.core.Freezable
com.strobel.assembler.metadata.MethodBody
- All Implemented Interfaces:
IFreezable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private final Collection
<ExceptionHandler> private final InstructionCollection
private int
private int
private final MethodDefinition
private List
<StackMapFrame> private ParameterDefinition
private final VariableDefinitionCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
final int
final List
<ExceptionHandler> final InstructionCollection
final int
final int
final MethodDefinition
final ParameterDefinition
getParameter
(int index) final IMetadataResolver
final List
<StackMapFrame> final ParameterDefinition
final boolean
hasThis()
(package private) final void
setCodeSize
(int codeSize) (package private) final void
setMaxLocals
(int maxLocals) (package private) final void
setMaxStackSize
(int maxStackSize) (package private) final void
setStackMapFrames
(List<StackMapFrame> stackMapFrames) (package private) final void
setThisParameter
(ParameterDefinition thisParameter) Methods inherited from class com.strobel.core.Freezable
canFreeze, freeze, freezeIfUnfrozen, isFrozen, tryFreeze, verifyFrozen, verifyNotFrozen
-
Field Details
-
_method
-
_instructions
-
_variables
-
_exceptionHandlers
-
_stackMapFrames
-
_thisParameter
-
_maxStackSize
private int _maxStackSize -
_maxLocals
private int _maxLocals -
_codeSize
private int _codeSize
-
-
Constructor Details
-
MethodBody
-
-
Method Details
-
getResolver
-
getInstructions
-
getVariables
-
getExceptionHandlers
-
getStackMapFrames
-
setStackMapFrames
-
getMethod
-
hasThis
public final boolean hasThis() -
getThisParameter
-
getMaxStackSize
public final int getMaxStackSize() -
getCodeSize
public final int getCodeSize() -
getMaxLocals
public final int getMaxLocals() -
setThisParameter
-
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 classFreezable
-
getParameter
-