private String parseResourcePath(JavaClass klass)
{
JavaSourceFacet java = project.getFacet(JavaSourceFacet.class);
ResourcePathVisitor visitor = new ResourcePathVisitor(klass.getName());
java.visitJavaSources(visitor);
return visitor.getPath();
}
/**
* Obtains the root path for REST resources so that the AngularJS resource factory will be generated with the correct