Class CodeMethodBody
- All Implemented Interfaces:
Formattable,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BlockGenerated by umod; model author's documentation MISSING.protected NonNullList<Exception> The table of exception handlers for the code of this method.An upper bound on the maximum number of local variable slots required for the execution of this method.An upper bound on the maximum number of operand stack slots required for the execution of this method.protected NonNullList<StackFrameDelta> A stack map specifying the static type analysis of the code of this method.protected NonNullSet<Instruction> The set of instructions requiring stack map information in the code of this method. -
Constructor Summary
ConstructorsConstructorDescriptionCodeMethodBody(Block block) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_exceptionTable(MATCH_ONLY_00 visitor) Deprecated.voiddescend_stackMap(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_stackMap(this)orvisitor.followAll_stackMap(this)instead.voiddescend_stackMapPlaces(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_stackMapPlaces(this)orvisitor.followAll_stackMapPlaces(this)instead.doclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.Generated by umod; model author's documentation MISSING.static Pattern<CodeMethodBody> Lifts a pattern which matches the field value to one which matches this whole object.The table of exception handlers for the code of this method.static Pattern<CodeMethodBody> get_exceptionTable(Pattern<? super NonNullList<Exception>> p) Lifts a pattern which matches the field value to one which matches this whole object.An upper bound on the maximum number of local variable slots required for the execution of this method.static Pattern<CodeMethodBody> get_maxLocals(Pattern<? super @Opt Integer> p) Lifts a pattern which matches the field value to one which matches this whole object.An upper bound on the maximum number of operand stack slots required for the execution of this method.static Pattern<CodeMethodBody> get_maxOperands(Pattern<? super @Opt Integer> p) Lifts a pattern which matches the field value to one which matches this whole object.A stack map specifying the static type analysis of the code of this method.static Pattern<CodeMethodBody> get_stackMap(Pattern<? super NonNullList<StackFrameDelta>> p) Lifts a pattern which matches the field value to one which matches this whole object.The set of instructions requiring stack map information in the code of this method.static Pattern<CodeMethodBody> get_stackMapPlaces(Pattern<? super NonNullSet<Instruction>> p) Lifts a pattern which matches the field value to one which matches this whole object.static StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.booleanGenerated by umod; model author's documentation MISSING.booleanThe table of exception handlers for the code of this method.booleanset_maxLocals(@Opt Integer val) An upper bound on the maximum number of local variable slots required for the execution of this method.booleanset_maxOperands(@Opt Integer val) An upper bound on the maximum number of operand stack slots required for the execution of this method.booleanA stack map specifying the static type analysis of the code of this method.booleanThe set of instructions requiring stack map information in the code of this method.Methods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
block
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":411.8-13, see this pretty print.)
The type of this field isBlock(nevernull)
It is set by every possible constructor.
- See Also:
-
exceptionTable
The table of exception handlers for the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1068.1-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isNonNullList<Exception(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
maxLocals
An upper bound on the maximum number of local variable slots required for the execution of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1072.1-10, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isInteger(maybenull)
Its value defaults tonull.
- See Also:
-
maxOperands
An upper bound on the maximum number of operand stack slots required for the execution of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1077.1-12, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isInteger(maybenull)
Its value defaults tonull.
- See Also:
-
stackMapPlaces
The set of instructions requiring stack map information in the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1082.1-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isNonNullSet<Instruction(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
stackMap
A stack map specifying the static type analysis of the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1087.1-9, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isNonNullList<StackFrameDelta(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
-
Constructor Details
-
CodeMethodBody
Constructor defined according to directive »C 0/..«.
- Parameters:
block- is copied to fieldblock
-
-
Method Details
-
doclone
- Overrides:
doclonein classMethodBody- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
'{'/>block{elems[/]}/>exceptionTable[/]/'}'
This can be used e.g. by format code interpreters which process objects of different origin. -
format
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classMethodBody- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.- Overrides:
initFromin classMethodBody
-
get_block
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":411.8-13, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Block(nevernull) - See Also:
-
set_block
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":411.8-13, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeBlock(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_exceptionTable
The table of exception handlers for the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1068.1-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
NonNullList<Exception(nevernull)>(nevernull) - See Also:
-
set_exceptionTable
The table of exception handlers for the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1068.1-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<Exception(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_exceptionTable
Deprecated.Usevisitor.follow_exceptionTable(this)orvisitor.followAll_exceptionTable(this)instead. -
get_maxLocals
An upper bound on the maximum number of local variable slots required for the execution of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1072.1-10, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
Integer(maybenull) - See Also:
-
set_maxLocals
An upper bound on the maximum number of local variable slots required for the execution of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1072.1-10, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeInteger(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_maxOperands
An upper bound on the maximum number of operand stack slots required for the execution of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1077.1-12, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
Integer(maybenull) - See Also:
-
set_maxOperands
An upper bound on the maximum number of operand stack slots required for the execution of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1077.1-12, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeInteger(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_stackMapPlaces
The set of instructions requiring stack map information in the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1082.1-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
NonNullSet<Instruction(nevernull)>(nevernull) - See Also:
-
set_stackMapPlaces
The set of instructions requiring stack map information in the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1082.1-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullSet<Instruction(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_stackMapPlaces
Deprecated.Usevisitor.follow_stackMapPlaces(this)orvisitor.followAll_stackMapPlaces(this)instead. -
get_stackMap
A stack map specifying the static type analysis of the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1087.1-9, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Returns:
- The current field value of type
NonNullList<StackFrameDelta(nevernull)>(nevernull) - See Also:
-
set_stackMap
A stack map specifying the static type analysis of the code of this method.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1087.1-9, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<StackFrameDelta(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_stackMap
Deprecated.Usevisitor.follow_stackMap(this)orvisitor.followAll_stackMap(this)instead. -
get_block
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_exceptionTable
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_maxLocals
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_maxOperands
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_stackMapPlaces
public static Pattern<CodeMethodBody> get_stackMapPlaces(Pattern<? super NonNullSet<Instruction>> p) Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns. -
get_stackMap
Lifts a pattern which matches the field value to one which matches this whole object.
More complex pattern methods are generated in the one ancillary class__Patterns.
-
visitor.follow_exceptionTable(this)orvisitor.followAll_exceptionTable(this)instead.