Example usage for org.eclipse.jdt.internal.compiler.impl IrritantSet COMPILER_DEFAULT_ERRORS

List of usage examples for org.eclipse.jdt.internal.compiler.impl IrritantSet COMPILER_DEFAULT_ERRORS

Introduction

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

Prototype

IrritantSet COMPILER_DEFAULT_ERRORS

To view the source code for org.eclipse.jdt.internal.compiler.impl IrritantSet COMPILER_DEFAULT_ERRORS.

Click Source Link

Usage

From source file:org.eclipse.objectteams.internal.jdt.nullity.CompilerAdaptation.java

License:Open Source License

public CompilerAdaptation() {
     // add more irritants to IrritantSet:
     IrritantSet.COMPILER_DEFAULT_ERRORS
             .set(NullCompilerOptions.NullSpecViolation | NullCompilerOptions.PotentialNullSpecViolation);
     IrritantSet.COMPILER_DEFAULT_WARNINGS
             .set(NullCompilerOptions.NullSpecInsufficientInfo | NullCompilerOptions.RedundantNullAnnotation);
     IrritantSet.NULL.set(NullCompilerOptions.NullSpecViolation | NullCompilerOptions.PotentialNullSpecViolation
             | NullCompilerOptions.NullSpecInsufficientInfo | NullCompilerOptions.RedundantNullAnnotation);
 }