| org.netbeans.modules.refactoring.api.Context
Context | final public class Context extends Lookup (Code) | | Context contains "enviroment" in which the refactoring was invoked
e.g. Java refactoring might put instance of ClasspathInfo here
See Also: AbstractRefactoring author: Jan Becicka |
Constructor Summary | |
| Context(InstanceContent instanceContent) |
Method Summary | |
public void | add(Object value) Adds value instance into this context
for instance Java impl. | public T | lookup(Class<T> clazz) | public Result<T> | lookup(Template<T> template) |
Context | Context(InstanceContent instanceContent)(Code) | | |
add | public void add(Object value)(Code) | | Adds value instance into this context
for instance Java impl. puts instance of ClasspathInfo here.
If there is an instance already set for this context, old
value is replaced by new one.
|
lookup | public Result<T> lookup(Template<T> template)(Code) | | |
|
|