Package com.squareup.ideaplugin.dagger.handler

Examples of com.squareup.ideaplugin.dagger.handler.ProvidesToInjectHandler


      // Does it have an @Provides?
      if (hasAnnotation(element, CLASS_PROVIDES)) {
        PsiTypeElement returnTypeElement = methodElement.getReturnTypeElement();
        if (returnTypeElement != null) {
          return new LineMarkerInfo<PsiElement>(element, returnTypeElement.getTextRange(), ICON,
              UPDATE_ALL, null, new ProvidesToInjectHandler(), LEFT);
        }
      }

      // Is it an @Inject-able constructor?
      if (methodElement.isConstructor() && hasAnnotation(element, CLASS_INJECT)) {
View Full Code Here

TOP

Related Classes of com.squareup.ideaplugin.dagger.handler.ProvidesToInjectHandler

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.