Source source = sourceLoader.load(className);
if (source.getLines().isEmpty()) {
throw new IllegalStateException("Failed to load source for class " + className);
}
ClassIssues issues = issuesReporter.determineIssues(classCost);
String displayName = className;
if (displayName.startsWith(PACKAGE_PREFIX)) {
displayName = displayName.substring(PACKAGE_PREFIX.length());
}
int indexOfLastPackageSeparator = displayName.lastIndexOf(".");