src/share/classes/com/sun/tools/javac/main/OptionName.java

changeset 1166
77b2c066084c
parent 1155
3c71fcc22b99
parent 1165
1ae5988e201b
child 1167
ffd294128a48
child 1170
67512b631961
     1.1 --- a/src/share/classes/com/sun/tools/javac/main/OptionName.java	Thu Dec 22 19:00:58 2011 -0800
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,105 +0,0 @@
     1.4 -/*
     1.5 - * Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 - *
     1.8 - * This code is free software; you can redistribute it and/or modify it
     1.9 - * under the terms of the GNU General Public License version 2 only, as
    1.10 - * published by the Free Software Foundation.  Oracle designates this
    1.11 - * particular file as subject to the "Classpath" exception as provided
    1.12 - * by Oracle in the LICENSE file that accompanied this code.
    1.13 - *
    1.14 - * This code is distributed in the hope that it will be useful, but WITHOUT
    1.15 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.16 - * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.17 - * version 2 for more details (a copy is included in the LICENSE file that
    1.18 - * accompanied this code).
    1.19 - *
    1.20 - * You should have received a copy of the GNU General Public License version
    1.21 - * 2 along with this work; if not, write to the Free Software Foundation,
    1.22 - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.23 - *
    1.24 - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.25 - * or visit www.oracle.com if you need additional information or have any
    1.26 - * questions.
    1.27 - */
    1.28 -
    1.29 -package com.sun.tools.javac.main;
    1.30 -
    1.31 -
    1.32 -/**
    1.33 - * TODO: describe com.sun.tools.javac.main.OptionName
    1.34 - *
    1.35 - * <p><b>This is NOT part of any supported API.
    1.36 - * If you write code that depends on this, you do so at your own
    1.37 - * risk.  This code and its internal interfaces are subject to change
    1.38 - * or deletion without notice.</b></p>
    1.39 - */
    1.40 -public enum OptionName {
    1.41 -    G("-g"),
    1.42 -    G_NONE("-g:none"),
    1.43 -    G_CUSTOM("-g:"),
    1.44 -    XLINT("-Xlint"),
    1.45 -    XLINT_CUSTOM("-Xlint:"),
    1.46 -    DIAGS("-XDdiags="),
    1.47 -    NOWARN("-nowarn"),
    1.48 -    VERBOSE("-verbose"),
    1.49 -    DEPRECATION("-deprecation"),
    1.50 -    CLASSPATH("-classpath"),
    1.51 -    CP("-cp"),
    1.52 -    SOURCEPATH("-sourcepath"),
    1.53 -    BOOTCLASSPATH("-bootclasspath"),
    1.54 -    XBOOTCLASSPATH_PREPEND("-Xbootclasspath/p:"),
    1.55 -    XBOOTCLASSPATH_APPEND("-Xbootclasspath/a:"),
    1.56 -    XBOOTCLASSPATH("-Xbootclasspath:"),
    1.57 -    EXTDIRS("-extdirs"),
    1.58 -    DJAVA_EXT_DIRS("-Djava.ext.dirs="),
    1.59 -    ENDORSEDDIRS("-endorseddirs"),
    1.60 -    DJAVA_ENDORSED_DIRS("-Djava.endorsed.dirs="),
    1.61 -    PROC("-proc:"),
    1.62 -    PROCESSOR("-processor"),
    1.63 -    PROCESSORPATH("-processorpath"),
    1.64 -    D("-d"),
    1.65 -    S("-s"),
    1.66 -    IMPLICIT("-implicit:"),
    1.67 -    ENCODING("-encoding"),
    1.68 -    SOURCE("-source"),
    1.69 -    TARGET("-target"),
    1.70 -    VERSION("-version"),
    1.71 -    FULLVERSION("-fullversion"),
    1.72 -    HELP("-help"),
    1.73 -    A("-A"),
    1.74 -    X("-X"),
    1.75 -    J("-J"),
    1.76 -    MOREINFO("-moreinfo"),
    1.77 -    WERROR("-Werror"),
    1.78 -    COMPLEXINFERENCE("-complexinference"),
    1.79 -    PROMPT("-prompt"),
    1.80 -    DOE("-doe"),
    1.81 -    PRINTSOURCE("-printsource"),
    1.82 -    WARNUNCHECKED("-warnunchecked"),
    1.83 -    XMAXERRS("-Xmaxerrs"),
    1.84 -    XMAXWARNS("-Xmaxwarns"),
    1.85 -    XSTDOUT("-Xstdout"),
    1.86 -    XPKGINFO("-Xpkginfo:"),
    1.87 -    XPRINT("-Xprint"),
    1.88 -    XPRINTROUNDS("-XprintRounds"),
    1.89 -    XPRINTPROCESSORINFO("-XprintProcessorInfo"),
    1.90 -    XPREFER("-Xprefer:"),
    1.91 -    O("-O"),
    1.92 -    XJCOV("-Xjcov"),
    1.93 -    XD("-XD"),
    1.94 -    AT("@"),
    1.95 -    SOURCEFILE("sourcefile");
    1.96 -
    1.97 -    public final String optionName;
    1.98 -
    1.99 -    OptionName(String optionName) {
   1.100 -        this.optionName = optionName;
   1.101 -    }
   1.102 -
   1.103 -    @Override
   1.104 -    public String toString() {
   1.105 -        return optionName;
   1.106 -    }
   1.107 -
   1.108 -}

mercurial