org.codehaus.groovy.tools.groovydoc
Class SimpleGroovyParameter
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyParameter
- All Implemented Interfaces:
- GroovyParameter
public class SimpleGroovyParameter
- extends Object
- implements GroovyParameter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGroovyParameter
public SimpleGroovyParameter(String name)
defaultValue
public String defaultValue()
- Specified by:
defaultValue
in interface GroovyParameter
setDefaultValue
public void setDefaultValue(String defaultValue)
name
public String name()
- Specified by:
name
in interface GroovyParameter
typeName
public String typeName()
- Specified by:
typeName
in interface GroovyParameter
setTypeName
public void setTypeName(String typeName)
annotations
public GroovyAnnotationRef[] annotations()
- Specified by:
annotations
in interface GroovyParameter
addAnnotationRef
public void addAnnotationRef(GroovyAnnotationRef ref)
type
public GroovyType type()
- Specified by:
type
in interface GroovyParameter
setType
public void setType(GroovyType type)
isTypeAvailable
public boolean isTypeAvailable()