Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1762

Instrumentation of method references with no compilation errors

XMLWordPrintable

    • Severity 2 - Major

      In CLOV-1596 we've prepared a solution for JDK8 streams based on rewriting expression-like lambda functions into lambda code blocks. However, this technique cannot be applied to method references (as we don't know number of arguments to be passed).

      Figure out how to fix this.

      Ideas:

      • type casts -> not promising
      • chaning signature to "<T> T lambdaInc(int, T, int)" -> not promising
      • dedicated lambdaInc wrappers -> promising but very complex
      • ...

              Unassigned Unassigned
              mparfianowicz Marek Parfianowicz
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: