Object obj = mp.getModelObject();
if (obj instanceof org.eclipse.jst.j2ee.webapplication.WebApp) {
return (new WebJ2EEDeploymentDescriptor((org.eclipse.jst.j2ee.webapplication.WebApp) obj));
}
else if (obj instanceof org.eclipse.jst.javaee.web.WebApp) {
return (new WebJavaEEDeploymentDescriptor((org.eclipse.jst.javaee.web.WebApp) obj));
}
else if (obj instanceof org.eclipse.jst.j2ee.application.Application) {
return (new ApplicationJ2EEDeploymentDescriptor((org.eclipse.jst.j2ee.application.Application) obj));
}
else if (obj instanceof org.eclipse.jst.javaee.application.Application) {