ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Bailliez" <sbaill...@apache.org>
Subject Re: Speaking of deprecation...
Date Sat, 09 Feb 2002 14:50:15 GMT
----- Original Message -----
From: "Jose Alberto Fernandez" <j_a_fernandez@yahoo.com>


>Talking about replication, is it there a way to find out if a method or
class is deprecated by using reflection?

Note that I know of via reflection but the info is available in the
bytecode.
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#78
232

>How do compilers and IDEs find this information out?

>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.

I'm not sure but maybe Erik had the idea of using XDoclet also for these
things.

Stephane



--
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