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

cdc.mf.checks.nodes.enumerations.DefaultEnumerationChecker Maven / Gradle / Ivy

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

import cdc.issues.checks.CompositeChecker;
import cdc.issues.checks.LazyChecker;
import cdc.issues.checks.SnapshotManager;
import cdc.mf.checks.nodes.classes.DefaultClassesChecker;
import cdc.mf.checks.nodes.interfaces.DefaultInterfacesChecker;
import cdc.mf.checks.nodes.operations.DefaultOperationsChecker;
import cdc.mf.checks.nodes.tags.DefaultTagsChecker;
import cdc.mf.model.MfEnumeration;

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy