1 comment
Comment actions Permalink

You may look at com.intellij.psi.codeStyle.JavaCodeStyleManager#suggestVariableName(com.intellij.psi.codeStyle.VariableKind, java.lang.String, com.intellij.psi.PsiExpression, com.intellij.psi.PsiType, boolean) It uses everything IDEA knows about kind of variables, expressions, types, etc so it probably not so easy to repeat ouside of IDEA

Anna

0

Please sign in to leave a comment.