[jboss-dev] Why doesn't Deprecated have a reason/value attribute

Scott Stark sstark at redhat.com
Wed Feb 18 14:26:52 EST 2009


I suppose. I'm using both the javadoc tag and annotation to allow people 
to know what the deprecation means.

David M. Lloyd wrote:
> On 02/18/2009 01:11 PM, Scott Stark wrote:
>> Anyone know why the jdk Deprecated does not have a reason or some 
>> such attribute?
>
> My guess is because that info is documentation, so you should put it 
> in the javadocs anyway.  Though I don't believe that allows them to 
> show the message at compile time, which is a seemingly important time 
> to show that info.
>
> - DML
>




More information about the jboss-development mailing list