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

Remove unused and partially implemented JavacElements#getSourcePosition methods

    XMLWordPrintable

Details

    • b153
    • Not verified

    Description

      JavacSourcePosition's documentation says: "Implementation of model API SourcePosition based on javac internal state." That model API class does not exist, and the methods are never used in javac. They can be removed.

      `getSourcePosition(Element, AnnotationMirror, AnnotationValue)` was never implemented, and has a matching TODO to `getTreeAndTopLevel(Element, AnnotationMirror, AnnotationValue) ` (see JDK-6388543).

      Attachments

        Issue Links

          Activity

            People

              vromero Vicente Arturo Romero Zaldivar
              cushon Liam Miller-Cushon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: