Example usage for org.eclipse.jdt.internal.eval EvaluationContext EvaluationContext

List of usage examples for org.eclipse.jdt.internal.eval EvaluationContext EvaluationContext

Introduction

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

Prototype

public EvaluationContext() 

Source Link

Document

Creates a new evaluation context.

Usage

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

License:Open Source License

/**
 * @see IJavaProject#newEvaluationContext()
 *//*from w  ww .  ja va2s.  c  o  m*/
public IEvaluationContext newEvaluationContext() {
    EvaluationContext context = new EvaluationContext();
    context.setLineSeparator(Util.getLineSeparator(null/*no existing source*/, this));
    return new EvaluationContextWrapper(context, this);
}