[Java] Class SimpleGroovyParameter
- org.codehaus.groovy.tools.groovydoc.SimpleGroovyParameter
- All Implemented Interfaces and Traits:
- GroovyParameter
public class SimpleGroovyParameter extends Object implements GroovyParameter
Constructor Summary
Constructor and description |
---|
SimpleGroovyParameter
(String name) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
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() |
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/3.0.7/html/gapi/org/codehaus/groovy/tools/groovydoc/SimpleGroovyParameter.html