Rules which are marked with "Use type resolution" does not resovle the classpath of the corresponding java project. The check box "Enable using Java Project Build Path" is checked.
After a lock in the source i found out that the value is only check in net.sourceforge.pmd.eclipse.plugin.PMDPlugin.setJavaClassLoader. But this method is never called.
I need this for the CompareObjectEquals check resolve the enum type in the check this check for enum comparison with '=='.
Ulrich
This will be fixed with the next version.