Re: [mdr-users] method annotation with attribute that refers to another annotation type

Jeri Lockhart <[email protected]> Tue, 19 Jul 2005 12:39:48 -0700
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
class file (source is not available)

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