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
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
Modifier 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
ConstructorDescriptionConstructor 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":310.9-83, see this pretty print.)
The type of this field isLLJava.ReferenceTypeExpr
(never null)
It is set by every possible constructor. -
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":1030.9-1031.13, see this pretty print.)ContextChecker
.
The type of this field isLLJava.Type
(maybe null)
Its value defaults to null.
-
-
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":310.9-83, see this pretty print.)
Generated getter method. @see #limit- Returns:
- The current field value of type
LLJava.ReferenceTypeExpr
(never null)
-
set_limit
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":310.9-83, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.ReferenceTypeExpr
(never null)- 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":1030.9-1031.13, see this pretty print.)ContextChecker
.
Generated getter method. @see #erasure- Returns:
- The current field value of type
LLJava.Type
(maybe null)
-
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":1030.9-1031.13, see this pretty print.)ContextChecker
.
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeLLJava.Type
(maybe null)- 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
.
-