Class UseEnumValues
java.lang.Object
de.firemage.autograder.core.integrated.IntegratedCheck
de.firemage.autograder.core.check.api.UseEnumValues
- All Implemented Interfaces:
Check
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheck(StaticAnalysis staticAnalysis, DynamicAnalysis dynamicAnalysis) static booleancheckEnumValues(spoon.reflect.declaration.CtEnum<?> ctEnum, boolean isOrdered, Collection<? extends spoon.reflect.declaration.CtEnumValue<?>> enumValues) Methods inherited from class de.firemage.autograder.core.integrated.IntegratedCheck
addLocalProblem, addLocalProblem, getLinter, getRoot, runMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.firemage.autograder.core.check.Check
maximumProblems, merge
-
Constructor Details
-
UseEnumValues
public UseEnumValues()
-
-
Method Details
-
checkEnumValues
public static boolean checkEnumValues(spoon.reflect.declaration.CtEnum<?> ctEnum, boolean isOrdered, Collection<? extends spoon.reflect.declaration.CtEnumValue<?>> enumValues) -
check
- Specified by:
checkin classIntegratedCheck
-