Example usage for org.eclipse.jdt.core JavaCore COMPILER_PB_INVALID_IMPORT

List of usage examples for org.eclipse.jdt.core JavaCore COMPILER_PB_INVALID_IMPORT

Introduction

In this page you can find the example usage for org.eclipse.jdt.core JavaCore COMPILER_PB_INVALID_IMPORT.

Prototype

String COMPILER_PB_INVALID_IMPORT

To view the source code for org.eclipse.jdt.core JavaCore COMPILER_PB_INVALID_IMPORT.

Click Source Link

Usage

From source file:org.eclipse.jdt.internal.core.JavaModelManager.java

License:Open Source License

/**
 * @deprecated//from w w  w. ja va  2s . com
 */
private void addDeprecatedOptions(Hashtable options) {
    options.put(JavaCore.COMPILER_PB_INVALID_IMPORT, JavaCore.ERROR);
    options.put(JavaCore.COMPILER_PB_UNREACHABLE_CODE, JavaCore.ERROR);
}

From source file:org.eclipse.jdt.internal.core.JavaModelManager.java

License:Open Source License

/**
 * @deprecated//w w w.  java 2  s.  c o  m
 */
private boolean isDeprecatedOption(String optionName) {
    return JavaCore.COMPILER_PB_INVALID_IMPORT.equals(optionName)
            || JavaCore.COMPILER_PB_UNREACHABLE_CODE.equals(optionName);
}