Example usage for org.eclipse.jdt.internal.compiler.impl CompilerOptions OPTION_ReportUnusedLabel

List of usage examples for org.eclipse.jdt.internal.compiler.impl CompilerOptions OPTION_ReportUnusedLabel

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.impl CompilerOptions OPTION_ReportUnusedLabel.

Prototype

String OPTION_ReportUnusedLabel

To view the source code for org.eclipse.jdt.internal.compiler.impl CompilerOptions OPTION_ReportUnusedLabel.

Click Source Link

Usage

From source file:lombok.RunTestsViaEcj.java

License:Open Source License

protected CompilerOptions ecjCompilerOptions() {
    CompilerOptions options = new CompilerOptions();
    options.complianceLevel = Eclipse.getLatestEcjCompilerVersionConstant();
    options.sourceLevel = Eclipse.getLatestEcjCompilerVersionConstant();
    options.targetJDK = Eclipse.getLatestEcjCompilerVersionConstant();
    options.docCommentSupport = false;/*from   w w w  . ja  va  2  s .  c  o m*/
    options.parseLiteralExpressionsAsConstants = true;
    options.inlineJsrBytecode = true;
    options.reportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable = false;
    options.reportUnusedDeclaredThrownExceptionIncludeDocCommentReference = false;
    options.reportUnusedDeclaredThrownExceptionWhenOverriding = false;
    options.reportUnusedParameterIncludeDocCommentReference = false;
    options.reportUnusedParameterWhenImplementingAbstract = false;
    options.reportUnusedParameterWhenOverridingConcrete = false;
    options.reportDeadCodeInTrivialIfStatement = false;
    options.generateClassFiles = false;
    Map<String, String> warnings = new HashMap<String, String>();
    warnings.put(CompilerOptions.OPTION_ReportUnusedLocal, "ignore");
    warnings.put(CompilerOptions.OPTION_ReportUnusedLabel, "ignore");
    warnings.put(CompilerOptions.OPTION_ReportUnusedImport, "ignore");
    warnings.put(CompilerOptions.OPTION_ReportUnusedPrivateMember, "ignore");
    warnings.put(CompilerOptions.OPTION_Source, "1." + Eclipse.getEcjCompilerVersion());
    options.set(warnings);
    return options;
}

From source file:org.eclipse.objectteams.otdt.tests.otjld.calloutbinding.CalloutParameterBinding_LiftingAndLowering.java

License:Open Source License

public void test3241_importUsedInParammap1() {
    Map customOptions = getCompilerOptions();
    customOptions.put(CompilerOptions.OPTION_ReportUnusedParameter, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedPrivateMember, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedTypeArgumentsForMethodInvocation,
            CompilerOptions.WARNING);/*  w w  w  .j  ava  2s  .  co  m*/
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLabel, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLocal, CompilerOptions.WARNING);

    runConformTest(new String[] { "T3241iuip1Main.java",
            "\n" + "public class T3241iuip1Main {\n" + "    public static void main(String[] args) {\n"
                    + "        new Team3241iuip1().test();\n" + "    }\n" + "}\n" + "    \n",
            "p1/T3241iuip1_1.java",
            "\n" + "package p1;\n" + "public class T3241iuip1_1 {\n"
                    + "    public static String getO() { return \"O\"; }\n" + "}\n" + "    \n",
            "p1/T3241iuip1_2.java",
            "\n" + "package p1;\n" + "public class T3241iuip1_2 {\n"
                    + "    public String getK() { return \"K\"; }\n" + "}\n" + "    \n",
            "Team3241iuip1.java",
            "\n" + "import p1.T3241iuip1_1;\n" + "import base p1.T3241iuip1_2;\n"
                    + "public team class Team3241iuip1 {\n" + "    protected class R playedBy T3241iuip1_2 {\n"
                    + "        protected R() { base(); }\n" + "        String getOK () -> String getK()\n"
                    + "            with { result <- T3241iuip1_1.getO()+result }\n" + "    }\n"
                    + "    void test() {\n" + "        System.out.print(new R().getOK());\n" + "    }\n" + "}\n"
                    + "    \n" },
            "OK", null/*classLibraries*/, true/*shouldFlushOutputDirectory*/, null/*vmArguments*/,
            customOptions, null/*no custom requestor*/);
}

