Package protobuf.lang.psi.PbPsiEnums

Examples of protobuf.lang.psi.PbPsiEnums.ReferenceKind


    public ReferenceKind getRefKind() {
        //todo caching kind
        PsiElement parent = getParent();
        if (parent instanceof PbRef) {
            ReferenceKind parentKind = ((PbRefImpl) parent).getRefKind();
            assert parentKind != null;
            switch (parentKind) {
                case FILE: {
                    return ReferenceKind.FILE;
                }
View Full Code Here


    public static class ExperimentalResolver implements ResolveCache.Resolver {

        @Override
        public PsiElement resolve(@NotNull PsiReference refElement, boolean incompleteCode) {
            final PbRefImpl ref = (PbRefImpl) refElement;
            final ReferenceKind refKind = ref.getRefKind();
            final PbRef qualifier = ref.getQualifierRef();
            switch (refKind) {
                case FILE: {
                    //todo
                    final String relativePath = PbTextUtil.trim(ref.getText(),'\"');                   
View Full Code Here

TOP

Related Classes of protobuf.lang.psi.PbPsiEnums.ReferenceKind

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.