Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APT - getting declared variables and parameter names

843810Feb 4 2005 — edited Aug 8 2006
Hi,

I would like start using APT, but if I am not mistaken, there are severe limitations what you can do with the tool. How is it possible to get the declared name of variables or parameters and methods from the apt tool?
@someAnnotation
public void someMethod(A para1, B para2) {...}
I would need to get the name of the method and the name of the parameters to generate new sourcecode (AspectJ -Source), how is this possible? Without the names I cannot call the method from another place right?

Where can I find the planned features for APT? It is a pitty that the tool is in a way very powerful and in another so limitated because you cannot extract the sourcecode or names.

Regards,
Klaas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 5 2006
Added on Feb 4 2005
8 comments
120 views