All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.mf.checks.nodes.interfaces.DefaultInterfaceChecker Maven / Gradle / Ivy

The newest version!
package cdc.mf.checks.nodes.interfaces;

import cdc.issues.checks.CompositeChecker;
import cdc.issues.checks.SnapshotManager;
import cdc.issues.checks.LazyChecker;
import cdc.mf.checks.nodes.classes.DefaultClassesChecker;
import cdc.mf.checks.nodes.enumerations.DefaultEnumerationsChecker;
import cdc.mf.checks.nodes.operations.DefaultOperationsChecker;
import cdc.mf.checks.nodes.tags.DefaultTagsChecker;
import cdc.mf.model.MfInterface;

public class DefaultInterfaceChecker extends CompositeChecker {
    public DefaultInterfaceChecker(SnapshotManager manager) {
        super(manager,
              MfInterface.class,
              new InterfaceNameIsMandatory(manager),
              new DefaultOperationsChecker(manager),
              new DefaultTagsChecker(manager),
              new LazyChecker<>(manager, MfInterface.class, DefaultClassesChecker.KEY),
              new LazyChecker<>(manager, MfInterface.class, DefaultEnumerationsChecker.KEY),
              new LazyChecker<>(manager, MfInterface.class, DefaultInterfacesChecker.KEY));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy