Package com.intellij.util

Examples of com.intellij.util.ProcessingContext


        @NotNull
        @Override
        public PsiReference[] getReferencesByElement(@NotNull PsiElement element, @NotNull ProcessingContext context) {
          PsiReferenceProvider provider = JavaHelper.getJavaHelper(element.getProject()).getClassReferenceProvider();
          return provider == null ? PsiReference.EMPTY_ARRAY : provider.getReferencesByElement(element, new ProcessingContext());
        }
      });
  }
View Full Code Here


        process(o, holder);
      }

      @Override
      public void visitQAtom(@NotNull ErlangQAtom o) {
        if (ErlangPsiImplUtil.secondAtomInIsRecord().accepts(o, new ProcessingContext())) {
          process(o, holder);
        }
      }
    };
  }
View Full Code Here

  }

  private static boolean isRecordFunctionCallCompletion(@Nullable PsiElement previousByOffset) {
    PsiElement prevSibling = previousByOffset != null ? previousByOffset.getPrevSibling() : null;
    if (prevSibling == null) return false;
    return is(previousByOffset, ErlangTypes.ERL_COMMA) && inIsRecord(0).accepts(prevSibling, new ProcessingContext());
  }
View Full Code Here

TOP

Related Classes of com.intellij.util.ProcessingContext

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.