I am having no end of problems trying to figure out how to get TypeLiteral 
to resolve a type parameter.

I am creating a custom binder with method

    public <T> AnnotatedAuditLoggerBinder bind(Class<T> recordClass)

which wants to create a binding for AuditLogger<T> with T resolved to 

I have a Provider<AuditLogger<T>> which I can construct for appropriate 

I cannot figure out how to get a suitably resolved TypeLiteral with which 
to call getReturnType().

You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-guice+unsubscr...@googlegroups.com.
To post to this group, send email to google-guice@googlegroups.com.
Visit this group at https://groups.google.com/group/google-guice.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to