in agent/src/jetbrains/buildServer/xmlReportPlugin/parsers/findBugs/FindBugsReportParser.java [196:214]
private String findFile(@Nullable String sourcepath, @Nullable String clazz) {
String file = null;
if (sourcepath != null && sourcepath.length() > 0) {
file = myFileFinder.getVeryFullFilePath(sourcepath);
}
if (file == null && clazz != null && clazz.length() > 0) {
if (clazz.contains("$")) {
clazz = clazz.substring(0, clazz.indexOf("$"));
}
//noinspection ConstantConditions
file = myFileFinder.getVeryFullFilePath(clazz.replace(".", File.separator) + ".class");
}
if (file != null) return file;
if (sourcepath != null) return sourcepath;
return clazz;
}