Looks like a missing feature/bug in Roaster.

getLiteralValue() should return the FQN if the annotation method is of type Class.

Can you create an issue in https://issues.jboss.org/browse/ROASTER?

Thanks.

George Gastaldi

Em 18/08/2015 17:50, "Doychin Bondzhev" <doychin@gmail.com> escreveu:
I also tried both case where primary key class is in the same package and in different package. In both cases I get only className.class
​Nothing about the package where it comes from.

Also how to check that it implements serializable?

This is a requirement of the Spring repository interfaces.

_______________________________________________
forge-dev mailing list
forge-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-dev