Package eu.bandm.tools.lljava.absy
Class LLJava.Method
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.Modifiable
eu.bandm.tools.lljava.absy.LLJava.Attributable
eu.bandm.tools.lljava.absy.LLJava.Member
eu.bandm.tools.lljava.absy.LLJava.Method
- All Implemented Interfaces:
Formattable,Cloneable
- Enclosing class:
LLJava
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-08-17_22h53m35")
public static class LLJava.Method
extends LLJava.Member
Definition of a method.
(This definition has been created by UMod
from the source at SYSTEM "LLJava.umod":194.1-212.16, see this pretty
print.)- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LLJava.MethodBodyGenerated by umod; model author's documentation MISSING.protected CheckedList<LLJava.ClassReference> Generated by umod; model author's documentation MISSING.protected CheckedList<LLJava.Parameter> Generated by umod; model author's documentation MISSING.protected LLJava.ResultExprGenerated by umod; model author's documentation MISSING.protected CheckedList<LLJava.TypeParameter> Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.LLJava.Member
descriptorEntry, name, nameEntry, signatureEntryFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Attributable
attrsFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Modifiable
annotations, modifiersFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
location -
Constructor Summary
ConstructorsConstructorDescriptionMethod(LLJava.ResultExpr result, LLJava.Id name, LLJava.MethodBody body) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_exceptions(LLJava.MATCH_ONLY_00 visitor) Deprecated.voiddescend_parameters(LLJava.MATCH_ONLY_00 visitor) Deprecated.voidDeprecated.doclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.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.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.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.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.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 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.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.Member
get_descriptorEntry, get_descriptorEntry, get_name, get_name, get_nameEntry, get_nameEntry, get_signatureEntry, get_signatureEntry, set_descriptorEntry, set_name, set_nameEntry, set_signatureEntryMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.Attributable
descend_attrs, get_attrs, get_attrs, set_attrsMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.Modifiable
descend_annotations, descend_modifiers, get_annotations, get_annotations, get_modifiers, get_modifiers, set_annotations, set_modifiersMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
get_location, get_location, set_location
-
Field Details
-
typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":199.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.TypeParameter(nevernull)>(nevernull)
Its value defaults to an empty collection.- See Also:
-
result
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":200.9-79, see this pretty print.)
The type of this field isLLJava.ResultExpr(nevernull)
It is set by every possible constructor.- See Also:
-
parameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":202.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.Parameter(nevernull)>(nevernull)
Its value defaults to an empty collection.- See Also:
-
exceptions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":203.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.ClassReference(nevernull)>(nevernull)
Its value defaults to an empty collection.- See Also:
-
body
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":204.9-79, see this pretty print.)
The type of this field isLLJava.MethodBody(nevernull)
It is set by every possible constructor.- See Also:
-
-
Constructor Details
-
Method
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
result- is copied to fieldresultname- is copied to fieldLLJava.Member.namebody- is copied to fieldbody
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneableis known to be implemented.- Overrides:
doclonein classLLJava.Member- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
(annotations[, , /]modifiers{$java 'FormatUtils.modifier'}[, , /],typeParameters['<'|',' ,'>' /];result name;>parameters['('|',' ,')'];>exceptions[ 'throws' |',' ,/]);body
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 classLLJava.Member- 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 classLLJava.Member
-
get_typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":199.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.TypeParameter(nevernull)>(nevernull) - See Also:
-
set_typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":199.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.TypeParameter(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_typeParameters
Deprecated. -
get_result
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":200.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.ResultExpr(nevernull) - See Also:
-
set_result
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":200.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ResultExpr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_parameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":202.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.Parameter(nevernull)>(nevernull) - See Also:
-
set_parameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":202.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.Parameter(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_parameters
Deprecated. -
get_exceptions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":203.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.ClassReference(nevernull)>(nevernull) - See Also:
-
set_exceptions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":203.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.ClassReference(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_exceptions
Deprecated. -
get_body
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":204.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.MethodBody(nevernull) - See Also:
-
set_body
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":204.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.MethodBody(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_typeParameters
public 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.
More complex pattern methods are generated in the one ancillary classLLJava.__Patterns. -
get_result
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 classLLJava.__Patterns. -
get_parameters
public 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.
More complex pattern methods are generated in the one ancillary classLLJava.__Patterns. -
get_exceptions
public 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.
More complex pattern methods are generated in the one ancillary classLLJava.__Patterns. -
get_body
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 classLLJava.__Patterns.
-