[ 
https://issues.apache.org/jira/browse/BCEL-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Herbert updated BCEL-165:
------------------------------
    Priority:   (was: P2)

> getAnnotationEntries methods in JavaClass and FieldOrMethod duplicate code
> --------------------------------------------------------------------------
>
>                 Key: BCEL-165
>                 URL: https://issues.apache.org/jira/browse/BCEL-165
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: unspecified
>         Environment: Operating System: All
> Platform: Macintosh
>            Reporter: Charles Honton
>            Assignee: Apache Commons Developers
>             Fix For: 6.0
>
>         Attachments: refactorGetAnnotations.diff
>
>
> JavaClass.getAnnotationEntries() and FieldOrMethod.getAnnotationEntries() are 
> overly complex. 
> FieldOrMethod.addAnnotationEntry() appears to be in the wrong place - 
> FieldGenOrMethodGen.addAnnotationEntry() is the proper method to use.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to