[JBIDE-17261] Prepare for API change in JDT

Fix compilation errors rewlted to API change in JDT.