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

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

Introduction

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

Prototype

int VarargsConflict

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

Click Source Link

Usage

From source file:org.codehaus.jdt.groovy.internal.compiler.ast.GroovyClassScope.java

License:Open Source License

@Override
public boolean shouldReport(int problem) {
    if (problem == IProblem.SuperclassMustBeAClass) {
        return false;
    }/*  ww  w  . ja v a 2 s  . c o m*/
    if (problem == IProblem.IncompatibleReturnType) {
        return false;
    }
    if (problem == IProblem.AbstractMethodMustBeImplemented) {
        return false;
    }
    if (problem == IProblem.MethodNameClash) {
        return false;
    }
    if (problem == IProblem.VarargsConflict) {
        return false;
    }
    return true;
}