Package eu.bandm.tools.lljava.absy
Class LLJava.ObjectVType
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.VType
eu.bandm.tools.lljava.absy.LLJava.Category1VType
eu.bandm.tools.lljava.absy.LLJava.ObjectVType
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- LLJava
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":983.1-985.18, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":983.1-985.18, see this pretty print.)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionObjectVType
(String classname) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.boolean
Generated by umod because this class isALGEBRAIC
.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.Generated by umod; model author's documentation MISSING.static Pattern<LLJava.ObjectVType>
get_classname
(Pattern<? super String> p) Lifts a pattern which matches the field value to one which matches this whole object.int
hashCode()
Generated by umod because this class isALGEBRAIC
.Copies values of all common fields from the argument.toString()
with_classname
(String val) Generated by umod; model author's documentation MISSING.boolean
Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.VType
isPrimitive
-
Field Details
-
BASE_HASH
protected static final int BASE_HASH -
classname
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":984.9-41, see this pretty print.)
The type of this field is java.lang.String(never null)
It is set by every possible constructor.
-
-
Constructor Details
-
ObjectVType
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
classname
- is copied to fieldclassname
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classLLJava.Category1VType
- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classLLJava.Category1VType
- Returns:
- a format that represents this object in a pretty-printable way
-
toString
-
equals
Generated by umod because this class isALGEBRAIC
. -
x_equals
-
hashCode
public int hashCode()Generated by umod because this class isALGEBRAIC
. -
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:
initFrom
in classLLJava.Category1VType
-
get_classname
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":984.9-41, see this pretty print.)
Generated getter method. @see #classname- Returns:
- The current field value of type java.lang.String(never null)
-
with_classname
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":984.9-41, see this pretty print.)- Parameters:
val
- the new value of type java.lang.String(never null)- Returns:
- a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
- See Also:
-
get_classname
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
.
-