JavaConventions.validateClasspath(
IJavaProject javaProject,
IClasspathEntry[] rawClasspath,
IPath projectOutputLocation)
Validate a given classpath and output location for a project, using the following rules:
Classpath entries cannot collide with each other; that is, all entry paths must be unique.
JavaConventions.validateClasspathEntry(
IJavaProject project,
IClasspathEntry entry,
boolean checkSourceAttachment)
Returns a Java model status describing the problem related to this classpath entry if any,
a status object with code IStatus.OK if the entry is fine (that is, if the
given classpath entry denotes a valid element to be referenced onto a classpath).