public static void completeVariableNameForRefactoring( Project project, Set<LookupElement> set, String prefix, PsiType varType, VariableKind varKind) { final CamelHumpMatcher camelHumpMatcher = new CamelHumpMatcher(prefix); JavaMemberNameCompletionContributor.completeVariableNameForRefactoring( project, set, camelHumpMatcher, varType, varKind, true, false); }
public static String[] completeVariableNameForRefactoring( JavaCodeStyleManager codeStyleManager, @Nullable final PsiType varType, final VariableKind varKind, SuggestedNameInfo suggestedNameInfo) { return JavaMemberNameCompletionContributor.completeVariableNameForRefactoring( codeStyleManager, new CamelHumpMatcher(""), varType, varKind, suggestedNameInfo, true, false); }