Closed rpau closed 6 years ago
The system was assuming that method references could be only used from arguments to run lambda expressions.
However, functions such as Supplier can also be instantiated as method references.
This patch fixes it by recursively analyzing the scope of the scope if it has not been analyzed before.
The system was assuming that method references could be only used from arguments to run lambda expressions.
However, functions such as Supplier can also be instantiated as method references.
This patch fixes it by recursively analyzing the scope of the scope if it has not been analyzed before.