Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5614

Make isDTOType(Class<?> cls) publicly available

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Converter
    • Labels:
      None

      Description

      In ConvertingImpl, which a (bundle private) implementation class, there is a (class private) method: isDTOType(Class<?> cls)

      Since this is a rule based on the definition of a DTO in the spec, it would be nice to make this test somehow available publicly for general use (including by other bundles).

      It tedious for each user of the API to write their own test if an authoritative test is already available.

      For my particular use case, the Schematizer needs to test a class to determine whether or not it is a DTO in order to know how to handle it. Having the test available (without having to copy over the code from the Converter) would be quite useful..

        Attachments

          Activity

            People

            • Assignee:
              bosschaert David Bosschaert
              Reporter:
              dleangen David Leangen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: