public static class LLJava.Method extends LLJava.Member
| Modifier and Type | Field and Description |
|---|---|
protected LLJava.MethodBody |
body
Generated by umod; model author's documentation MISSING.
|
protected CheckedList<LLJava.ClassReference> |
exceptions
Generated by umod; model author's documentation MISSING.
|
protected CheckedList<LLJava.Parameter> |
parameters
Generated by umod; model author's documentation MISSING.
|
protected LLJava.ResultExpr |
result
Generated by umod; model author's documentation MISSING.
|
protected CheckedList<LLJava.TypeParameter> |
typeParameters
Generated by umod; model author's documentation MISSING.
|
descriptorEntry, name, nameEntry, signatureEntryattrsannotations, modifierslocationformat| Constructor and Description |
|---|
Method(LLJava.ResultExpr result,
LLJava.Id name,
LLJava.MethodBody body)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
| Modifier and Type | Method and Description |
|---|---|
void |
descend_exceptions(LLJava.MATCH_ONLY_00 visitor) |
void |
descend_parameters(LLJava.MATCH_ONLY_00 visitor) |
void |
descend_typeParameters(LLJava.MATCH_ONLY_00 visitor) |
LLJava.Method |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.MethodBody |
get_body()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Method> |
get_body(Pattern<? super LLJava.MethodBody> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedList<LLJava.ClassReference> |
get_exceptions()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Method> |
get_exceptions(Pattern<? super CheckedList<LLJava.ClassReference>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedList<LLJava.Parameter> |
get_parameters()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Method> |
get_parameters(Pattern<? super CheckedList<LLJava.Parameter>> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.ResultExpr |
get_result()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Method> |
get_result(Pattern<? super LLJava.ResultExpr> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
CheckedList<LLJava.TypeParameter> |
get_typeParameters()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Method> |
get_typeParameters(Pattern<? super CheckedList<LLJava.TypeParameter>> 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.Method |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_body(LLJava.MethodBody val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_exceptions(CheckedList<LLJava.ClassReference> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_parameters(CheckedList<LLJava.Parameter> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_result(LLJava.ResultExpr val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_typeParameters(CheckedList<LLJava.TypeParameter> val)
Generated by umod; model author's documentation MISSING.
|
get_descriptorEntry, get_descriptorEntry, get_name, get_name, get_nameEntry, get_nameEntry, get_signatureEntry, get_signatureEntry, set_descriptorEntry, set_name, set_nameEntry, set_signatureEntrydescend_attrs, get_attrs, get_attrs, set_attrsdescend_annotations, descend_modifiers, get_annotations, get_annotations, get_modifiers, get_modifiers, set_annotations, set_modifiersget_location, get_location, set_locationprotected CheckedList<LLJava.TypeParameter> typeParameters
CheckedList<LLJava.TypeParameter(never
null)>(never null)protected LLJava.ResultExpr result
LLJava.ResultExpr(never null)protected CheckedList<LLJava.Parameter> parameters
CheckedList<LLJava.Parameter(never
null)>(never null)protected CheckedList<LLJava.ClassReference> exceptions
CheckedList<LLJava.ClassReference(never
null)>(never null)protected LLJava.MethodBody body
LLJava.MethodBody(never null)public Method(LLJava.ResultExpr result, LLJava.Id name, LLJava.MethodBody body)
result - is copied to field resultname - is copied to field LLJava.Member.namebody - is copied to field bodypublic LLJava.Method doclone()
Cloneable is known
to be implemented.doclone in class LLJava.Memberpublic static String getFormatHint()
(annotations[, ,
/]modifiers{$java 'FormatUtils.modifier'}[, , /],typeParameters['<'|','
,'>' /];result name;>parameters['('|',' ,')'];>exceptions[ 'throws' |','
,/]);body public Format format()
format in interface Formattableformat in class LLJava.Memberpublic LLJava.Method initFrom(Object o0)
initFrom in class LLJava.Memberpublic CheckedList<LLJava.TypeParameter> get_typeParameters()
CheckedList<LLJava.TypeParameter(never
null)>(never null)public boolean set_typeParameters(CheckedList<LLJava.TypeParameter> val)
val - the new value of type CheckedList<LLJava.TypeParameter(never
null)>(never null)typeParameterspublic void descend_typeParameters(LLJava.MATCH_ONLY_00 visitor)
public LLJava.ResultExpr get_result()
LLJava.ResultExpr(never
null)public boolean set_result(LLJava.ResultExpr val)
val - the new value of type LLJava.ResultExpr(never null)resultpublic CheckedList<LLJava.Parameter> get_parameters()
CheckedList<LLJava.Parameter(never
null)>(never null)public boolean set_parameters(CheckedList<LLJava.Parameter> val)
val - the new value of type CheckedList<LLJava.Parameter(never
null)>(never null)parameterspublic void descend_parameters(LLJava.MATCH_ONLY_00 visitor)
public CheckedList<LLJava.ClassReference> get_exceptions()
CheckedList<LLJava.ClassReference(never
null)>(never null)public boolean set_exceptions(CheckedList<LLJava.ClassReference> val)
val - the new value of type CheckedList<LLJava.ClassReference(never
null)>(never null)exceptionspublic void descend_exceptions(LLJava.MATCH_ONLY_00 visitor)
public LLJava.MethodBody get_body()
LLJava.MethodBody(never
null)public boolean set_body(LLJava.MethodBody val)
val - the new value of type LLJava.MethodBody(never null)bodypublic static Pattern<LLJava.Method> get_typeParameters(Pattern<? super CheckedList<LLJava.TypeParameter>> p)
LLJava.__Patterns.public static Pattern<LLJava.Method> get_result(Pattern<? super LLJava.ResultExpr> p)
LLJava.__Patterns.public static Pattern<LLJava.Method> get_parameters(Pattern<? super CheckedList<LLJava.Parameter>> p)
LLJava.__Patterns.public static Pattern<LLJava.Method> get_exceptions(Pattern<? super CheckedList<LLJava.ClassReference>> p)
LLJava.__Patterns.public static Pattern<LLJava.Method> get_body(Pattern<? super LLJava.MethodBody> p)
LLJava.__Patterns.see also the complete user documentation .