1. /*
  2. * @(#)LanguageVersion.java 1.2 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. *
  7. */
  8. package com.sun.javadoc;
  9. /**
  10. * Java Programming Language version. The constants of this enum
  11. * identify the JDK and J2SE releases containing language changes
  12. * relevant to doclets.
  13. * <p>
  14. * All doclets support at least the 1.1 language version.
  15. * The first release subsequent to this with language changes
  16. * affecting doclets is 1.5.
  17. *
  18. * @since 1.5
  19. */
  20. public enum LanguageVersion {
  21. /** 1.1 added nested classes and interfaces. */
  22. JAVA_1_1,
  23. /** 1.5 added generic types, annotations, enums, and varArgs. */
  24. JAVA_1_5
  25. }