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

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

Introduction

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

Prototype

IrritantSet NULL

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

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);
 }