Bug 423721 SWT workspace is full of SWT tools errors
1.Pull the latest SWT source code. 2.Enable SWT Tools > report 32/64 bit problems. 3.Rebuild the project. Project is filled with errors: [32/64] Syntax error, annotations are only available if source level is 1.5 or greater The problem is in the SWT tools. There are more than 900 errors now in the workspace and its easy to miss any valid 32/64 bit errors because of this. We need to fix the tools before making any Java 1.5 language changes to the SWT source code.
bundles/org.eclipse.swt.tools/src/org/eclipse/swt/tools/builders/Check64CompilationParticipant.java
return file.getAbsolutePath();
	}
	return null;
}
@SuppressWarnings("deprecation")
TypeDeclaration loadType(HashMap<String, TypeDeclaration> cache, String path) {
	if (path == null) return null;
	Object value = cache.get(path);
	if (value != null) return (TypeDeclaration)value;
	ASTParser parser = ASTParser.newParser(AST.JLS3);
	parser.setSource(loadFile(path).toCharArray());
	CompilationUnit unit = (CompilationUnit)parser.createAST(null);
	TypeDeclaration type = (TypeDeclaration)unit.types().get(0);
	cache.put(path, type);
	return type;
}
boolean is64Type(String type) {
	return type.equals("int") || type.equals("long") || type.equals("float") || type.equals("double") || 
			type.equals("int[]") || type.equals("long[]") || type.equals("float[]") || type.equals("double[]");
}
void createBadOverwrittenMethodProblems(IJavaProject project, String root) throws CoreException {
	if (sources == null) return;
	IProject proj = project.getProject();
	HashMap<String, TypeDeclaration> cache = new HashMap<String, TypeDeclaration>();
	for (Iterator<String> iterator = sources.iterator(); iterator.hasNext();) {
		String path = iterator.next();
		IResource resource = getResourceWithoutErrors(proj, path, false);
		if (resource == null) continue;
		TypeDeclaration type = loadType(cache, path);
		MethodDeclaration[] methods = type.getMethods();