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
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()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SimpleGroovyParameter
public SimpleGroovyParameter(java.lang.String name)
-
-
Method Details
-
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
- 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)
-