List of usage examples for org.eclipse.jdt.core JavaCore COMPILER_PB_UNREACHABLE_CODE
String COMPILER_PB_UNREACHABLE_CODE
To view the source code for org.eclipse.jdt.core JavaCore COMPILER_PB_UNREACHABLE_CODE.
Click Source Link
From source file:org.eclipse.jdt.internal.core.JavaModelManager.java
License:Open Source License
/** * @deprecated/*from ww w .j a v a 2 s .c o m*/ */ 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 . j a v a 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); }