Example usage for org.eclipse.jdt.core.compiler IProblem NonConstantExpression

List of usage examples for org.eclipse.jdt.core.compiler IProblem NonConstantExpression

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.compiler IProblem NonConstantExpression.

Prototype

int NonConstantExpression

To view the source code for org.eclipse.jdt.core.compiler IProblem NonConstantExpression.

Click Source Link

Usage

From source file:com.android.ide.eclipse.adt.internal.build.ConvertSwitchQuickFixProcessor.java

License:Open Source License

@Override
public boolean hasCorrections(ICompilationUnit cu, int problemId) {
    return problemId == IProblem.NonConstantExpression;
}