List of usage examples for com.google.common.reflect Parameter getDeclaringInvokable
public Invokable<?, ?> getDeclaringInvokable()
From source file:org.immutables.eventual.Providers.java
Dependency<ListenableFuture<?>> extractDependency(Errors methodErrors, Parameter parameter) { @Nullable/*from w w w.j a v a2 s .c o m*/ Annotation bindingAnnotation = Annotations.findBindingAnnotation(methodErrors, parameter.getDeclaringInvokable(), parameter.getAnnotations()); return Dependency.get(futureKey(parameter.getType(), bindingAnnotation)); }