JBIDE-17185 org.jboss.tools.cdi.core.test failures on Windows

NamedBeanRefactoringTest is fixed on Windows.
[JBIDE-17261] Prepare for API change in JDT

Fix compilation errors rewlted to API change in JDT.