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

[local-methods] Add finder support for methods that could be turned into local methods

XMLWordPrintable

    • generic
    • generic

      ATM, these would be private methods that have a single caller (but potentially multiple call sites) ignoring any recursive calls. Also ATM, any method that a method reference expression resolves/binds to or any generic method that is invoked with explicit type arguments are disqualified since if they are rendered local, there is no way to use them in method references or invoke them with explicit type witnesses. This may change in future as we define additional syntax for supporting these use cases.

            sadayapalam Srikanth Adayapalam (Inactive)
            sadayapalam Srikanth Adayapalam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: