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

Martin Matula <[email protected]> Tue, 19 Jul 2005 11:01:36 +0200
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
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