Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139829

JShell API: No use of fields to return information from public types

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b123
    • Verification:
      Verified

      Description

      * No use of fields to return information from public types, including enums. Using a field is over-committing to an implementation detail; use a method instead.

      Enum Snippet.Status: isActive, isDefined
      Enum Snippet.Kind: isPersistent
      Enum SourceCodeAnalysis.Completeness: isComplete
      Class SourceCodeAnalysis.CompletionInfo: all fields
      Class SourceCodeAnalysis.Suggestion: all fields

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rfield Robert Field
              Reporter:
              rfield Robert Field
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: