public static class LLJava.Parameter extends LLJava.Modifiable
Modifier and Type | Field and Description |
---|---|
protected LLJava.Name |
name
Generated by umod; model author's documentation MISSING.
|
protected LLJava.TypeExpr |
type
Generated by umod; model author's documentation MISSING.
|
protected LLJava.Variable |
variable
The variable represented by this parameter
specification.
|
annotations, modifiers
location
format
Constructor and Description |
---|
Parameter(LLJava.TypeExpr type)
Synthetic minimal constructor provided by the umod compiler.
|
Parameter(LLJava.TypeExpr type,
LLJava.Name name)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
LLJava.Parameter |
doclone()
Clones this object.
|
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
LLJava.Name |
get_name()
Generated by umod; model author's documentation MISSING.
|
static Pattern<LLJava.Parameter> |
get_name(Pattern<? super LLJava.Name> 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.Parameter> |
get_type(Pattern<? super LLJava.TypeExpr> p)
Lifts a pattern which matches the field value to one which matches this
whole object.
|
LLJava.Variable |
get_variable()
The variable represented by this parameter
specification.
|
static Pattern<LLJava.Parameter> |
get_variable(Pattern<? super LLJava.Variable> 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.Parameter |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
boolean |
set_name(LLJava.Name val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_type(LLJava.TypeExpr val)
Generated by umod; model author's documentation MISSING.
|
boolean |
set_variable(LLJava.Variable val)
The variable represented by this parameter
specification.
|
descend_annotations, descend_modifiers, get_annotations, get_annotations, get_modifiers, get_modifiers, set_annotations, set_modifiers
get_location, get_location, set_location
protected LLJava.TypeExpr type
LLJava.TypeExpr
(never null)protected LLJava.Name name
LLJava.Name
(maybe null)protected LLJava.Variable variable
ContextChecker
. LLJava.Variable
(maybe null)public Parameter(LLJava.TypeExpr type, LLJava.Name name)
public Parameter(LLJava.TypeExpr type)
type
- is copied to field type
public LLJava.Parameter doclone()
Cloneable
is known
to be implemented.doclone
in class LLJava.Modifiable
public static String getFormatHint()
annotations[, ,
/]modifiers{$java 'FormatUtils.modifier'}[, , /]type,( name?)
public Format format()
format
in interface Formattable
format
in class LLJava.Modifiable
public LLJava.Parameter initFrom(Object o0)
initFrom
in class LLJava.Modifiable
public 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)type
public LLJava.Name get_name()
LLJava.Name
(maybe null)public boolean set_name(LLJava.Name val)
val
- the new value of type LLJava.Name
(maybe null)name
public LLJava.Variable get_variable()
ContextChecker
. LLJava.Variable
(maybe
null)public boolean set_variable(LLJava.Variable val)
ContextChecker
. val
- the new value of type LLJava.Variable
(maybe null)variable
public static Pattern<LLJava.Parameter> get_type(Pattern<? super LLJava.TypeExpr> p)
LLJava.__Patterns
.public static Pattern<LLJava.Parameter> get_name(Pattern<? super LLJava.Name> p)
LLJava.__Patterns
.public static Pattern<LLJava.Parameter> get_variable(Pattern<? super LLJava.Variable> p)
LLJava.__Patterns
.see also the complete user documentation .