[Java] Class SimpleGroovyParameter
- org.codehaus.groovy.tools.groovydoc.SimpleGroovyParameter
- All Implemented Interfaces and Traits:
- GroovyParameter
public class SimpleGroovyParameter extends Object
Constructor Summary
Constructor and description |
---|
SimpleGroovyParameter
(String name) |
Methods Summary
Type Params | Return Type | Name and 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() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail
public SimpleGroovyParameter(String name)
Method Detail
public void addAnnotationRef(GroovyAnnotationRef ref)
public GroovyAnnotationRef[] annotations()
public String defaultValue()
public boolean isTypeAvailable()
public String name()
public void setDefaultValue(String defaultValue)
public void setType(GroovyType type)
public void setTypeName(String typeName)
public void setVararg(boolean vararg)
public GroovyType type()
public String typeName()
public boolean vararg()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/tools/groovydoc/SimpleGroovyParameter.html