Bug 52979 - Method does not have a method to access parameter annotations
Summary: Method does not have a method to access parameter annotations
Status: RESOLVED FIXED
Alias: None
Product: BCEL - Now in Jira
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: Macintosh All
: P2 major
Target Milestone: ---
Assignee: issues@commons.apache.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 18:39 UTC by Chas Honton
Modified: 2012-04-10 21:39 UTC (History)
1 user (show)



Attachments
getParameterEntries implementation (6.76 KB, application/octet-stream)
2012-03-23 18:39 UTC, Chas Honton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chas Honton 2012-03-23 18:39:38 UTC
Created attachment 28503 [details]
getParameterEntries implementation

The org.apache.bcel.classfile.Method class does have a simple method to access the parameter annotations.  The attached diff provides this method and unit tests to prove the method.
Comment 1 Torsten Curdt 2012-04-10 21:39:13 UTC
Applied - with a few little changes. Mostly style and whitespace.
Method is final so I kept visibility of the added class var to private.