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

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

Introduction

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

Prototype

String PROTECTED

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

Click Source Link

Usage

From source file:org.eclipse.objectteams.otdt.tests.otjld.other.Misc.java

License:Open Source License

public void test04m_javadocBaseImportReference1() {
    Map customOptions = getCompilerOptions();
    customOptions.put(CompilerOptions.OPTION_DocCommentSupport, CompilerOptions.ENABLED);
    customOptions.put(CompilerOptions.OPTION_ReportInvalidJavadoc, CompilerOptions.ERROR);
    customOptions.put(CompilerOptions.OPTION_ReportInvalidJavadocTags, CompilerOptions.ENABLED);
    customOptions.put(CompilerOptions.OPTION_ReportInvalidJavadocTagsVisibility, CompilerOptions.PROTECTED);
    runConformTest(/*  ww  w.  j a  v  a2  s  .  co  m*/
            new String[] { "pteam/Team0m4jbir1.java",
                    "package pteam;\n" + "import base pbase.T0m4jbir1;\n" + "public team class Team0m4jbir1 {\n"
                            + "   /** Role for {@link T0m4jbir1} as its base.\n" + "     * @see T0m4jbir1\n"
                            + "     */\n" + "   protected class R playedBy T0m4jbir1 {} \n" + "}\n",
                    "pbase/T0m4jbir1.java", "package pbase;\n" + "public class T0m4jbir1 {}\n" },
            "", null/*classLibraries*/, false/*shouldFlushOutputDirectory*/, null/*vmArguments*/, customOptions,
            null/*requestor*/);
}