From source file:org.eclipse.objectteams.otdt.tests.otjld.regression.ReportedBugs.java

License:Open Source License

public void testB11_sh67() {
    Map customOptions = getCompilerOptions();
    customOptions.put(CompilerOptions.OPTION_ReportUnusedParameter, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedPrivateMember, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedTypeArgumentsForMethodInvocation,
            CompilerOptions.WARNING);/*from  www  .  j  ava  2  s . c o m*/
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLabel, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLocal, CompilerOptions.WARNING);
    runTestExpectingWarnings(new String[] { "TB11sh67.java", "\n" + "public class TB11sh67 {\n"
            + "    @SuppressWarnings(\"unused\")\n" + "    private int secret;\n" + "}\n" + "    \n",
            "TeamB11sh67.java",
            "\n" + "@SuppressWarnings({\"unused\",\"basecall\"})\n" + "public team class TeamB11sh67 {\n"
                    + "    void bar(int unused) {}\n" + "    protected class R playedBy TB11sh67 {\n"
                    + "        int getSecret() -> get int secret; // <- decapsulation warning was masked by above @SuppressWarnings\n"
                    + "        callin void noBaseCall() {\n" + "        }\n" + "    }\n" + "}\n" + "    \n" },
            "----------\n" + "1. WARNING in TeamB11sh67.java (at line 6)\n"
                    + "   int getSecret() -> get int secret; // <- decapsulation warning was masked by above @SuppressWarnings\n"
                    + "                              ^^^^^^\n"
                    + "Access restriction of private field secret in type TB11sh67 is overridden by this binding (OTJLD 3.5(e)).\n"
                    + "----------\n",
            customOptions);
}

From source file:org.eclipse.objectteams.otdt.tests.otjld.regression.ReportedBugs.java

License:Open Source License

public void testB11_sh68() {
    Map customOptions = getCompilerOptions();
    customOptions.put(CompilerOptions.OPTION_ReportUnusedParameter, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedPrivateMember, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedTypeArgumentsForMethodInvocation,
            CompilerOptions.WARNING);/*from  ww w .  j  a va 2  s. c o  m*/
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLabel, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLocal, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedWarningToken, CompilerOptions.WARNING);
    runTestExpectingWarnings(new String[] { "TB11sh68.java", "\n" + "public class TB11sh68 {\n"
            + "    @SuppressWarnings(\"unused\")\n" + "    private int secret;\n" + "}\n" + "    \n",
            "TeamB11sh68.java",
            "\n" + "@SuppressWarnings({\"unused\",\"basecall\",\"restriction\"}) // last one is unnecessary\n"
                    + "public team class TeamB11sh68 {\n" + "    void bar(int unused) {}\n"
                    + "    @SuppressWarnings(\"basecall\") // unnesserary\n"
                    + "    protected class R playedBy TB11sh68 {\n"
                    + "        int getSecret() -> get int secret; // <- decapsulation warning was masked by above @SuppressWarnings\n"
                    + "        callin void noBaseCall() {\n" + "        }\n" + "    }\n" + "}\n" + "    \n" },
            "----------\n" + "1. WARNING in TeamB11sh68.java (at line 2)\n"
                    + "   @SuppressWarnings({\"unused\",\"basecall\",\"restriction\"}) // last one is unnecessary\n"
                    + "                               ^^^^^^^^^^\n"
                    + "Unnecessary @SuppressWarnings(\"basecall\")\n" + "----------\n"
                    + "2. WARNING in TeamB11sh68.java (at line 2)\n"
                    + "   @SuppressWarnings({\"unused\",\"basecall\",\"restriction\"}) // last one is unnecessary\n"
                    + "                                          ^^^^^^^^^^^^^\n"
                    + "Unnecessary @SuppressWarnings(\"restriction\")\n" + "----------\n"
                    + "3. WARNING in TeamB11sh68.java (at line 7)\n"
                    + "   int getSecret() -> get int secret; // <- decapsulation warning was masked by above @SuppressWarnings\n"
                    + "                              ^^^^^^\n"
                    + "Access restriction of private field secret in type TB11sh68 is overridden by this binding (OTJLD 3.5(e)).\n"
                    + "----------\n",
            customOptions);
}

