Class SurroundWithTryWithResourcesAction

  • All Implemented Interfaces:
    IAction, ISelectionChangedListener

    public class SurroundWithTryWithResourcesAction
    extends SelectionDispatchAction
    Action to surround a set of statements with a try-with-resources/catch block.

    This class may be instantiated; it is not intended to be subclassed.

    Since:
    3.21
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Detail

      • SurroundWithTryWithResourcesAction

        public SurroundWithTryWithResourcesAction​(org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor editor)
        Note: This constructor is for internal use only. Clients should not call this constructor.
        Parameters:
        editor - the compilation unit editor
        Restriction:
        This constructor is not intended to be referenced by clients.