ModelAccess composer = ModelAccess.getInstance();
IResource resource = marker.getResource();
className = serviceClass.substring(serviceClass.lastIndexOf("\\"), serviceClass.length());
String ns = serviceClass.replace(className, "");
IPath folderPath = composer.reverseResolve(resource.getProject(), ns);
if (folderPath == null) {
MessageDialog.openError(Display.getCurrent().getActiveShell(), "Error opening class wizard", "Could not open the New Class wizard. See the workspace log for details");
Logger.log(Logger.ERROR, "Unable to retrieve target folder from composer information");
return;