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