Package com.google.gimlet.inject.introspectingscoper

Examples of com.google.gimlet.inject.introspectingscoper.CaptureInScope


    for (Entry<Method, Object> entry : invocationResults.entrySet()) {
      Method method = entry.getKey();
      Object result = entry.getValue();

      CaptureInScope annotation;
      annotation = Preconditions
          .checkNotNull(method.getAnnotation(CaptureInScope.class));
      Class<? extends Annotation> bindingAnnotation = annotation.value();
      // The construction of the key will fail if the annotation is not an
      // instance of BindingAnnotation. We could do a Preconditions check here,
      // but it'd be simply redundant.
      Key key = bindingAnnotation == DEFAULT_ANNOTATION_VALUE ?
                Key.get(method.getGenericReturnType()) :
View Full Code Here

TOP

Related Classes of com.google.gimlet.inject.introspectingscoper.CaptureInScope

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.