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

              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: