public static class LLJava.ConstantAnnotationValue extends LLJava.AnnotationValue
String
literal.
Modifier and Type | Field and Description |
---|---|
protected LLJava.Literal |
literal
Generated by umod; model author's documentation MISSING.
|
location
format
Constructor and Description |
---|
ConstantAnnotationValue(LLJava.Literal literal)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
LLJava.ConstantAnnotationValue |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.Literal |
get_literal()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.ConstantAnnotationValue> |
get_literal(Pattern<? super LLJava.Literal> 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.ConstantAnnotationValue |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_literal(LLJava.Literal val)
Generated by umod; model author's documentation MISSING.
|
get_location, get_location, set_location
protected LLJava.Literal literal
LLJava.Literal
(never null)public ConstantAnnotationValue(LLJava.Literal literal)
literal
- is copied to field literal
public LLJava.ConstantAnnotationValue doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.AnnotationValue
public static String getFormatHint()
literal
public Format format()
format
in interface Formattable
format
in class LLJava.AnnotationValue
public LLJava.ConstantAnnotationValue initFrom(Object o0)
initFrom
in class LLJava.AnnotationValue
public LLJava.Literal get_literal()
LLJava.Literal
(never
null)public boolean set_literal(LLJava.Literal val)
val
- the new value of type LLJava.Literal
(never null)literal
public static Pattern<LLJava.ConstantAnnotationValue> get_literal(Pattern<? super LLJava.Literal> p)
LLJava.__Patterns
.see also the complete user documentation .