public class SimpleGroovyAnnotationRef extends java.lang.Object implements GroovyAnnotationRef
Constructor and Description |
---|
SimpleGroovyAnnotationRef(java.lang.String name,
java.lang.String desc) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
The string representation of the annotation reference.
|
boolean |
isTypeAvailable() |
java.lang.String |
name()
Name of the annotation being referenced.
|
void |
setName(java.lang.String name) |
void |
setType(GroovyClassDoc type) |
GroovyClassDoc |
type()
The annotation being referenced.
|
public SimpleGroovyAnnotationRef(java.lang.String name, java.lang.String desc)
public void setType(GroovyClassDoc type)
public GroovyClassDoc type()
GroovyAnnotationRef
type
in interface GroovyAnnotationRef
public boolean isTypeAvailable()
public java.lang.String name()
GroovyAnnotationRef
type().typeName()
.name
in interface GroovyAnnotationRef
public void setName(java.lang.String name)
public java.lang.String description()
GroovyAnnotationRef
description
in interface GroovyAnnotationRef