Package org.eclipse.core.expressions
Interface IVariableResolver
-
public interface IVariableResolverA variable resolver can be used to add additional variable resolving strategies to anEvaluationContext.- Since:
- 3.0
- See Also:
EvaluationContext.resolveVariable(String, Object[])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectresolve(java.lang.String name, java.lang.Object[] args)Resolves a variable for the given name and arguments.
-
-
-
Method Detail
-
resolve
java.lang.Object resolve(java.lang.String name, java.lang.Object[] args) throws CoreExceptionResolves a variable for the given name and arguments. The handler is allowed to returnnullto indicate that it is not able to resolve the requested variable.- Parameters:
name- the variable to resolveargs- an object array of arguments used to resolve the variable- Returns:
- the variable's value or
nullif no variable could be resolved - Throws:
CoreException- if an errors occurs while resolving the variable
-
-