Package eu.bandm.tools.lljava.absy
Class LLJava.Class
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.Modifiable
eu.bandm.tools.lljava.absy.LLJava.Attributable
eu.bandm.tools.lljava.absy.LLJava.Class
- All Implemented Interfaces:
Formattable,Cloneable
- Enclosing class:
LLJava
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-08-17_22h53m35")
public static class LLJava.Class
extends LLJava.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.1-168.16, 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
LLJava.ClassReference objects.
Contrarily, the "field_info structure" is stored inlined in JVM, but by
references
to LLJava.Field objects in LLJava.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CheckedList<LLJava.Field> Generated by umod; model author's documentation MISSING.protected CheckedList<LLJava.InnerClass> Generated by umod; model author's documentation MISSING.protected LLJava.IdGenerated by umod; model author's documentation MISSING.protected CheckedList<LLJava.ClassReference> Generated by umod; model author's documentation MISSING.protected CheckedList<LLJava.Method> Generated by umod; model author's documentation MISSING.protected LLJava.QualIdGenerated by umod; model author's documentation MISSING.protected CheckedList<LLJava.ConstantPoolEntry> Generated by umod; model author's documentation MISSING.protected LLJava.ConstantUTF8Generated by umod; model author's documentation MISSING.protected LLJava.ClassReferenceGenerated by umod; model author's documentation MISSING.protected LLJava.ClassRefGenerated by umod; model author's documentation MISSING.protected CheckedList<LLJava.TypeParameter> Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.LLJava.Attributable
attrsFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Modifiable
annotations, modifiersFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
location -
Constructor Summary
ConstructorsConstructorDescriptionClass(LLJava.QualId name, LLJava.ClassReference superClass) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptionvoiddescend_fields(LLJava.MATCH_ONLY_00 visitor) Deprecated.voiddescend_innerClasses(LLJava.MATCH_ONLY_00 visitor) Deprecated.voiddescend_interfaces(LLJava.MATCH_ONLY_00 visitor) Deprecated.voiddescend_methods(LLJava.MATCH_ONLY_00 visitor) Deprecated.voiddescend_pool(LLJava.MATCH_ONLY_00 visitor) Deprecated.voidDeprecated.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.static Pattern<LLJava.Class> get_fields(Pattern<? super CheckedList<LLJava.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.static Pattern<LLJava.Class> get_innerClasses(Pattern<? super CheckedList<LLJava.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.static Pattern<LLJava.Class> get_innerName(Pattern<? super LLJava.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.static Pattern<LLJava.Class> get_interfaces(Pattern<? super CheckedList<LLJava.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.static Pattern<LLJava.Class> get_methods(Pattern<? super CheckedList<LLJava.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.static Pattern<LLJava.Class> get_name(Pattern<? super LLJava.QualId> p) 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.static Pattern<LLJava.Class> get_pool(Pattern<? super CheckedList<LLJava.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.static Pattern<LLJava.Class> get_signatureEntry(Pattern<? super LLJava.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.static Pattern<LLJava.Class> get_superClass(Pattern<? super LLJava.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.static Pattern<LLJava.Class> get_thisEntry(Pattern<? super LLJava.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.static Pattern<LLJava.Class> get_typeParameters(Pattern<? super CheckedList<LLJava.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.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanset_innerName(LLJava.Id 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.booleanset_name(LLJava.QualId 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.booleanGenerated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.Attributable
descend_attrs, get_attrs, get_attrs, set_attrsMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.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.LLJava.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.9-79, see this pretty print.)
The type of this field isLLJava.QualId(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.9-28, see this pretty print.)
The type of this field isLLJava.Id(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.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.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":157.9-79, see this pretty print.)
The type of this field isLLJava.ClassReference(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":158.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.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":159.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.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":160.9-79, see this pretty print.)
The type of this field isCheckedList<LLJava.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":161.9-28, see this pretty print.)
The type of this field isCheckedList<LLJava.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":1018.9-73, see this pretty print.)
The type of this field isCheckedList<LLJava.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":1019.9-73, see this pretty print.)
The type of this field isLLJava.ClassRef(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":1020.9-73, see this pretty print.)
The type of this field isLLJava.ConstantUTF8(maybenull)
Its value defaults tonull.- See Also:
-
-
Constructor Details
-
Class
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
name- is copied to fieldnamesuperClass- is copied to fieldsuperClass
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneableis known to be implemented.- Overrides:
doclonein classLLJava.Attributable- 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 classLLJava.Attributable- 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 classLLJava.Attributable
-
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.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.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.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.QualId(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.9-28, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.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.9-28, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.Id(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.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.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.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.TypeParameter(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_typeParameters
Deprecated. -
get_superClass
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":157.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.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":157.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ClassReference(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":158.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.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":158.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.ClassReference(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_interfaces
Deprecated. -
get_fields
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":159.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.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":159.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.Field(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_fields
Deprecated. -
get_methods
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":160.9-79, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.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":160.9-79, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.Method(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_methods
Deprecated. -
get_innerClasses
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":161.9-28, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.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":161.9-28, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.InnerClass(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_innerClasses
Deprecated. -
get_pool
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1018.9-73, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList<LLJava.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":1018.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCheckedList<LLJava.ConstantPoolEntry(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_pool
Deprecated. -
get_thisEntry
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1019.9-73, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.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":1019.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ClassRef(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":1020.9-73, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
LLJava.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":1020.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ConstantUTF8(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 classLLJava.__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 classLLJava.__Patterns. -
get_typeParameters
public static Pattern<LLJava.Class> get_typeParameters(Pattern<? super CheckedList<LLJava.TypeParameter>> p) 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_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 classLLJava.__Patterns. -
get_interfaces
public static Pattern<LLJava.Class> get_interfaces(Pattern<? super CheckedList<LLJava.ClassReference>> p) 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_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 classLLJava.__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 classLLJava.__Patterns. -
get_innerClasses
public static Pattern<LLJava.Class> get_innerClasses(Pattern<? super CheckedList<LLJava.InnerClass>> p) 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_pool
public static Pattern<LLJava.Class> get_pool(Pattern<? super CheckedList<LLJava.ConstantPoolEntry>> p) 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_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 classLLJava.__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 classLLJava.__Patterns.
-