}
private void checkStatus(String superClassName, String methodName, String desc) throws KilimException {
int status = detector.getPausableStatus(superClassName, methodName, desc);
if ((status == Detector.PAUSABLE_METHOD_FOUND && !hasPausableAnnotation)) {
throw new KilimException("Base class method is pausable, derived class is not: " +
"\nBase class = " + superClassName +
"\nDerived class = " + this.classFlow.name +
"\nMethod = " + methodName + desc);
}
if (status == Detector.METHOD_NOT_PAUSABLE && hasPausableAnnotation) {
throw new KilimException("Base class method is not pausable, but derived class is: " +
"\nBase class = " + superClassName +
"\nDerived class = " + this.classFlow.name +
"\nMethod = " + methodName + desc);
}
}