Package com.intellij.coldFusion.model.psi

Examples of com.intellij.coldFusion.model.psi.CfmlFunctionCallExpression


  @Override
  protected void addCompletions(@NotNull CompletionParameters parameters,
                                ProcessingContext context,
                                @NotNull CompletionResultSet result) {
    PsiElement element = parameters.getPosition();
    CfmlFunctionCallExpression parentOfType = PsiTreeUtil.getParentOfType(element, CfmlFunctionCallExpression.class);
    if (parentOfType == null || !parentOfType.isCreateObject()) {
      return;
    }

    PsiElement parent = element.getParent();
    PsiElement parentSibling = parent != null ? parent.getPrevSibling() : null;
View Full Code Here


  @Override
  protected void addCompletions(@NotNull CompletionParameters parameters,
                                ProcessingContext context,
                                @NotNull final CompletionResultSet result) {
    PsiElement element = parameters.getPosition();
    CfmlFunctionCallExpression parentOfType = PsiTreeUtil.getParentOfType(element, CfmlFunctionCallExpression.class);
    if (parentOfType != null && parentOfType.isCreateObject()) {
      CfmlExpression[] arguments = parentOfType.getArguments();
      if (arguments.length == 2 && "\"java\"".equalsIgnoreCase(arguments[0].getText())) {
        AllClassesGetter
          .processJavaClasses(parameters, result.getPrefixMatcher(), parameters.getInvocationCount() <= 1, new Consumer<PsiClass>() {
            @Override
            public void consume(PsiClass psiClass) {
View Full Code Here

TOP

Related Classes of com.intellij.coldFusion.model.psi.CfmlFunctionCallExpression

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.