org.netbeans.modules.refactoring.api 1.26.0 1

org.netbeans.modules.refactoring.spi
Interface GuardedBlockHandlerFactory


public interface GuardedBlockHandlerFactory

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.


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.
 

Method Detail

createInstance

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.
Returns:
Instance of GuardedBlockHandler or null if the handler is not applicable to the passed refactoring.

org.netbeans.modules.refactoring.api 1.26.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.