Package eu.bandm.tools.lljava.absy
Class LLJava.MethodReference
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.MemberReference
eu.bandm.tools.lljava.absy.LLJava.MethodReference
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- LLJava
Syntactic expression denoting a method reference.
(This definition has been created by UMod
from the source at SYSTEM "LLJava.umod":728.1-736.16, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Generated by umod; model author's documentation MISSING.protected LLJava.InvokeDynamic
Generated by umod; model author's documentation MISSING.protected LLJava.AbstractMethodRef
Generated by umod; model author's documentation MISSING.protected LLJava.MemberFullName
Generated by umod; model author's documentation MISSING.protected CheckedList<LLJava.MethodReferenceParameter>
Generated by umod; model author's documentation MISSING.protected LLJava.ResultExpr
Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
location
-
Constructor Summary
ConstructorDescriptionMethodReference
(LLJava.ResultExpr result, LLJava.MemberFullName fullName) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptionvoid
descend_parameters
(LLJava.MATCH_ONLY_00 visitor) Deprecated.doclone()
Clones this object.format()
Delivers a format object for pretty-printing, as specified in the umod source.boolean
Generated by umod; model author's documentation MISSING.static Pattern<LLJava.MethodReference>
get_asInterface
(Pattern<? super Boolean> 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.MethodReference>
get_dynamicEntry
(Pattern<? super LLJava.InvokeDynamic> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.static Pattern<LLJava.MethodReference>
get_parameters
(Pattern<? super CheckedList<LLJava.MethodReferenceParameter>> 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.MethodReference>
get_result
(Pattern<? super LLJava.ResultExpr> p) Lifts a pattern which matches the field value to one which matches this whole object.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.boolean
set_asInterface
(boolean val) Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.MemberReference
get_entry, get_fullName
Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
get_location, get_location, set_location
-
Field Details
-
asInterface
protected boolean asInterfaceGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":731.9-32, see this pretty print.)
The type of this field is boolean(never null)
Its value defaults tofalse
.- 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":732.9-79, see this pretty print.)
The type of this field isLLJava.ResultExpr
(never null)
It is set by every possible constructor. -
fullName
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":733.9-79, see this pretty print.)
The type of this field isLLJava.MemberFullName
(never null)
It is set by every possible constructor. -
parameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":734.9-79, see this pretty print.)
The type of this field isCheckedList
<LLJava.MethodReferenceParameter
(never null)>(never null)
Its value defaults to an empty collection. -
entry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1140.9-73, see this pretty print.)
The type of this field isLLJava.AbstractMethodRef
(maybe null)
Its value defaults to null. -
dynamicEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1141.9-73, see this pretty print.)
The type of this field isLLJava.InvokeDynamic
(maybe null)
Its value defaults to null.
-
-
Constructor Details
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classLLJava.MemberReference
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
result ,>fullName,parameters['('|',' ,')']
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:
format
in interfaceFormattable
- Overrides:
format
in classLLJava.MemberReference
- 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:
initFrom
in classLLJava.MemberReference
-
get_asInterface
public boolean get_asInterface()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":731.9-32, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type boolean(never null)
- See Also:
-
set_asInterface
public boolean set_asInterface(boolean val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":731.9-32, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of type boolean(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_result
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":732.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.ResultExpr
(never null) - 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":732.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.ResultExpr
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_fullName
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":733.9-79, see this pretty print.)
Generated getter method.- Overrides:
get_fullName
in classLLJava.MemberReference
- Returns:
- The current field value of type
LLJava.MemberFullName
(never null) - See Also:
-
set_fullName
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":733.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.MemberFullName
(never null)- 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":734.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<LLJava.MethodReferenceParameter
(never null)>(never null) - 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":734.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<LLJava.MethodReferenceParameter
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_parameters
Deprecated. -
get_entry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1140.9-73, see this pretty print.)
Generated getter method.- Overrides:
get_entry
in classLLJava.MemberReference
- Returns:
- The current field value of type
LLJava.AbstractMethodRef
(maybe null) - See Also:
-
set_entry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1140.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.AbstractMethodRef
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_dynamicEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1141.9-73, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.InvokeDynamic
(maybe null) - See Also:
-
set_dynamicEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1141.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.InvokeDynamic
(maybe null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_asInterface
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.MethodReference> get_parameters(Pattern<? super CheckedList<LLJava.MethodReferenceParameter>> 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_dynamicEntry
public static Pattern<LLJava.MethodReference> get_dynamicEntry(Pattern<? super LLJava.InvokeDynamic> 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
.
-