package _VisualDVM.Passes.All;
import _VisualDVM.Current;
import _VisualDVM.Global;
import _VisualDVM.Passes.Sapfor.SapforFilesModification;
//  SPF_LoopUnionCurrent (addOpt1_c -> file, addOpt2_c-> line)
public class SPF_LoopUnionCurrent extends SapforFilesModification {
    @Override
    protected boolean canStart(Object... args) throws Exception {
        if (super.canStart(args) && Global.mainModule.Check(Log, Current.File)) {
            addOpt1 = Global.mainModule.getFile().name;
            addOpt2 = String.valueOf(Global.mainModule.getFile().form.getEditor().getCurrentLine());
            return true;
        }
        return false;
    }
}
