1. /*
  2. * @(#)Documented.java 1.5 04/02/03
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang.annotation;
  8. /**
  9. * Indicates that annotations with a type are to be documented by javadoc
  10. * and similar tools by default. This type should be used to annotate the
  11. * declarations of types whose annotations affect the use of annotated
  12. * elements by their clients. If a type declaration is annotated with
  13. * Documented, its annotations become part of the public API
  14. * of the annotated elements.
  15. *
  16. * @author Joshua Bloch
  17. * @version 1.5, 02/03/04
  18. * @since 1.5
  19. */
  20. @Documented
  21. @Retention(RetentionPolicy.RUNTIME)
  22. @Target(ElementType.ANNOTATION_TYPE)
  23. public @interface Documented {
  24. }