Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-12181

Evaluate provider type information also directly from annotations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Provider Type Checker Bnd Plugin 1.0.0
    • None
    • None

    Description

      Currently the check implemented in SLING-12026 only retrieves the provider type information from the META-INF/api-info.json (being generated by SLING-12135).
      As fallback there should be direct evaluation of the annotations.

      The logic needs to be the same as in https://github.com/bndtools/bnd/blob/d06df066f402f1433b70c51f568c40a444b4518d/biz.aQute.bndlib/src/aQute/bnd/osgi/Analyzer.java#L1991, i.e. the annotation provider type needs to be evaluated both on package as well as on type level.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: