ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Declarative Programming in Java
Subject:   <code>Deprecated</code> annotation
Date:   2004-05-01 18:29:17
From:   pmattos
Just a minor question: Shouldn't the Deprecated annotation have a retention policy of CLASS instead of SOURCE? If not, how the compiler will warn about deprecated elements when you compiling your code againt raw .class files?


Congrats on the excellent article.


1 to 1 of 1
1 to 1 of 1