[jboss-dev-forums] [Design of JBossXB] - Re: annotations on properties declared in interfaces

wolfc do-not-reply at jboss.com
Thu Oct 25 12:04:20 EDT 2007


Just what I thought, both problems are related because of generics.
This construct breaks the lot:
interface MyInterface<X>
  | {
  |   void setA(X x);
  | }
  | 
  | class Something implements MyInterface<SomethingElse>
  | {
  |   @MyAnnotation
  |   void setA(SomethingElse x) { }
  | }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098903#4098903

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098903



More information about the jboss-dev-forums mailing list