void () { SuggestedNameInfo info = JavaCodeStyleManager.getInstance(getProject()) .suggestVariableName(VariableKind.LOCAL_VARIABLE, "hello?world", null, PsiTypes.intType(), true); assertEquals(List.of("i"), List.of(info.names)); }