void (@NotNull AbstractBasicJavaParsingTestCase thinJavaParsingTestCase) { thinJavaParsingTestCase.getProject() .registerService(LanguageLevelProjectExtension.class, new LanguageLevelProjectExtensionImpl(thinJavaParsingTestCase.getProject())); thinJavaParsingTestCase.addExplicit(LanguageASTFactory.INSTANCE, JavaLanguage.INSTANCE, new JavaASTFactory()); }