Package eu.bandm.tools.lljava.absy
Class Class
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.Class
- All Implemented Interfaces:
Formattable,Cloneable
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-11-24_22h23m18")
public class Class
extends Attributable
Definition of a class. This is the largest unit of
LLJava models.
Reflects the data from the "ClassFile structure", as defined in [JVM] Section 4.1. Please note that the concrete organization differs for ergonomic/semantic reasons: e.g. the "detour" through the constant pool for the field "interfaces" is only in JVM; LLJava simply has references to
(This definition has been created by UMod from
the source at SYSTEM "LLJava.umod":149.4-9, see this pretty
print.)Reflects the data from the "ClassFile structure", as defined in [JVM] Section 4.1. Please note that the concrete organization differs for ergonomic/semantic reasons: e.g. the "detour" through the constant pool for the field "interfaces" is only in JVM; LLJava simply has references to
ClassReference objects.
Contrarily, the "field_info structure" is stored inlined in JVM, but by
references
to Field objects in LLJava.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NonNullList<Field> Generated by umod; model author's documentation MISSING.protected NonNullList<InnerClass> Generated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.protected NonNullList<ClassReference> Generated by umod; model author's documentation MISSING.protected NonNullList<Method> Generated by umod; model author's documentation MISSING.protected QualIdGenerated by umod; model author's documentation MISSING.protected NonNullList<ConstantPoolEntry> Generated by umod; model author's documentation MISSING.protected @Opt ConstantUTF8Generated by umod; model author's documentation MISSING.protected ClassReferenceGenerated by umod; model author's documentation MISSING.Generated by umod; model author's documentation MISSING.protected NonNullList<TypeParameter> Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.Attributable
attrsFields inherited from class eu.bandm.tools.lljava.absy.Modifiable
annotations, modifiers -
Constructor Summary
ConstructorsConstructorDescriptionClass(QualId name, ClassReference superClass) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_fields(MATCH_ONLY_00 visitor) Deprecated.voiddescend_innerClasses(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_innerClasses(this)orvisitor.followAll_innerClasses(this)instead.voiddescend_interfaces(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_interfaces(this)orvisitor.followAll_interfaces(this)instead.voiddescend_methods(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_methods(this)orvisitor.followAll_methods(this)instead.voiddescend_pool(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_pool(this)orvisitor.followAll_pool(this)instead.voiddescend_typeParameters(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_typeParameters(this)orvisitor.followAll_typeParameters(this)instead.doclone()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_fields(Pattern<? super NonNullList<Field>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_innerClasses(Pattern<? super NonNullList<InnerClass>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_innerName(Pattern<? super @Opt Id> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_interfaces(Pattern<? super NonNullList<ClassReference>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_methods(Pattern<? super NonNullList<Method>> p) Lifts a pattern which matches the field value to one which matches this whole object.get_name()Generated by umod; model author's documentation MISSING.Lifts a pattern which matches the field value to one which matches this whole object.get_pool()Generated by umod; model author's documentation MISSING.get_pool(Pattern<? super NonNullList<ConstantPoolEntry>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_signatureEntry(Pattern<? super @Opt ConstantUTF8> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_superClass(Pattern<? super ClassReference> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_thisEntry(Pattern<? super @Opt ClassRef> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_typeParameters(Pattern<? super NonNullList<TypeParameter>> 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_fields(NonNullList<Field> val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_innerName(@Opt Id val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_methods(NonNullList<Method> val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_thisEntry(@Opt 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.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
-
name
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":154.1-5, see this pretty print.)
The type of this field isQualId(nevernull)
It is set by every possible constructor.
- See Also:
-
innerName
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":155.8-17, see this pretty print.)
The type of this field isId(maybenull)
Its value defaults tonull.
- See Also:
-
typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":156.8-22, see this pretty print.)
The type of this field isNonNullList<TypeParameter(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
superClass
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":158.1-11, see this pretty print.)
The type of this field isClassReference(nevernull)
It is set by every possible constructor.
- See Also:
-
interfaces
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":159.1-11, see this pretty print.)
The type of this field isNonNullList<ClassReference(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
fields
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":160.1-7, see this pretty print.)
The type of this field isNonNullList<Field(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
methods
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":161.1-8, see this pretty print.)
The type of this field isNonNullList<Method(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
innerClasses
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":162.8-20, see this pretty print.)
The type of this field isNonNullList<InnerClass(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
pool
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1020.1-5, see this pretty print.)
The type of this field isNonNullList<ConstantPoolEntry(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
thisEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1021.8-17, see this pretty print.)
The type of this field isClassRef(maybenull)
Its value defaults tonull.
- See Also:
-
signatureEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1022.8-22, see this pretty print.)
The type of this field isConstantUTF8(maybenull)
Its value defaults tonull.
- See Also:
-
-
Constructor Details
-
Class
Constructor defined according to directive »C 0/..«.
- Parameters:
name- is copied to fieldnamesuperClass- is copied to fieldsuperClass
-
-
Method Details
-
doclone
- Overrides:
doclonein classAttributable- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
(annotations[, , /];modifiers{$java 'FormatUtils.modifier'}[, , /],'class' name,>typeParameters['<'|',' ,'>'/] ;>'extends' superClass ;>interfaces['implements' |',' , /]);'{'/>(fields[/]/methods[/])/'}'
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 classAttributable- 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 classAttributable
-
get_name
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":154.1-5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
QualId(nevernull) - See Also:
-
set_name
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":154.1-5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeQualId(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_innerName
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":155.8-17, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Id(maybenull) - See Also:
-
set_innerName
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":155.8-17, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeId(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":156.8-22, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<TypeParameter(nevernull)>(nevernull) - See Also:
-
set_typeParameters
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":156.8-22, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<TypeParameter(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_typeParameters
Deprecated.Usevisitor.follow_typeParameters(this)orvisitor.followAll_typeParameters(this)instead. -
get_superClass
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":158.1-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
ClassReference(nevernull) - See Also:
-
set_superClass
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":158.1-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeClassReference(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_interfaces
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":159.1-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<ClassReference(nevernull)>(nevernull) - See Also:
-
set_interfaces
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":159.1-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<ClassReference(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_interfaces
Deprecated.Usevisitor.follow_interfaces(this)orvisitor.followAll_interfaces(this)instead. -
get_fields
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":160.1-7, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<Field(nevernull)>(nevernull) - See Also:
-
set_fields
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":160.1-7, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<Field(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_fields
Deprecated.Usevisitor.follow_fields(this)orvisitor.followAll_fields(this)instead. -
get_methods
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":161.1-8, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<Method(nevernull)>(nevernull) - See Also:
-
set_methods
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":161.1-8, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<Method(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_methods
Deprecated.Usevisitor.follow_methods(this)orvisitor.followAll_methods(this)instead. -
get_innerClasses
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":162.8-20, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<InnerClass(nevernull)>(nevernull) - See Also:
-
set_innerClasses
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":162.8-20, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<InnerClass(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_innerClasses
Deprecated.Usevisitor.follow_innerClasses(this)orvisitor.followAll_innerClasses(this)instead. -
get_pool
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1020.1-5, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
NonNullList<ConstantPoolEntry(nevernull)>(nevernull) - See Also:
-
set_pool
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1020.1-5, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<ConstantPoolEntry(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_pool
Deprecated.Usevisitor.follow_pool(this)orvisitor.followAll_pool(this)instead. -
get_thisEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1021.8-17, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
ClassRef(maybenull) - See Also:
-
set_thisEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1021.8-17, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeClassRef(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_signatureEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1022.8-22, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
ConstantUTF8(maybenull) - See Also:
-
set_signatureEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1022.8-22, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeConstantUTF8(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_name
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_innerName
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_typeParameters
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_superClass
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_interfaces
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_fields
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_methods
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_innerClasses
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_pool
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_thisEntry
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_signatureEntry
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.
-
visitor.follow_fields(this)orvisitor.followAll_fields(this)instead.