Thrift
  1. Thrift
  2. THRIFT-179

Generated code should incorporate per-field doc strings

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Java - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Generated java code for Thrift structs should have doc strings from the .thrift file. The information is all there, it's just not made part of the generated code.

      In the default java generator, the doc strings would go on the field declarations. In the bean style generator, the the doc string would go on both the generated getters and setters.

      1. thrift-179.patch
        3 kB
        Bryan Duxbury
      2. thrift-179-v2.patch
        4 kB
        Bryan Duxbury
      3. thrift-179-v3.patch
        4 kB
        Bryan Duxbury

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Bryan Duxbury
              Reporter:
              Bryan Duxbury
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development