void () { runWithLanguageLevel(LanguageLevel.getLatest(), () -> { List<String> variants = doTestByFile(); assertContainsElements(variants, "class_attr"); assertDoesntContain(variants, "inst_attr"); }); }