Package eu.bandm.tools.lljava.absy
Class MemberDynamicName
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.MemberFullName
eu.bandm.tools.lljava.absy.MemberDynamicName
- All Implemented Interfaces:
Formattable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public class MemberDynamicName
extends MemberFullName
Syntactic expression denoting the name of a field or
method
with dynamic owner. Note that Java 8 only supports
dynamic methods, but dynamic fields are likewise supported as
of Java 11.
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":756.2-19, see this pretty
print.)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NonNullList<LoadableExpr> Generated by umod; model author's documentation MISSING.protected MethodHandleExprGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.MemberFullName
name -
Constructor Summary
ConstructorsConstructorDescriptionMemberDynamicName(Id name, MethodHandleExpr factory) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
MemberDynamicName(Id name, MethodHandleExpr factory, NonNullList<LoadableExpr> bootstrapArguments) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_bootstrapArguments(MATCH_ONLY_00 visitor) Deprecated.doclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.Generated by umod; model author's documentation MISSING.static Pattern<MemberDynamicName> get_bootstrapArguments(Pattern<? super NonNullList<LoadableExpr>> 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<MemberDynamicName> get_factory(Pattern<? super MethodHandleExpr> 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.Methods inherited from class eu.bandm.tools.lljava.absy.MemberFullName
get_name, get_name, set_nameMethods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
factory
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":762.8-15, see this pretty print.)
The type of this field isMethodHandleExpr(nevernull)
It is set by every possible constructor.
- See Also:
-
bootstrapArguments
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":763.8-26, see this pretty print.)
The type of this field isNonNullList<LoadableExpr(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
-
Constructor Details
-
MemberDynamicName
public MemberDynamicName(Id name, MethodHandleExpr factory, NonNullList<LoadableExpr> bootstrapArguments) Constructor defined according to directive »C 0/..«.
- Parameters:
name- is copied to fieldMemberFullName.namefactory- is copied to fieldfactorybootstrapArguments- is copied to fieldbootstrapArguments
-
MemberDynamicName
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
- Parameters:
name- is copied to fieldMemberFullName.namefactory- is copied to fieldfactory
-
-
Method Details
-
doclone
- Overrides:
doclonein classMemberFullName- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
factory ;bootstrapArguments['('|',' ,')'];'.'name
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 classMemberFullName- 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 classMemberFullName
-
get_factory
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":762.8-15, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
MethodHandleExpr(nevernull) - See Also:
-
set_factory
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":762.8-15, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeMethodHandleExpr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_bootstrapArguments
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":763.8-26, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<LoadableExpr(nevernull)>(nevernull) - See Also:
-
set_bootstrapArguments
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":763.8-26, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<LoadableExpr(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_bootstrapArguments
Deprecated.Usevisitor.follow_bootstrapArguments(this)orvisitor.followAll_bootstrapArguments(this)instead. -
get_factory
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_bootstrapArguments
public static Pattern<MemberDynamicName> get_bootstrapArguments(Pattern<? super NonNullList<LoadableExpr>> 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 class__Patterns.
-
visitor.follow_bootstrapArguments(this)orvisitor.followAll_bootstrapArguments(this)instead.