// file associated with
// the class file and query it for
// compilation errors
IJavaProject pro = JavaCore
.create(resource.getProject());
ISourceAttribute sourceAttribute = reader
.getSourceFileAttribute();
String sourceName = null;
if (sourceAttribute != null) {
sourceName = new String(
sourceAttribute
.getSourceFileName());
}
IResource sourceFile = getSourceFile(
pro, qualifiedName, sourceName);
if (sourceFile != null) {