public class SimpleGroovyParameter extends Object implements GroovyParameter
Constructor and Description |
---|
SimpleGroovyParameter(String name) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationRef(GroovyAnnotationRef ref) |
GroovyAnnotationRef[] |
annotations() |
String |
defaultValue() |
boolean |
isTypeAvailable() |
String |
name() |
void |
setDefaultValue(String defaultValue) |
void |
setType(GroovyType type) |
void |
setTypeName(String typeName) |
void |
setVararg(boolean vararg) |
GroovyType |
type() |
String |
typeName() |
boolean |
vararg() |
public SimpleGroovyParameter(String name)
public String defaultValue()
defaultValue
in interface GroovyParameter
public void setDefaultValue(String defaultValue)
public String name()
name
in interface GroovyParameter
public String typeName()
typeName
in interface GroovyParameter
public void setTypeName(String typeName)
public GroovyAnnotationRef[] annotations()
annotations
in interface GroovyParameter
public void addAnnotationRef(GroovyAnnotationRef ref)
public GroovyType type()
type
in interface GroovyParameter
public void setType(GroovyType type)
public boolean isTypeAvailable()
public boolean vararg()
public void setVararg(boolean vararg)