public static class LLJava.CodeMethodBody extends LLJava.MethodBody
Modifier and Type | Field and Description |
---|---|
protected LLJava.Block |
block
Generated by umod; model author's documentation MISSING.
|
protected CheckedList<LLJava.Exception> |
exceptionTable
The table of exception handlers for the code of
this
method.
|
protected Integer |
maxLocals
An upper bound on the maximum number of local
variable
slots required for the execution of this method.
|
protected Integer |
maxOperands
An upper bound on the maximum number of operand
stack
slots required for the execution of this method.
|
protected CheckedList<LLJava.StackFrameDelta> |
stackMap
A stack map specifying the static type analysis of
the
code of this method.
|
protected CheckedSet<LLJava.Instruction> |
stackMapPlaces
The set of instructions requiring stack map
information in the code of this method.
|
location
format
Constructor and Description |
---|
CodeMethodBody(LLJava.Block block)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
void |
descend_exceptionTable(LLJava.MATCH_ONLY_00 visitor) |
void |
descend_stackMap(LLJava.MATCH_ONLY_00 visitor) |
void |
descend_stackMapPlaces(LLJava.MATCH_ONLY_00 visitor) |
LLJava.CodeMethodBody |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.Block |
get_block()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.CodeMethodBody> |
get_block(Pattern<? super LLJava.Block> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedList<LLJava.Exception> |
get_exceptionTable()
The table of exception handlers for the code of
this
method.
|
static Pattern<LLJava.CodeMethodBody> |
get_exceptionTable(Pattern<? super CheckedList<LLJava.Exception>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
Integer |
get_maxLocals()
An upper bound on the maximum number of local
variable
slots required for the execution of this method.
|
static Pattern<LLJava.CodeMethodBody> |
get_maxLocals(Pattern<? super Integer> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
Integer |
get_maxOperands()
An upper bound on the maximum number of operand
stack
slots required for the execution of this method.
|
static Pattern<LLJava.CodeMethodBody> |
get_maxOperands(Pattern<? super Integer> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedList<LLJava.StackFrameDelta> |
get_stackMap()
A stack map specifying the static type analysis of
the
code of this method.
|
static Pattern<LLJava.CodeMethodBody> |
get_stackMap(Pattern<? super CheckedList<LLJava.StackFrameDelta>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedSet<LLJava.Instruction> |
get_stackMapPlaces()
The set of instructions requiring stack map
information in the code of this method.
|
static Pattern<LLJava.CodeMethodBody> |
get_stackMapPlaces(Pattern<? super CheckedSet<LLJava.Instruction>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
LLJava.CodeMethodBody |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_block(LLJava.Block val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_exceptionTable(CheckedList<LLJava.Exception> val)
The table of exception handlers for the code of
this
method.
|
boolean |
set_maxLocals(Integer val)
An upper bound on the maximum number of local
variable
slots required for the execution of this method.
|
boolean |
set_maxOperands(Integer val)
An upper bound on the maximum number of operand
stack
slots required for the execution of this method.
|
boolean |
set_stackMap(CheckedList<LLJava.StackFrameDelta> val)
A stack map specifying the static type analysis of
the
code of this method.
|
boolean |
set_stackMapPlaces(CheckedSet<LLJava.Instruction> val)
The set of instructions requiring stack map
information in the code of this method.
|
get_location, get_location, set_location
protected LLJava.Block block
LLJava.Block
(never null)protected CheckedList<LLJava.Exception> exceptionTable
ExceptionTableCollector
. CheckedList
<Exception
(never
null)>(never null)protected Integer maxLocals
TypeChecker
. Integer
(maybe
null)get_maxLocals()
,
set_maxLocals(java.lang.Integer)
protected Integer maxOperands
TypeChecker
. Integer
(maybe
null)protected CheckedSet<LLJava.Instruction> stackMapPlaces
TypeChecker
. CheckedSet
<LLJava.Instruction
(never
null)>(never null)protected CheckedList<LLJava.StackFrameDelta> stackMap
TypeChecker
. CheckedList
<LLJava.StackFrameDelta
(never
null)>(never null)public CodeMethodBody(LLJava.Block block)
block
- is copied to field block
public LLJava.CodeMethodBody doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.MethodBody
public static String getFormatHint()
'{'/>block{elems[/]}/>exceptionTable[/]/'}'
public Format format()
format
in interface Formattable
format
in class LLJava.MethodBody
public LLJava.CodeMethodBody initFrom(Object o0)
initFrom
in class LLJava.MethodBody
public LLJava.Block get_block()
LLJava.Block
(never
null)public boolean set_block(LLJava.Block val)
val
- the new value of type LLJava.Block
(never null)block
public CheckedList<LLJava.Exception> get_exceptionTable()
ExceptionTableCollector
. CheckedList
<Exception
(never
null)>(never null)public boolean set_exceptionTable(CheckedList<LLJava.Exception> val)
ExceptionTableCollector
. val
- the new value of type CheckedList
<Exception
(never
null)>(never null)exceptionTable
public void descend_exceptionTable(LLJava.MATCH_ONLY_00 visitor)
public Integer get_maxLocals()
TypeChecker
. Integer
(maybe
null)public boolean set_maxLocals(Integer val)
TypeChecker
. public Integer get_maxOperands()
TypeChecker
. Integer
(maybe
null)public boolean set_maxOperands(Integer val)
TypeChecker
. val
- the new value of type Integer
(maybe
null)maxOperands
public CheckedSet<LLJava.Instruction> get_stackMapPlaces()
TypeChecker
. CheckedSet
<LLJava.Instruction
(never
null)>(never null)public boolean set_stackMapPlaces(CheckedSet<LLJava.Instruction> val)
TypeChecker
. val
- the new value of type CheckedSet
<LLJava.Instruction
(never
null)>(never null)stackMapPlaces
public void descend_stackMapPlaces(LLJava.MATCH_ONLY_00 visitor)
public CheckedList<LLJava.StackFrameDelta> get_stackMap()
TypeChecker
. CheckedList
<LLJava.StackFrameDelta
(never null)>(never null)public boolean set_stackMap(CheckedList<LLJava.StackFrameDelta> val)
TypeChecker
. val
- the new value of type CheckedList
<LLJava.StackFrameDelta
(never null)>(never null)stackMap
public void descend_stackMap(LLJava.MATCH_ONLY_00 visitor)
public static Pattern<LLJava.CodeMethodBody> get_block(Pattern<? super LLJava.Block> p)
LLJava.__Patterns
.public static Pattern<LLJava.CodeMethodBody> get_exceptionTable(Pattern<? super CheckedList<LLJava.Exception>> p)
LLJava.__Patterns
.public static Pattern<LLJava.CodeMethodBody> get_maxLocals(Pattern<? super Integer> p)
LLJava.__Patterns
.public static Pattern<LLJava.CodeMethodBody> get_maxOperands(Pattern<? super Integer> p)
LLJava.__Patterns
.public static Pattern<LLJava.CodeMethodBody> get_stackMapPlaces(Pattern<? super CheckedSet<LLJava.Instruction>> p)
LLJava.__Patterns
.public static Pattern<LLJava.CodeMethodBody> get_stackMap(Pattern<? super CheckedList<LLJava.StackFrameDelta>> p)
LLJava.__Patterns
.see also the complete user documentation .