Class SimpleGroovyParameter
- java.lang.Object
-
- org.codehaus.groovy.tools.groovydoc.SimpleGroovyParameter
-
- All Implemented Interfaces:
GroovyParameter
public class SimpleGroovyParameter extends java.lang.Object implements GroovyParameter
-
-
Constructor Summary
Constructors Constructor Description SimpleGroovyParameter(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
defaultValue
public java.lang.String defaultValue()
- Specified by:
defaultValue
in interfaceGroovyParameter
-
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)
-
name
public java.lang.String name()
- Specified by:
name
in interfaceGroovyParameter
-
typeName
public java.lang.String typeName()
- Specified by:
typeName
in interfaceGroovyParameter
-
setTypeName
public void setTypeName(java.lang.String typeName)
-
annotations
public GroovyAnnotationRef[] annotations()
- Specified by:
annotations
in interfaceGroovyParameter
-
addAnnotationRef
public void addAnnotationRef(GroovyAnnotationRef ref)
-
type
public GroovyType type()
- Specified by:
type
in interfaceGroovyParameter
-
setType
public void setType(GroovyType type)
-
isTypeAvailable
public boolean isTypeAvailable()
-
vararg
public boolean vararg()
-
setVararg
public void setVararg(boolean vararg)
-
-