ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Speaking of deprecation...
Date Sat, 09 Feb 2002 21:17:20 GMT
On Sun, 10 Feb 2002 01:31, Jose Alberto Fernandez wrote:
> Talking about replication, is it there a way to find out if a method or
> class is deprecated by using reflection?

Nope - it is available via the byte code.

> Could our Introspection code do the same and provide remove the burden from
> the code writer? There are several things that could be achieved this way,
> for example we could automagically manage using attributes with new
> signatures (and not just assume that String versions are inferior.

The best way to do it would be to get XDoclet to generate the metainfo and 
base introspection off the metainfo.

-- 
Cheers,

Pete

--------------------------------
 These aren't the droids you're 
 looking for. Move along. 
--------------------------------

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message