Example usage for org.eclipse.jdt.internal.core.eval EvaluationContextWrapper EvaluationContextWrapper

List of usage examples for org.eclipse.jdt.internal.core.eval EvaluationContextWrapper EvaluationContextWrapper

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.core.eval EvaluationContextWrapper EvaluationContextWrapper.

Prototype

public EvaluationContextWrapper(EvaluationContext context, JavaProject project) 

Source Link

Document

Creates a new wrapper around the given infrastructure evaluation context and project.

Usage

From source file:org.eclipse.jdt.internal.core.JavaProject.java

License:Open Source License

/**
 * @see IJavaProject#newEvaluationContext()
 *///from w  w  w . j a  v  a 2s.com
public IEvaluationContext newEvaluationContext() {
    EvaluationContext context = new EvaluationContext();
    context.setLineSeparator(Util.getLineSeparator(null/*no existing source*/, this));
    return new EvaluationContextWrapper(context, this);
}