private static String getQualifiedName(int baseNameLength, String classPath) {
	  logger.info("Computing fully qualified name from" + classPath + " by removing "
			  + baseNameLength + " characters from the start");
	  // A plugin cannot be an internal class
	  if ((! classPath.endsWith(".class")) || (classPath.indexOf('$') != -1)) {
		  return null;
	  }
	  classPath = classPath.substring(baseNameLength).replace(File.separatorChar, '.');
	  // removing .class at end
	  logger.info("Fully qualified name of the class: " + classPath);
	  return classPath.substring(0, classPath.lastIndexOf('.'));
  }