Examples of resolveMethod()


Examples of com.intellij.psi.PsiMethodCallExpression.resolveMethod()

          }
        }
      }
    } else if (element instanceof PsiMethodCallExpression) {
      PsiMethodCallExpression expression = (PsiMethodCallExpression) element;
      PsiMethod psiMethod = expression.resolveMethod();
      if (psiMethod != null) {
        if (SubscriberMetadata.isBusPostMethod(psiMethod, element.getProject())) {
          PsiType[] expressionTypes = expression.getArgumentList().getExpressionTypes();
          if (expressionTypes.length > 0) {
            PsiClass eventClass = PsiConsultantImpl.getClass(expressionTypes[0]);
View Full Code Here

Examples of org.springframework.web.method.annotation.ExceptionHandlerMethodResolver.resolveMethod()

      ExceptionHandlerMethodResolver resolver = this.exceptionHandlerCache.get(handlerType);
      if (resolver == null) {
        resolver = new ExceptionHandlerMethodResolver(handlerType);
        this.exceptionHandlerCache.put(handlerType, resolver);
      }
      Method method = resolver.resolveMethod(exception);
      if (method != null) {
        return new ServletInvocableHandlerMethod(handlerMethod.getBean(), method);
      }
    }
    for (Entry<ControllerAdviceBean, ExceptionHandlerMethodResolver> entry : this.exceptionHandlerAdviceCache.entrySet()) {
View Full Code Here

Examples of org.springframework.web.method.annotation.ExceptionHandlerMethodResolver.resolveMethod()

      ExceptionHandlerMethodResolver resolver = this.exceptionHandlerCache.get(handlerType);
      if (resolver == null) {
        resolver = new ExceptionHandlerMethodResolver(handlerType);
        this.exceptionHandlerCache.put(handlerType, resolver);
      }
      Method method = resolver.resolveMethod(exception);
      if (method != null) {
        return new ServletInvocableHandlerMethod(handlerMethod.getBean(), method);
      }
    }
View Full Code Here

Examples of org.springframework.web.method.annotation.ExceptionHandlerMethodResolver.resolveMethod()

    }

    for (Entry<ControllerAdviceBean, ExceptionHandlerMethodResolver> entry : this.exceptionHandlerAdviceCache.entrySet()) {
      if (entry.getKey().isApplicableToBeanType(handlerType)) {
        ExceptionHandlerMethodResolver resolver = entry.getValue();
        Method method = resolver.resolveMethod(exception);
        if (method != null) {
          return new ServletInvocableHandlerMethod(entry.getKey().resolveBean(), method);
        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.