Hi. I'm adding isExactInstanceOf to AnnotationType which is the same as isInstanceOf with the additional restriction that there are no extra annotations. E.g. if you have type A { foo => Color, bar => int } and two Annotations B { foo => red, bar => 1 } and C { foo => green, bar => 4, baz => 0.9 } then:
A.isInstanceOf(B) == true; A.isInstanceOf(C) == true; A.isExactInstanceOf(B) == true; A.isExactInstanceOf(C) == false; I hope this is usefull for somebody other than me. Matthew __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com _______________________________________________ Biojava-l mailing list - [EMAIL PROTECTED] http://biojava.org/mailman/listinfo/biojava-l