Class UnusedCodeElementCheck
java.lang.Object
de.firemage.autograder.core.integrated.IntegratedCheck
de.firemage.autograder.core.check.unnecessary.UnusedCodeElementCheck
- All Implemented Interfaces:
Check
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheck(StaticAnalysis staticAnalysis, DynamicAnalysis dynamicAnalysis) static booleanisUnused(spoon.reflect.declaration.CtNamedElement ctElement, boolean hasMainMethod) Methods inherited from class de.firemage.autograder.core.integrated.IntegratedCheck
addLocalProblem, addLocalProblem, getLinter, getRoot, run
-
Constructor Details
-
UnusedCodeElementCheck
public UnusedCodeElementCheck()
-
-
Method Details
-
isUnused
public static boolean isUnused(spoon.reflect.declaration.CtNamedElement ctElement, boolean hasMainMethod) -
check
- Specified by:
checkin classIntegratedCheck
-
maximumProblems
-