public static class LLJava.Try extends LLJava.Instruction
Modifier and Type | Field and Description |
---|---|
protected LLJava.CodeInterval |
body
Generated by umod; model author's documentation MISSING.
|
protected CheckedList<LLJava.Handler> |
handlers
Generated by umod; model author's documentation MISSING.
|
post, pre
location
format
Constructor and Description |
---|
Try(LLJava.CodeInterval body)
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..". |
Try(LLJava.CodeInterval body,
CheckedList<LLJava.Handler> handlers)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
void |
descend_handlers(LLJava.MATCH_ONLY_00 visitor) |
LLJava.Try |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.CodeInterval |
get_body()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Try> |
get_body(Pattern<? super LLJava.CodeInterval> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedList<LLJava.Handler> |
get_handlers()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Try> |
get_handlers(Pattern<? super CheckedList<LLJava.Handler>> 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.Try |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_body(LLJava.CodeInterval val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_handlers(CheckedList<LLJava.Handler> val)
Generated by umod; model author's documentation MISSING.
|
get_post, get_post, get_pre, get_pre, set_post, set_pre
toString
get_location, get_location, set_location
protected LLJava.CodeInterval body
LLJava.CodeInterval
(never null)protected CheckedList<LLJava.Handler> handlers
CheckedList
<LLJava.Handler
(never
null)>(never null)public Try(LLJava.CodeInterval body, CheckedList<LLJava.Handler> handlers)
public Try(LLJava.CodeInterval body)
body
- is copied to field body
public LLJava.Try doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.Instruction
public static String getFormatHint()
'try' ;body/handlers[/]
public Format format()
format
in interface Formattable
format
in class LLJava.Instruction
public LLJava.Try initFrom(Object o0)
initFrom
in class LLJava.Instruction
public LLJava.CodeInterval get_body()
LLJava.CodeInterval
(never
null)public boolean set_body(LLJava.CodeInterval val)
val
- the new value of type LLJava.CodeInterval
(never
null)body
public CheckedList<LLJava.Handler> get_handlers()
CheckedList
<LLJava.Handler
(never
null)>(never null)public boolean set_handlers(CheckedList<LLJava.Handler> val)
val
- the new value of type CheckedList
<LLJava.Handler
(never
null)>(never null)handlers
public void descend_handlers(LLJava.MATCH_ONLY_00 visitor)
public static Pattern<LLJava.Try> get_body(Pattern<? super LLJava.CodeInterval> p)
LLJava.__Patterns
.public static Pattern<LLJava.Try> get_handlers(Pattern<? super CheckedList<LLJava.Handler>> p)
LLJava.__Patterns
.see also the complete user documentation .