SimpleJavaFileObject specification would benefit from implSpec

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: 23
    • Component/s: tools
    • b11

      Several of the methods of SimpleJavaFileObject are structured like:

      "This implementation always throws UnsupportedOperationException. Subclasses can change this behavior as long as the contract of $METHOD is obeyed."

      This idiom would be better captured using an implSpec tag and directed inheritance, something like:

      "{@inhertiDoc JavaFileObject}
       @implSpec his implementation always throws UnsupportedOperationException."

            Assignee:
            Joe Darcy
            Reporter:
            Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: