Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-37403

Add a convenience static method for getting @Symbol values off an object

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It'd be convenient to have something on SymbolLookup that would take an object, get its class, get the @Symbol annotation on that class if it exists, and either return the value (if it exists and isn't null) or null. I've found myself writing this code in a few places already, so centralizing it seems wise.

        Attachments

          Issue Links

            Activity

            abayer Andrew Bayer created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 10 (Web Link)" [ 14729 ]
            jglick Jesse Glick made changes -
            Link This issue is blocking JENKINS-37397 [ JENKINS-37397 ]
            jglick Jesse Glick made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            abayer Andrew Bayer made changes -
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]
            jglick Jesse Glick made changes -
            Link This issue is blocked by JENKINS-37820 [ JENKINS-37820 ]

              People

              Assignee:
              abayer Andrew Bayer
              Reporter:
              abayer Andrew Bayer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: