Package ideah.psi.api

Examples of ideah.psi.api.HPAbstractIdent


    }

    @NotNull
    public String getNodeText(@NotNull PsiElement element, boolean useFullName) {
        if (element instanceof HPAbstractIdent) {
            HPAbstractIdent ident = (HPAbstractIdent) element;
            String name = ident.getName();
            return name == null ? ident.getText() : name;
        }
        return element.getText();
    }
View Full Code Here


    }

    public String generateDoc(PsiElement element, PsiElement originalElement) {
        if (!(element instanceof HPAbstractIdent))
            return null;
        HPAbstractIdent ident = (HPAbstractIdent) element;
        TextRange range = ident.getTextRange();
        PsiFile psiFile = element.getContainingFile();
        VirtualFile file = psiFile.getVirtualFile();
        if (file == null)
            return null;
        // todo: run in event-dispatch thread
View Full Code Here

TOP

Related Classes of ideah.psi.api.HPAbstractIdent

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.