1 /* Switch definitions for the GNU compiler for the Java(TM) language.
2 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
3 Free Software Foundation, Inc.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.
22 Java and all Java-based marks are trademarks or registered trademarks
23 of Sun Microsystems, Inc. in the United States and other countries.
24 The Free Software Foundation is independent of Sun Microsystems, Inc. */
26 /* This is the contribution to the `documented_lang_options' array in
29 DEFINE_LANG_NAME ("Java")
31 { "-fbounds-check", "" },
32 { "-fno-bounds-check",
33 N_("Disable automatic array bounds checking") },
35 N_("Disable assignability checks for stores into object arrays") },
37 N_("Assume native functions are implemented using JNI") },
39 N_("Replace system path") },
41 N_("Set class path") },
43 N_("Set class path (deprecated: use --classpath instead)") },
45 N_("Choose class whose main method should be used") },
47 N_("Choose input encoding (default comes from locale)") },
49 N_("Add directory to class path") },
51 N_("Directory where class files should be written") },
52 { "-Wredundant-modifiers",
53 N_("Warn if modifiers are specified when not necessary") },
54 { "-Wextraneous-semicolon",
55 N_("Warn if deprecated empty statements are found") },
57 N_("Warn if .class files are out of date") },
59 N_("Warn if deprecated class, method, or field is used") },
60 { "-fforce-classes-archive-check",
61 N_("Always check for non gcj generated classes archives") },
62 { "-fno-optimize-static-class-initialization",
63 N_("Never optimize static class initialization code") },
64 { "-findirect-dispatch",
65 N_("Use offset tables for virtual method calls") },