Example usage for org.eclipse.jdt.internal.compiler.util Messages accept_cannot

List of usage examples for org.eclipse.jdt.internal.compiler.util Messages accept_cannot

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.util Messages accept_cannot.

Prototype

String accept_cannot

To view the source code for org.eclipse.jdt.internal.compiler.util Messages accept_cannot.

Click Source Link

Usage

From source file:org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.java

License:Open Source License

/**
 * Add an additional compilation unit./*from   www .  j a v  a  2s.c  o  m*/
 * @param sourceUnit
 */
public void accept(ICompilationUnit sourceUnit, AccessRestriction accessRestriction) {
    //System.out.println("Cannot accept compilation units inside the HierarchyResolver.");
    this.lookupEnvironment.problemReporter.abortDueToInternalError(
            new StringBuffer(Messages.accept_cannot).append(sourceUnit.getFileName()).toString());
}