This might be a very specific requirement, while I think it is rather
common in an AOP implementation.
so I was using Guice AOP with a generic class, and I bind the class with
TypeLiteral and Annotation.
```java
bind(new
TypeLiteral<GenericClass<String>>(){}).annotatedWith(Annotation1.class).to(...)
bind(new
TypeLiteral<GenericClass<String>>(){}).annotatedWith(Annotation2.class).to(...)
```
and then we used it directly in constructor injection.
now when I create an aspect on GenericClass, I want to know the current
instance annotation and its generic type, is it possible to do so in Guice?
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-guice/8c0b3a5b-8925-476c-bc06-5f5994a5772fn%40googlegroups.com.