blob: 7eb3ec77eed22e895bb838e47aa75622b967dcb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
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<IConstraintSpecification>, BaseGeneratedPatternGroup) refers to the missing type IConstraintSpecification");
}
/**
* return a map contain the count for each type of violation
*/
public static Map<String, Integer> 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<IConstraintSpecification>, BaseGeneratedPatternGroup) refers to the missing type IConstraintSpecification");
}
public static /* ArrayList<IConstraintSpecification> */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");
}
}
|