public class AnnotationInfo extends Object
java.lang.annotation.Annotation, java.lang.reflect.AnnotatedElement| Constructor and Description |
|---|
AnnotationInfo(ProcessingContext context,
AnnotatedElement element,
Annotation annotation,
ElementType type)
Creates a new instance of AnnotationInfo with all the information
necessary to process an annotation.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotatedElement |
getAnnotatedElement() |
Annotation |
getAnnotation() |
ElementType |
getElementType() |
ProcessingContext |
getProcessingContext() |
String |
toString() |
public AnnotationInfo(ProcessingContext context, AnnotatedElement element, Annotation annotation, ElementType type)
context - the annotation processor processing contextelement - the annotated elementannotation - the annotationpublic AnnotatedElement getAnnotatedElement()
public Annotation getAnnotation()
public ProcessingContext getProcessingContext()
public ElementType getElementType()
Copyright © 2015. All rights reserved.