Re: [mdr-users] method annotation with attribute that refers to another annotation type
Martin Matula <[email protected]> Wed, 20 Jul 2005 13:51:52 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Jeri Lockhart wrote: > class file (source is not available) OK, that explains it. In 4.1 we are not able to return attribute values from the class files. We are working on fixing this for NB 4.2. Martin > > --Jeri > > Martin Matula wrote: > >> Hi Jeri, >> >> Jeri Lockhart wrote: >> >>> I need to reverse engineer a method annotation that has an attribute >>> whose value is another annotation type, like this: >>> @Function(result=@FunctionResult(displayName="String Concatenator" ) ) >>> >>> But I'm getting null back from annotation.getAttributeValues(). >>> How can I get the value of the "displayName" in the above example? >> >> >> >> Is the source code for the above available? Or are you trying to >> reverse engineer a class file? >> Martin >>