Class SimpleGroovyAnnotationRef
java.lang.Object
org.codehaus.groovy.tools.groovydoc.SimpleGroovyAnnotationRef
- All Implemented Interfaces:
- GroovyAnnotationRef
public class SimpleGroovyAnnotationRef extends java.lang.Object implements GroovyAnnotationRef
- 
Constructor SummaryConstructors Constructor Description SimpleGroovyAnnotationRef(java.lang.String name, java.lang.String desc)
- 
Method SummaryModifier and Type Method Description java.lang.Stringdescription()The string representation of the annotation reference.booleanisTypeAvailable()java.lang.Stringname()Name of the annotation being referenced.voidsetName(java.lang.String name)voidsetType(GroovyClassDoc type)GroovyClassDoctype()The annotation being referenced.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
SimpleGroovyAnnotationRefpublic SimpleGroovyAnnotationRef(java.lang.String name, java.lang.String desc)
 
- 
- 
Method Details- 
setType
- 
typeDescription copied from interface:GroovyAnnotationRefThe annotation being referenced.- Specified by:
- typein interface- GroovyAnnotationRef
- Returns:
- the annotation being referenced
 
- 
isTypeAvailablepublic boolean isTypeAvailable()
- 
namepublic java.lang.String name()Description copied from interface:GroovyAnnotationRefName of the annotation being referenced. Once resolved, equates totype().typeName().- Specified by:
- namein interface- GroovyAnnotationRef
- Returns:
- the name of the annotation reference
 
- 
setNamepublic void setName(java.lang.String name)
- 
descriptionpublic java.lang.String description()Description copied from interface:GroovyAnnotationRefThe 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:
- descriptionin interface- GroovyAnnotationRef
- Returns:
- the text representation of the annotation ref
 
 
-