/**
 * Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package eu.itesla_project.iidm.network;

/**
 *
 * @author Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
 */
public abstract class EquipmentTopologyVisitor extends AbstractTopologyVisitor {

    public abstract void visitEquipment(Connectable eq);

    @Override
    public void visitLine(Line line, TwoTerminalsConnectable.Side side) {
        visitEquipment(line);
    }

    @Override
    public void visitTwoWindingsTransformer(TwoWindingsTransformer transformer, TwoTerminalsConnectable.Side side) {
        visitEquipment(transformer);
    }

    @Override
    public void visitThreeWindingsTransformer(ThreeWindingsTransformer transformer, ThreeWindingsTransformer.Side side) {
        visitEquipment(transformer);
    }

    @Override
    public void visitGenerator(Generator generator) {
        visitEquipment(generator);
    }

    @Override
    public void visitLoad(Load load) {
        visitEquipment(load);
    }

    @Override
    public void visitShuntCompensator(ShuntCompensator sc) {
        visitEquipment(sc);
    }

    @Override
    public void visitDanglingLine(DanglingLine danglingLine) {
        visitEquipment(danglingLine);
    }

    @Override
    public void visitStaticVarCompensator(StaticVarCompensator staticVarCompensator) {
        visitEquipment(staticVarCompensator);
    }

    @Override
    public void visitHvdcConverterStation(HvdcConverterStation<?> converterStation) {
        visitEquipment(converterStation);
    }
}

@@ -529,16 +529,43 @@
 abstract
+ %3CI extends Connectable%3CI%3E%3E
  void vi
@@ -588,16 +588,19 @@
 nectable
+%3CI%3E
  eq);%0A%0A 

Add type information to visitEquipment