Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Interface
javax.lang.model.element.AnnotationMirror

Packages that use AnnotationMirror
Package Description
javax.annotation.processing Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment. 
javax.lang.model.element Interfaces used to model elements of the Java programming language. 
javax.lang.model.util Utilities to assist in the processing of program elements and types
 

Uses of AnnotationMirror in javax.annotation.processing
 

Methods in javax.annotation.processing with parameters of type AnnotationMirror
Modifier and Type Method and Description
 Iterable<? extends Completion> Processor.getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
          Returns to the tool infrastructure an iterable of suggested completions to an annotation.
 Iterable<? extends Completion> AbstractProcessor.getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText)
          Returns an empty iterable of completions.
 void Messager.printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a)
          Prints a message of the specified kind at the location of the annotation mirror of the annotated element.
 void Messager.printMessage(Diagnostic.Kind kind, CharSequence msg, Element e, AnnotationMirror a, AnnotationValue v)
          Prints a message of the specified kind at the location of the annotation value inside the annotation mirror of the annotated element.
 

Uses of AnnotationMirror in javax.lang.model.element
 

Methods in javax.lang.model.element that return types with arguments of type AnnotationMirror
Modifier and Type Method and Description
 List<? extends AnnotationMirror> Element.getAnnotationMirrors()
          Returns the annotations that are directly present on this element.
 

Methods in javax.lang.model.element with parameters of type AnnotationMirror
Modifier and Type Method and Description
 R AnnotationValueVisitor.visitAnnotation(AnnotationMirror a, P p)
          Visits an annotation value in an annotation.
 

Uses of AnnotationMirror in javax.lang.model.util
 

Methods in javax.lang.model.util that return types with arguments of type AnnotationMirror
Modifier and Type Method and Description
 List<? extends AnnotationMirror> Elements.getAllAnnotationMirrors(Element e)
          Returns all annotations of an element, whether inherited or directly present.
 

Methods in javax.lang.model.util with parameters of type AnnotationMirror
Modifier and Type Method and Description
 Map<? extends ExecutableElement,? extends AnnotationValue> Elements.getElementValuesWithDefaults(AnnotationMirror a)
          Returns the values of an annotation's elements, including defaults.
 R SimpleAnnotationValueVisitor6.visitAnnotation(AnnotationMirror a, P p)
          Visits an annotation value in an annotation.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.