Package com.dci.intellij.dbn.language.common.element.util

Examples of com.dci.intellij.dbn.language.common.element.util.IdentifierCategory


    }

    private boolean matchesRole(IdentifierPsiElement identifierPsiElement) {
        IdentifierElementType elementType = identifierPsiElement.getElementType();
        IdentifierCategory role = elementType.getIdentifierCategory();
        switch (identifierCategory) {
            case ALL: return true;
            case DEFINITION: return role == IdentifierCategory.DEFINITION || identifierPsiElement.isReferenceable();
            case REFERENCE: return role == IdentifierCategory.REFERENCE;
        }
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.language.common.element.util.IdentifierCategory

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.