From source file:org.eclipse.objectteams.otdt.tests.otjld.roleplaying.PlayedByRelation.java

License:Open Source License

public void test2110_baseImport7() {
    Map customOptions = getCompilerOptions();
    customOptions.put(CompilerOptions.OPTION_ReportUnusedParameter, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedPrivateMember, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedTypeArgumentsForMethodInvocation,
            CompilerOptions.WARNING);//from w  w  w.j  ava 2s  .c  om
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLabel, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.WARNING);
    customOptions.put(CompilerOptions.OPTION_ReportUnusedLocal, CompilerOptions.WARNING);
    runTestExpectingWarnings(
            new String[] { "p1/T2110bi7.java", "\n" + "package p1;\n" + "public class T2110bi7 {}\n" + "    \n",
                    "Team2110bi7.java",
                    "\n" + "import base p1.T2110bi7;\n" + "import base java.util.List;\n"
                            + "public team class Team2110bi7 {\n"
                            + "    protected class R playedBy T2110bi7 {}\n" + "}\n" + "    \n" },
            "----------\n" + "1. WARNING in Team2110bi7.java (at line 3)\n" + "   import base java.util.List;\n"
                    + "               ^^^^^^^^^^^^^^\n" + "The import java.util.List is never used\n"
                    + "----------\n",
            customOptions);
}

From source file:org.thiesen.ecj4ant.Options.java

License:Open Source License

public static Map<String, String> warnAllOptions() {
    return new HashMap<String, String>() {

        private static final long serialVersionUID = 1L;

        {/*from   ww  w  . ja  v a  2  s .c o  m*/
            put(CompilerOptions.OPTION_Process_Annotations, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_SuppressWarnings, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_DocCommentSupport, CompilerOptions.ENABLED);

            put(CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_LineNumberAttribute, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_SourceFileAttribute, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_PreserveUnusedLocal, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMethodWithConstructorName, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportOverridingPackageDefaultMethod, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportDeprecation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportDeprecationInDeprecatedCode, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportDeprecationWhenOverridingDeprecatedMethod,
                    CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportHiddenCatchBlock, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedLocal, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedParameter, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedParameterWhenImplementingAbstract, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedParameterWhenOverridingConcrete, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedParameterIncludeDocCommentReference,
                    CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportSyntheticAccessEmulation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportNoEffectAssignment, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportLocalVariableHiding, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportSpecialParameterHidingField, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportFieldHiding, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportTypeParameterHiding, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportPossibleAccidentalBooleanAssignment, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportNonExternalizedStringLiteral, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportIncompatibleNonInheritedInterfaceMethod, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedPrivateMember, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportNoImplicitStringConversion, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportAssertIdentifier, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportEnumIdentifier, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportNonStaticAccessToStatic, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportIndirectStaticAccess, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportEmptyStatement, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnnecessaryTypeCheck, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnnecessaryElse, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUndocumentedEmptyBlock, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportInvalidJavadoc, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTags, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTagsDeprecatedRef, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTagsNotVisibleRef, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTagsVisibility, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocTags, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocTagsVisibility, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocTagsOverriding, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocComments, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocTagDescription, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocCommentsVisibility, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingJavadocCommentsOverriding, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportFinallyBlockNotCompletingNormally, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding,
                    CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference,
                    CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable,
                    CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnqualifiedFieldAccess, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUncheckedTypeOperation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportRawTypeReference, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportFinalParameterBound, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingSerialVersion, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportVarargsArgumentNeedCast, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedTypeArgumentsForMethodInvocation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportNullReference, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportPotentialNullReference, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportRedundantNullCheck, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportAutoboxing, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportAnnotationSuperInterface, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingOverrideAnnotation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingDeprecatedAnnotation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportIncompleteEnumSwitch, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportForbiddenReference, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportDiscouragedReference, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnhandledWarningToken, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedWarningToken, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedLabel, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportParameterAssignment, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportFallthroughCase, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportOverridingMethodWithoutSuperInvocation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportRedundantSuperinterface, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportComparingIdentical, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingSynchronizedOnInheritedMethod, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportMissingHashCodeMethod, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportDeadCode, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportDeadCodeInTrivialIfStatement, CompilerOptions.WARNING);
        }

    };

}

