Class SimpleGroovyAnnotationRef
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyAnnotationRef
- All Implemented Interfaces:
GroovyAnnotationRef
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe string representation of the annotation reference.boolean
name()
Name of the annotation being referenced.void
void
setType
(GroovyClassDoc type) type()
The annotation being referenced.
-
Constructor Details
-
SimpleGroovyAnnotationRef
-
-
Method Details
-
setType
-
type
Description copied from interface:GroovyAnnotationRef
The annotation being referenced.- Specified by:
type
in interfaceGroovyAnnotationRef
- Returns:
- the annotation being referenced
-
isTypeAvailable
public boolean isTypeAvailable() -
name
Description copied from interface:GroovyAnnotationRef
Name of the annotation being referenced. Once resolved, equates totype().typeName()
.- Specified by:
name
in interfaceGroovyAnnotationRef
- Returns:
- the name of the annotation reference
-
setName
-
description
Description copied from interface:GroovyAnnotationRef
The string representation of the annotation reference. Initially implemented as a temporary hack stored from the source. To be replaced with strong-typed finer grained information.- Specified by:
description
in interfaceGroovyAnnotationRef
- Returns:
- the text representation of the annotation ref
-