Package eu.bandm.tools.lljava.absy
Class LLJava.TypeBound
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.TypeBound
- All Implemented Interfaces:
Formattable
,Cloneable
- Direct Known Subclasses:
LLJava.LowerTypeBound
,LLJava.UpperTypeBound
- Enclosing class:
LLJava
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-03-02_11h56m45")
public abstract static class LLJava.TypeBound
extends LLJava.Node
Specification of a type bound.
(This definition has been created by UMod
from the source at SYSTEM "LLJava.umod":114.1-3, see this pretty
print.)-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LLJava.Type
The raw type represented by this type bound specification.protected LLJava.ReferenceTypeExpr
Generated 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 by inheritance from some ancestor class.The raw type represented by this type bound specification.static Pattern
<LLJava.TypeBound> get_erasure
(Pattern<? super LLJava.Type> 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.TypeBound> get_limit
(Pattern<? super LLJava.ReferenceTypeExpr> p) Lifts a pattern which matches the field value to one which matches this whole object.Copies values of all common fields from the argument.boolean
set_erasure
(LLJava.Type val) The raw type represented by this type bound specification.boolean
Generated 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
-
limit
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":312.9-83, see this pretty print.)
The type of this field isLLJava.ReferenceTypeExpr
(nevernull
)
It is set by every possible constructor.- See Also:
-
erasure
The raw type represented by this type bound specification. This field is set by the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1032.9-1033.13, see this pretty print.)ContextChecker
.
The type of this field isLLJava.Type
(maybenull
)
Its value defaults tonull
.- See Also:
-
-
Constructor Details
-
TypeBound
Constructor generated according to specification #0
Constructor defined according to directive "C 0/.."
.- Parameters:
limit
- is copied to fieldlimit
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classLLJava.Node
- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in 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:
initFrom
in classLLJava.Node
-
get_limit
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":312.9-83, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.ReferenceTypeExpr
(nevernull
) - See Also:
-
set_limit
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":312.9-83, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.ReferenceTypeExpr
(nevernull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_erasure
The raw type represented by this type bound specification. This field is set by the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1032.9-1033.13, see this pretty print.)ContextChecker
.
Generated getter method.- Returns:
- The current field value of type
LLJava.Type
(maybenull
) - See Also:
-
set_erasure
The raw type represented by this type bound specification. This field is set by the(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1032.9-1033.13, see this pretty print.)ContextChecker
.
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.Type
(maybenull
)- Returns:
- whether a change (w.r.t.
==
) did actually happen. - See Also:
-
get_limit
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_erasure
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
.
-