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

Need isDefault() to identify default constructors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • None

      Need isDefault() to identify default constructors.
      Allows comment-checking doclets to distinguish
      between explicit constructors missing a comment
      and auto-generated constructors missing from the
      source code.

      Our programming guidelines say that default
      constructors should be avoided. This would
      allow us to test for their presence and emit
      a warning when Javadoc is run.

            gafter Neal Gafter (Inactive)
            dkramersunw Douglas Kramer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: