Package eu.bandm.tools.lljava.absy
Class Wildcard
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.TypeArgument
eu.bandm.tools.lljava.absy.Wildcard
- All Implemented Interfaces:
Formattable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public class Wildcard
extends TypeArgument
Syntactic expression denoting a wildcard type.
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":371.2-10, see this pretty
print.)-
Field Summary
FieldsModifier and TypeFieldDescriptionGenerated by umod; model author's documentation MISSING.The raw type represented by the upper bound of this wildcard type specification.Fields inherited from class eu.bandm.tools.lljava.absy.TypeArgument
annotations -
Constructor Summary
Constructors -
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.Lifts a pattern which matches the field value to one which matches this whole object.The raw type represented by the upper bound of this wildcard type specification.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.booleanset_erasure(Type val) The raw type represented by the upper bound of this wildcard type specification.Methods inherited from class eu.bandm.tools.lljava.absy.TypeArgument
descend_annotations, get_annotations, get_annotations, get_erasure, set_annotationsMethods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
bound
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":374.8-13, see this pretty print.)
The type of this field isTypeBound(maybenull)
Its value defaults tonull.
- See Also:
-
erasure
The raw type represented by the upper bound of this wildcard type specification.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1051.8-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
The type of this field isRefType(maybenull)
Its value defaults tonull.
- See Also:
-
-
Constructor Details
-
Wildcard
Constructor defined according to directive »C 0/..«.
- Parameters:
bound- is copied to fieldbound
-
Wildcard
public Wildcard()Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
(All object fields are set to their default values.)
-
-
Method Details
-
doclone
- Overrides:
doclonein classTypeArgument- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
annotations[, , /],'?'( bound?)
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 classTypeArgument- 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 classTypeArgument
-
get_bound
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":374.8-13, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
TypeBound(maybenull) - See Also:
-
set_bound
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":374.8-13, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeTypeBound(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_erasure
The raw type represented by the upper bound of this wildcard type specification.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1051.8-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Generated getter method.- Overrides:
get_erasurein classTypeArgument- Returns:
- The current field value of type
RefType(maybenull) - See Also:
-
set_erasure
The raw type represented by the upper bound of this wildcard type specification.(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1051.8-15, see this pretty print.)This is an elaboration field that is set during semantic analysis.
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeRefType(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_bound
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.
-