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

Jeri Lockhart <[email protected]> Wed, 20 Jul 2005 11:33:48 -0700
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Martin,
Is there an IZ number that I can track for this?
Thanks,
--Jeri

Martin Matula wrote:

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