Package eu.bandm.tools.lljava.absy
Class Field
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.Modifiable
eu.bandm.tools.lljava.absy.Attributable
eu.bandm.tools.lljava.absy.Member
eu.bandm.tools.lljava.absy.Field
- All Implemented Interfaces:
Formattable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public class Field
extends Member
Definition of a field.
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":182.6-11, see this pretty
print.)- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionGenerated by umod; model author's documentation MISSING.protected TypeExprGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.Member
descriptorEntry, name, nameEntry, signatureEntryFields inherited from class eu.bandm.tools.lljava.absy.Attributable
attrsFields inherited from class eu.bandm.tools.lljava.absy.Modifiable
annotations, modifiers -
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.get_initializer(Pattern<? super @Opt Literal> 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.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_initializer(@Opt Literal 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.Member
get_descriptorEntry, get_descriptorEntry, get_name, get_name, get_nameEntry, get_nameEntry, get_signatureEntry, get_signatureEntry, set_descriptorEntry, set_name, set_nameEntry, set_signatureEntryMethods inherited from class eu.bandm.tools.lljava.absy.Attributable
descend_attrs, get_attrs, get_attrs, set_attrsMethods inherited from class eu.bandm.tools.lljava.absy.Modifiable
descend_annotations, descend_modifiers, get_annotations, get_annotations, get_modifiers, get_modifiers, set_annotations, set_modifiersMethods inherited from class eu.bandm.tools.lljava.absy.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":187.1-5, see this pretty print.)
The type of this field isTypeExpr(nevernull)
It is set by every possible constructor.
- See Also:
-
initializer
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":189.1-12, see this pretty print.)
The type of this field isLiteral(maybenull)
Its value defaults tonull.
- See Also:
-
-
Constructor Details
-
Field
Constructor defined according to directive »C 0/..«.
- Parameters:
type- is copied to fieldtypename- is copied to fieldMember.name
-
Field
Constructor defined according to directive »C 1/..«.
- Parameters:
type- is copied to fieldtypename- is copied to fieldMember.nameinitializer- is copied to fieldinitializer
-
-
Method Details
-
doclone
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
annotations[, , /]modifiers{$java 'FormatUtils.modifier'}[, , /],type name( '=' initializer?)';'
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 classMember- 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. -
get_type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":187.1-5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
TypeExpr(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":187.1-5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeTypeExpr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_initializer
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":189.1-12, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Literal(maybenull) - See Also:
-
set_initializer
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":189.1-12, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLiteral(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 class__Patterns. -
get_initializer
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.
-