View | Details | Raw Unified | Return to bug 126321
Collapse All | Expand All

(-)model/org/eclipse/jdt/core/JavaCore.java (-3 / +10 lines)
Lines 58-63 Link Here
58
 *                                 TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC
58
 *                                 TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC
59
 *     IBM Corporation - added the following constants:
59
 *     IBM Corporation - added the following constants:
60
 *                                 COMPILER_PB_PARAMETER_ASSIGNMENT
60
 *                                 COMPILER_PB_PARAMETER_ASSIGNMENT
61
 *                                 COMPILER_PB_NULL_REFERENCE
61
 *******************************************************************************/
62
 *******************************************************************************/
62
package org.eclipse.jdt.core;
63
package org.eclipse.jdt.core;
63
64
Lines 482-489 Link Here
482
	public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$
483
	public static final String COMPILER_PB_INCOMPLETE_ENUM_SWITCH = PLUGIN_ID + ".compiler.problem.incompleteEnumSwitch"; //$NON-NLS-1$
483
	/**
484
	/**
484
	 * Possible  configurable option ID.
485
	 * Possible  configurable option ID.
485
	 * @see #getDefaultOptions()
486
	 * @since 3.1
486
	 * @since 3.1
487
	 * @deprecated use {@link #COMPILER_PB_NULL_REFERENCE} instead
487
	 */
488
	 */
488
	public static final String COMPILER_PB_INCONSISTENT_NULL_CHECK = PLUGIN_ID + ".compiler.problem.inconsistentNullCheck"; //$NON-NLS-1$
489
	public static final String COMPILER_PB_INCONSISTENT_NULL_CHECK = PLUGIN_ID + ".compiler.problem.inconsistentNullCheck"; //$NON-NLS-1$
489
	/**
490
	/**
Lines 657-662 Link Here
657
	/**
658
	/**
658
	 * Possible  configurable option ID.
659
	 * Possible  configurable option ID.
659
	 * @see #getDefaultOptions()
660
	 * @see #getDefaultOptions()
661
	 * @since 3.2
662
	 */
663
	public static final String COMPILER_PB_NULL_REFERENCE = PLUGIN_ID + ".compiler.problem.nullReference"; //$NON-NLS-1$
664
	/**
665
	 * Possible  configurable option ID.
666
	 * @see #getDefaultOptions()
660
	 */
667
	 */
661
	public static final String CORE_JAVA_BUILD_ORDER = PLUGIN_ID + ".computeJavaBuildOrder"; //$NON-NLS-1$
668
	public static final String CORE_JAVA_BUILD_ORDER = PLUGIN_ID + ".computeJavaBuildOrder"; //$NON-NLS-1$
662
	/**
669
	/**
Lines 2048-2054 Link Here
2048
	 *     - default:           "warning"
2055
	 *     - default:           "warning"
2049
	 * 
2056
	 * 
2050
	 * COMPILER / Reporting Null Reference or Dereference
2057
	 * COMPILER / Reporting Null Reference or Dereference
2051
	 *    When enabled, the compiler will issue an error or a warning whenever assumption were made on a variable
2058
	 *    When enabled, the compiler will issue an error or a warning whenever an assumption is made on a variable
2052
	 *    with respect to holding null/non-null values, but the assumption is not followed in a consistent manner.
2059
	 *    with respect to holding null/non-null values, but the assumption is not followed in a consistent manner.
2053
	 *    Situations include:
2060
	 *    Situations include:
2054
	 *         - if variable was assumed to be null and further used to access field or methods
2061
	 *         - if variable was assumed to be null and further used to access field or methods
Lines 2056-2062 Link Here
2056
	 *         
2063
	 *         
2057
	 *     - option id:         "org.eclipse.jdt.core.compiler.problem.nullReference"
2064
	 *     - option id:         "org.eclipse.jdt.core.compiler.problem.nullReference"
2058
	 *     - possible values:   { "error", "warning", "ignore" }
2065
	 *     - possible values:   { "error", "warning", "ignore" }
2059
	 *     - default:           "warning"
2066
	 *     - default:           "ignore"
2060
	 * 
2067
	 * 
2061
	 * COMPILER / Reporting Use of Annotation Type as Super Interface
2068
	 * COMPILER / Reporting Use of Annotation Type as Super Interface
2062
	 *    When enabled, the compiler will issue an error or a warning whenever an annotation type is used
2069
	 *    When enabled, the compiler will issue an error or a warning whenever an annotation type is used
(-)compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java (-1 / +1 lines)
Lines 216-222 Link Here
216
		| UnusedLocalVariable
216
		| UnusedLocalVariable
217
		| UnusedPrivateMember
217
		| UnusedPrivateMember
218
		| UnusedLabel
218
		| UnusedLabel
219
		/*| NullReference*/;
219
		/*| NullReference -- keep JavaCore#getDefaultOptions comment in sync */;
220
220
221
	// By default only lines and source attributes are generated.
221
	// By default only lines and source attributes are generated.
222
	public int produceDebugAttributes = ClassFileConstants.ATTR_SOURCE | ClassFileConstants.ATTR_LINES;
222
	public int produceDebugAttributes = ClassFileConstants.ATTR_SOURCE | ClassFileConstants.ATTR_LINES;

Return to bug 126321