Package com.intellij.psi.codeStyle

Examples of com.intellij.psi.codeStyle.SuggestedNameInfo


        }

        final Project project = psiClass.getProject();
        final PsiClassType classType = PsiTypesUtil.getClassType(psiClass);
        final JavaCodeStyleManager codeStyleManager = JavaCodeStyleManager.getInstance(project);
        final SuggestedNameInfo info = codeStyleManager.suggestVariableName(VariableKind.LOCAL_VARIABLE, null, null, classType);

        final Set<String> variants = new HashSet<String>(Arrays.asList(info.names));
        variants.remove(ACTION_SUFFIX);

        // remove existing action-names
View Full Code Here

TOP

Related Classes of com.intellij.psi.codeStyle.SuggestedNameInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.