/** * Creates the JAX-RS Application type or define it in the web.xml, depending on the user's * choice. */ @Override public void createType(final IProgressMonitor monitor) throws CoreException, InterruptedException { if (applicationMode == APPLICATION_JAVA) { super.createType(monitor); } else if (applicationMode == APPLICATION_WEB_XML) { createWebXmlApplication(monitor); } }