blob: 1015c470456a420145db3fa398ec4a905cd90abc [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2007 IBM Corporation and others.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*
*******************************************************************************/
package org.eclipse.dltk.ti.goals;
import org.eclipse.dltk.ti.IContext;
public interface IGoal {
IGoal[] NO_GOALS = new IGoal[0];
/**
* Returns context, in which this goal should be considered. Context
* contains, for example, the instance of the class a method is called of,
* precalculated scope or something like that.
*
* @return The context of this goal, or <code>null</code> is there is
* none.
*/
IContext getContext();
}