private synchronized JavaProjectSources getWorkspaceSources0() throws CoreException { if (javaProjectSources == null) { javaProjectSources = new JavaProjectSources(); javaProjectSources.initialize(); } return javaProjectSources; }
public void stop(BundleContext context) throws Exception { backgroundJob.cancel(); backgroundJob = null; javaProjectSources.close(); javaProjectSources = null; plugin = null; super.stop(context); }