From source file:org.thiesen.ecj4ant.Options.java

License:Open Source License

public static Map<String, String> saneOptions() {
    return new HashMap<String, String>() {

        private static final long serialVersionUID = 1L;

        {//from  w  w w  .  j av  a  2 s  .  c o m
            put(CompilerOptions.OPTION_Process_Annotations, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_SuppressWarnings, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_DocCommentSupport, CompilerOptions.ENABLED);

            put(CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_LocalVariableAttribute, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_LineNumberAttribute, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_SourceFileAttribute, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_PreserveUnusedLocal, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMethodWithConstructorName, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportOverridingPackageDefaultMethod, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportDeprecation, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_ReportDeprecationInDeprecatedCode, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_ReportDeprecationWhenOverridingDeprecatedMethod,
                    CompilerOptions.DISABLED);
            put(CompilerOptions.OPTION_ReportHiddenCatchBlock, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedLocal, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedParameter, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportUnusedParameterWhenImplementingAbstract, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_ReportUnusedParameterWhenOverridingConcrete, CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_ReportUnusedParameterIncludeDocCommentReference,
                    CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_ReportUnusedImport, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportSyntheticAccessEmulation, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportNoEffectAssignment, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportLocalVariableHiding, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportSpecialParameterHidingField, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportFieldHiding, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportTypeParameterHiding, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportPossibleAccidentalBooleanAssignment, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportNonExternalizedStringLiteral, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportIncompatibleNonInheritedInterfaceMethod, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedPrivateMember, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportNoImplicitStringConversion, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportAssertIdentifier, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportEnumIdentifier, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportNonStaticAccessToStatic, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportIndirectStaticAccess, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportEmptyStatement, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnnecessaryTypeCheck, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnnecessaryElse, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUndocumentedEmptyBlock, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportInvalidJavadoc, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTags, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTagsDeprecatedRef, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTagsNotVisibleRef, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportInvalidJavadocTagsVisibility, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMissingJavadocTags, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportMissingJavadocTagsVisibility, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportMissingJavadocTagsOverriding, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportMissingJavadocComments, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportMissingJavadocTagDescription, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportMissingJavadocCommentsVisibility, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportMissingJavadocCommentsOverriding, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportFinallyBlockNotCompletingNormally, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownException, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownExceptionWhenOverriding,
                    CompilerOptions.ENABLED);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownExceptionIncludeDocCommentReference,
                    CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedDeclaredThrownExceptionExemptExceptionAndThrowable,
                    CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnqualifiedFieldAccess, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportUncheckedTypeOperation, CompilerOptions.WARNING);
            put(CompilerOptions.OPTION_ReportRawTypeReference, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportFinalParameterBound, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMissingSerialVersion, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportVarargsArgumentNeedCast, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedTypeArgumentsForMethodInvocation, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportNullReference, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportPotentialNullReference, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportRedundantNullCheck, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportAutoboxing, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportAnnotationSuperInterface, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMissingOverrideAnnotation, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMissingDeprecatedAnnotation, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportIncompleteEnumSwitch, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportForbiddenReference, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportDiscouragedReference, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnhandledWarningToken, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedWarningToken, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportUnusedLabel, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportParameterAssignment, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportFallthroughCase, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportOverridingMethodWithoutSuperInvocation, CompilerOptions.IGNORE);
            put(CompilerOptions.OPTION_ReportRedundantSuperinterface, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportComparingIdentical, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMissingSynchronizedOnInheritedMethod, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportMissingHashCodeMethod, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportDeadCode, CompilerOptions.ERROR);
            put(CompilerOptions.OPTION_ReportDeadCodeInTrivialIfStatement, CompilerOptions.ERROR);
        }

    };

}