package ca.mcgill.ecse.dslreasoner.realistic.metrics.calculator.validation; import ca.mcgill.ecse.dslreasoner.realistic.metrics.calculator.app.Domain; import java.util.ArrayList; import java.util.Map; import org.eclipse.emf.ecore.EObject; @SuppressWarnings("all") public class ViolationCheck { /** * Return the total number of violations */ public static int calculateViolationCounts(final EObject root, final Domain d) { throw new Error("Unresolved compilation problems:" + "\nThe method loadConstraints(String) from the type ViolationCheck refers to the missing type IConstraintSpecification" + "\nThe constructor ConstraintCollection(List, BaseGeneratedPatternGroup) refers to the missing type IConstraintSpecification"); } /** * return a map contain the count for each type of violation */ public static Map violationMaps(final EObject root) { throw new Error("Unresolved compilation problems:" + "\nThe method loadConstraints(String) from the type ViolationCheck refers to the missing type IConstraintSpecification" + "\nThe constructor ConstraintCollection(List, BaseGeneratedPatternGroup) refers to the missing type IConstraintSpecification"); } public static /* ArrayList */Object loadConstraints(final String packageName) { throw new Error("Unresolved compilation problems:" + "\nIConstraintSpecification cannot be resolved to a type." + "\nIConstraintSpecification cannot be resolved to a type." + "\nThe method or field IConstraintSpecification is undefined"); } }