DO NOT REPLY [Bug 52980] New: getAnnotationEntries methods in JavaClass and FieldOrMethod duplicate code

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 52980] New: getAnnotationEntries methods in JavaClass and FieldOrMethod duplicate code

Bugzilla from bugzilla@apache.org
https://issues.apache.org/bugzilla/show_bug.cgi?id=52980

             Bug #: 52980
           Summary: getAnnotationEntries methods in JavaClass and
                    FieldOrMethod duplicate code
           Product: BCEL
           Version: unspecified
          Platform: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]
    Classification: Unclassified


Created attachment 28504
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28504
refactoring of JavaClass, FieldOrMethod, and AnnotationEntry

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.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 52980] getAnnotationEntries methods in JavaClass and FieldOrMethod duplicate code

Bugzilla from bugzilla@apache.org
https://issues.apache.org/bugzilla/show_bug.cgi?id=52980

Chas Honton <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
         OS/Version|                            |All

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.