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 9 package com.sun.javadoc; 10 11 12 /** 13 * Java Programming Language version. The constants of this enum 14 * identify the JDK and J2SE releases containing language changes 15 * relevant to doclets. 16 * <p> 17 * All doclets support at least the 1.1 language version. 18 * The first release subsequent to this with language changes 19 * affecting doclets is 1.5. 20 * 21 * @since 1.5 22 */ 23 public enum LanguageVersion { 24 25 /** 1.1 added nested classes and interfaces. */ 26 JAVA_1_1, 27 28 /** 1.5 added generic types, annotations, enums, and varArgs. */ 29 JAVA_1_5 30 } 31