Example usage for Java java.lang.annotation ElementType fields, constructors, methods, implement or subclass
The text is from its open source code.
ElementType | TYPE Class, interface (including annotation type), or enum declaration |
ElementType | FIELD Field declaration (includes enum constants) |
ElementType | METHOD Method declaration |
ElementType | PARAMETER Formal parameter declaration |
ElementType | CONSTRUCTOR Constructor declaration |
ElementType | ANNOTATION_TYPE Annotation type declaration |