Package eu.bandm.tools.lljava.absy
Class LLJava.ClassReference
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.ClassReference
- All Implemented Interfaces:
Formattable,Cloneable
- Enclosing class:
LLJava
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-08-17_22h53m35")
public static class LLJava.ClassReference
extends LLJava.Node
Syntactic expression referring to a class.
(This definition has been created by UMod
from the source at SYSTEM "LLJava.umod":100.1-3, see this pretty
print.)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LLJava.ClassRefGenerated by umod; model author's documentation MISSING.protected LLJava.ClassTypeExprGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
location -
Constructor Summary
ConstructorsConstructorDescriptionConstructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()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<LLJava.ClassReference> get_entry(Pattern<? super LLJava.ClassRef> p) Lifts a pattern which matches the field value to one which matches this whole object.get_type()Generated by umod; model author's documentation MISSING.static Pattern<LLJava.ClassReference> get_type(Pattern<? super LLJava.ClassTypeExpr> 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_entry(LLJava.ClassRef 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.LLJava.Node
get_location, get_location, set_location
-
Field Details
-
type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":443.9-55, see this pretty print.)
The type of this field isLLJava.ClassTypeExpr(nevernull)
It is set by every possible constructor.- See Also:
-
entry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1057.9-73, see this pretty print.)
The type of this field isLLJava.ClassRef(maybenull)
Its value defaults tonull.- See Also:
-
-
Constructor Details
-
ClassReference
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
type- is copied to fieldtype
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneableis known to be implemented.- Overrides:
doclonein classLLJava.Node- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
type
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.Node- 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.Node
-
get_type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":443.9-55, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.ClassTypeExpr(nevernull) - See Also:
-
set_type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":443.9-55, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ClassTypeExpr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_entry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1057.9-73, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.ClassRef(maybenull) - 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":1057.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ClassRef(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_type
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_entry
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.
-