Class SimpleGroovyAnnotationRef
- java.lang.Object
 - 
- org.codehaus.groovy.tools.groovydoc.SimpleGroovyAnnotationRef
 
 
- 
- All Implemented Interfaces:
 GroovyAnnotationRef
public class SimpleGroovyAnnotationRef extends Object implements GroovyAnnotationRef
 
- 
- 
Constructor Summary
Constructors Constructor Description SimpleGroovyAnnotationRef(String name, String desc) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()The string representation of the annotation reference.booleanisTypeAvailable()Stringname()Name of the annotation being referenced.voidsetName(String name)voidsetType(GroovyClassDoc type)GroovyClassDoctype()The annotation being referenced. 
 - 
 
- 
- 
Method Detail
- 
setType
public void setType(GroovyClassDoc type)
 
- 
type
public GroovyClassDoc type()
Description copied from interface:GroovyAnnotationRefThe annotation being referenced.- Specified by:
 typein interfaceGroovyAnnotationRef- Returns:
 - the annotation being referenced
 
 
- 
isTypeAvailable
public boolean isTypeAvailable()
 
- 
name
public String name()
Description copied from interface:GroovyAnnotationRefName of the annotation being referenced. Once resolved, equates totype().typeName().- Specified by:
 namein interfaceGroovyAnnotationRef- Returns:
 - the name of the annotation reference
 
 
- 
setName
public void setName(String name)
 
- 
description
public 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 interfaceGroovyAnnotationRef- Returns:
 - the text representation of the annotation ref
 
 
 - 
 
 -