Package eu.bandm.tools.lljava.absy
Class Method
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.Modifiable
eu.bandm.tools.lljava.absy.Attributable
eu.bandm.tools.lljava.absy.Member
eu.bandm.tools.lljava.absy.Method
- All Implemented Interfaces:
Formattable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public class Method
extends Member
Definition of a method.
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":196.6-12, see this pretty
print.)- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MethodBodyGenerated by umod; model author's documentation MISSING.protected NonNullList<ClassReference> Generated by umod; model author's documentation MISSING.protected NonNullList<Parameter> Generated by umod; model author's documentation MISSING.protected ResultExprGenerated by umod; model author's documentation MISSING.protected NonNullList<TypeParameter> Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.Member
descriptorEntry, name, nameEntry, signatureEntryFields inherited from class eu.bandm.tools.lljava.absy.Attributable
attrsFields inherited from class eu.bandm.tools.lljava.absy.Modifiable
annotations, modifiers -
Constructor Summary
ConstructorsConstructorDescriptionMethod(ResultExpr result, Id name, MethodBody body) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_exceptions(MATCH_ONLY_00 visitor) Deprecated.voiddescend_parameters(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_parameters(this)orvisitor.followAll_parameters(this)instead.voiddescend_typeParameters(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_typeParameters(this)orvisitor.followAll_typeParameters(this)instead.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.get_body(Pattern<? super 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.get_exceptions(Pattern<? super NonNullList<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.get_parameters(Pattern<? super NonNullList<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.get_result(Pattern<? super 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.get_typeParameters(Pattern<? super NonNullList<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.booleanset_body(MethodBody val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_result(ResultExpr val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.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.Attributable
descend_attrs, get_attrs, get_attrs, set_attrsMethods inherited from class eu.bandm.tools.lljava.absy.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.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":201.8-22, see this pretty print.)
The type of this field isNonNullList<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":202.1-7, see this pretty print.)
The type of this field isResultExpr(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":204.1-11, see this pretty print.)
The type of this field isNonNullList<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":205.1-11, see this pretty print.)
The type of this field isNonNullList<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":206.1-5, see this pretty print.)
The type of this field isMethodBody(nevernull)
It is set by every possible constructor.
- See Also:
-
-
Constructor Details
-
Method
Constructor defined according to directive »C 0/..«.
- Parameters:
result- is copied to fieldresultname- is copied to fieldMember.namebody- is copied to fieldbody
-
-
Method Details
-
doclone
-
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 classMember- 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. -
get_typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":201.8-22, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<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":201.8-22, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<TypeParameter(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_typeParameters
Deprecated.Usevisitor.follow_typeParameters(this)orvisitor.followAll_typeParameters(this)instead. -
get_result
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":202.1-7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
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":202.1-7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeResultExpr(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":204.1-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<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":204.1-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<Parameter(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_parameters
Deprecated.Usevisitor.follow_parameters(this)orvisitor.followAll_parameters(this)instead. -
get_exceptions
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":205.1-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<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":205.1-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<ClassReference(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_exceptions
Deprecated.Usevisitor.follow_exceptions(this)orvisitor.followAll_exceptions(this)instead. -
get_body
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":206.1-5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
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":206.1-5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeMethodBody(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_typeParameters
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_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 class__Patterns. -
get_parameters
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_exceptions
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_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 class__Patterns.
-
visitor.follow_exceptions(this)orvisitor.followAll_exceptions(this)instead.