| org.netbeans.modules.refactoring.spi.GuardedBlockHandlerFactory
GuardedBlockHandlerFactory | public interface GuardedBlockHandlerFactory (Code) | | Factory for an object handling refactoring in a guarded block. This should be
implemented by modules providing guarded sections in Java documents. If
a change proposed by a refactoring affects a guarded section, the refactoring object
asks the registered GuardedBlockHandlers to handle that change.
author: Martin Matula |
Method Summary | |
GuardedBlockHandler | createInstance(AbstractRefactoring refactoring) Creates and returns a new instance of the guarded block refactoring handler or
null if the handler is not suitable for the passed refactoring.
Parameters: refactoring - Refactoring, the handler should be plugged in. |
createInstance | GuardedBlockHandler createInstance(AbstractRefactoring refactoring)(Code) | | Creates and returns a new instance of the guarded block refactoring handler or
null if the handler is not suitable for the passed refactoring.
Parameters: refactoring - Refactoring, the handler should be plugged in. Instance of GuardedBlockHandler or null if the handler is not applicable tothe passed refactoring. |
|
|