org.netbeans.spi.debugger
Class ContextAwareSupport
java.lang.Object
org.netbeans.spi.debugger.ContextAwareSupport
public final class ContextAwareSupport
- extends Object
Support class for context-aware debugger services.
- Since:
- 1.16
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createInstance
public static Object createInstance(String service,
ContextProvider context)
- A helper method that creates a context-aware debugger service.
The service must be a public class with public constructor or a public
static method. The constructor or method takes
no arguments or takes
ContextProvider
as an argument.
This method is typically called by the implementation of ContextAwareService
to create an instance with the given context.
- Parameters:
service
- The full class name or static method that ends with '()'context
- The context with which is the service to be created
- Returns:
- The instance of the service with the given context.
- Since:
- 1.16