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