APIdia Launch Partner
Top Description Methods
javax.annotation.processing

public @Interface SupportedAnnotationTypes

extends Annotation
Annotations
@Documented
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.*

An annotation used to indicate what annotation interfaces an annotation processor supports. The Processor#getSupportedAnnotationTypes method can construct its result from the value of this annotation, as done by AbstractProcessor#getSupportedAnnotationTypes. Only strings conforming to the grammar should be used as values.
Since
1.6

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

the names of the supported annotation interfaces
value
()

Returns the names of the supported annotation interfaces.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()

Returns the names of the supported annotation interfaces.

Returns:String[]

the names of the supported annotation interfaces