Module java.base
Package java.lang.annotation

Interface Annotation

All Known Implementing Classes:
BeanProperty,BooleanFlag,Category,ConstructorParameters,ConstructorProperties,ContentType,DataAmount,Deprecated,Description,DescriptorKey,Documented,Enabled,Experimental,Frequency,FunctionalInterface,Generated,Inherited,JavaBean,Label,MemoryAddress,MetadataDefinition,MXBean,Name,Native,Override,Percentage,Period,Registered,Relational,Repeatable,Retention,SafeVarargs,Serial,SettingDefinition,StackTrace,SupportedAnnotationTypes,SupportedOptions,SupportedSourceVersion,SuppressWarnings,SwingContainer,Target,Threshold,Timespan,Timestamp,Transient,TransitionFrom,TransitionTo,Unsigned

public interfaceAnnotation
The common interface extended by all annotation interfaces. Note that an interface that manually extends this one doesnot define an annotation interface. Also note that this interface does not itself define an annotation interface. More information about annotation interfaces can be found in section9.6 ofThe Java Language Specification. TheAnnotatedElement interface discusses compatibility concerns when evolving an annotation interface from being non-repeatable to being repeatable.
Since:
1.5