Sdk () { Sdk sdk = super.getSdk(); sdk = PsiTestUtil.modifyJdkRoots(sdk, modificator -> { modificator.setName(modificator.getName() + "-RootType" + AnnotationOrderRootType.getInstance().name()); modificator.removeRoots(AnnotationOrderRootType.getInstance()); }); sdk = PsiTestUtil.addRootsToJdk(sdk, AnnotationOrderRootType.getInstance(), getAnnotationsRoot()); return sdk; }