Package eu.bandm.tools.lljava.absy
Class LLJava.New
- All Implemented Interfaces:
Formattable,Cloneable
- Enclosing class:
LLJava
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2025-08-17_22h53m35")
public static class LLJava.New
extends LLJava.TypeInstruction
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":604.1-607.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":604.1-607.16, see this pretty print.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intGenerated by umod; model author's documentation MISSING.protected LLJava.ReferenceTypeExprGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.LLJava.TypeInstruction
entryFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Instruction
post, preFields inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
location -
Constructor Summary
ConstructorsConstructorDescriptionNew(LLJava.ReferenceTypeExpr type) Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".New(LLJava.ReferenceTypeExpr type, int multiarray) Constructor 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, as specified in the umod source.intGenerated by umod; model author's documentation MISSING.static Pattern<LLJava.New> get_multiarray(Pattern<? super Integer> 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.static StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.booleanset_multiarray(int val) Generated by umod; model author's documentation MISSING.booleanset_type(LLJava.TypeExpr val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.TypeInstruction
get_entry, get_entry, get_type, set_entryMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.Instruction
get_post, get_post, get_pre, get_pre, set_post, set_preMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.Statement
toStringMethods inherited from class eu.bandm.tools.lljava.absy.LLJava.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":605.9-59, see this pretty print.)
The type of this field isLLJava.ReferenceTypeExpr(nevernull)
It is set by every possible constructor.- See Also:
-
multiarray
protected int multiarrayGenerated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":606.9-49, see this pretty print.)
The type of this field is int(nevernull)
Its value defaults to0.- See Also:
-
-
Constructor Details
-
New
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
type- is copied to fieldtypemultiarray- is copied to fieldmultiarray
-
New
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".- Parameters:
type- is copied to fieldtype
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneableis known to be implemented.- Overrides:
doclonein classLLJava.TypeInstruction- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
'new' type
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.TypeInstruction- 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.TypeInstruction
-
get_type
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":605.9-59, see this pretty print.)
Generated getter method.- Overrides:
get_typein classLLJava.TypeInstruction- Returns:
- The current field value of type
LLJava.ReferenceTypeExpr(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":605.9-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLLJava.ReferenceTypeExpr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_multiarray
public int get_multiarray()Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":606.9-49, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type int(never
null) - See Also:
-
set_multiarray
public boolean set_multiarray(int val) Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":606.9-49, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of type int(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_multiarray
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.
-