public static class LLJava.Field extends LLJava.Member
| Modifier and Type | Field and Description |
|---|---|
protected LLJava.Literal |
initializer
Generated by umod; model author's documentation MISSING.
|
protected LLJava.TypeExpr |
type
Generated by umod; model author's documentation MISSING.
|
descriptorEntry, name, nameEntry, signatureEntryattrsannotations, modifierslocationformat| Constructor and Description |
|---|
Field(LLJava.TypeExpr type,
LLJava.Id name)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Field(LLJava.TypeExpr type,
LLJava.Id name,
LLJava.Literal initializer)
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..". |
| Modifier and Type | Method and Description |
|---|---|
LLJava.Field |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.Literal |
get_initializer()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Field> |
get_initializer(Pattern<? super LLJava.Literal> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.TypeExpr |
get_type()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Field> |
get_type(Pattern<? super LLJava.TypeExpr> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
LLJava.Field |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_initializer(LLJava.Literal val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_type(LLJava.TypeExpr val)
Generated by umod; model author's documentation MISSING.
|
get_descriptorEntry, get_descriptorEntry, get_name, get_name, get_nameEntry, get_nameEntry, get_signatureEntry, get_signatureEntry, set_descriptorEntry, set_name, set_nameEntry, set_signatureEntrydescend_attrs, get_attrs, get_attrs, set_attrsdescend_annotations, descend_modifiers, get_annotations, get_annotations, get_modifiers, get_modifiers, set_annotations, set_modifiersget_location, get_location, set_locationprotected LLJava.TypeExpr type
LLJava.TypeExpr(never null)protected LLJava.Literal initializer
LLJava.Literal(maybe null)public Field(LLJava.TypeExpr type, LLJava.Id name)
type - is copied to field typename - is copied to field LLJava.Member.namepublic Field(LLJava.TypeExpr type, LLJava.Id name, LLJava.Literal initializer)
type - is copied to field typename - is copied to field LLJava.Member.nameinitializer - is copied to field initializerpublic LLJava.Field doclone()
Cloneable is known
to be implemented.doclone in class LLJava.Memberpublic static String getFormatHint()
annotations[, ,
/]modifiers{$java 'FormatUtils.modifier'}[, , /],type name( '='
initializer?)';' public Format format()
format in interface Formattableformat in class LLJava.Memberpublic LLJava.Field initFrom(Object o0)
initFrom in class LLJava.Memberpublic LLJava.TypeExpr get_type()
LLJava.TypeExpr(never
null)public boolean set_type(LLJava.TypeExpr val)
val - the new value of type LLJava.TypeExpr(never null)typepublic LLJava.Literal get_initializer()
LLJava.Literal(maybe
null)public boolean set_initializer(LLJava.Literal val)
val - the new value of type LLJava.Literal(maybe null)initializerpublic static Pattern<LLJava.Field> get_type(Pattern<? super LLJava.TypeExpr> p)
LLJava.__Patterns.public static Pattern<LLJava.Field> get_initializer(Pattern<? super LLJava.Literal> p)
LLJava.__Patterns.see also the complete user documentation .