You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Annotations.java 588B

1234567891011121314151617181920212223242526272829
  1. package a;
  2. import java.lang.annotation.*;
  3. @Target(ElementType.ANNOTATION_TYPE)
  4. @interface AnnotationAnnotation {}
  5. @Target(ElementType.CONSTRUCTOR)
  6. @interface ConstructorAnnotation {}
  7. @Target(ElementType.FIELD)
  8. @interface FieldAnnotation {}
  9. @Target(ElementType.LOCAL_VARIABLE)
  10. @interface LocalVarAnnotation {}
  11. @Target(ElementType.METHOD)
  12. @interface MethodAnnotation {}
  13. @Target(ElementType.PACKAGE)
  14. @interface PackageAnnotation {}
  15. @Target(ElementType.PARAMETER)
  16. @interface ParameterAnnotation {}
  17. @Target(ElementType.TYPE)
  18. @interface TypeAnnotation {}
  19. @interface AnyAnnotation {}