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