public class GenAnnotationMirror extends Object implements AnnotationMirror
| Modifier and Type | Field and Description |
|---|---|
protected ElementsExtensions |
_elementsExtensions |
| Constructor and Description |
|---|
GenAnnotationMirror(DeclaredType annotationType) |
| Modifier and Type | Method and Description |
|---|---|
DeclaredType |
getAnnotationType() |
ExecutableElement |
getAVMethod(String name,
boolean required) |
Map<? extends ExecutableElement,? extends AnnotationValue> |
getElementValues() |
GenAnnotationValue |
getValueWithoutDefault(String name) |
void |
setAnnotationType(DeclaredType annotationType) |
void |
setElementValues(Map<? extends ExecutableElement,? extends AnnotationValue> elementValues) |
GenAnnotationValue |
setValue(String name,
org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends GenAnnotationValue> valueFactory) |
GenAnnotationValue |
setValue(String name,
GenAnnotationValue v) |
@Extension protected ElementsExtensions _elementsExtensions
public GenAnnotationMirror(DeclaredType annotationType)
public GenAnnotationValue setValue(String name, org.eclipse.xtext.xbase.lib.Functions.Function1<? super TypeMirror,? extends GenAnnotationValue> valueFactory)
public GenAnnotationValue setValue(String name, GenAnnotationValue v)
public GenAnnotationValue getValueWithoutDefault(String name)
public ExecutableElement getAVMethod(String name, boolean required)
public void setElementValues(Map<? extends ExecutableElement,? extends AnnotationValue> elementValues)
public DeclaredType getAnnotationType()
getAnnotationType in interface AnnotationMirrorpublic void setAnnotationType(DeclaredType annotationType)
public Map<? extends ExecutableElement,? extends AnnotationValue> getElementValues()
getElementValues in interface AnnotationMirrorCopyright © 2018. All rights reserved.