mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
17 lines
563 B
HTML
17 lines
563 B
HTML
<html>
|
|
<body>
|
|
Reports method references, like <code>MyClass::myMethod</code> and <code>myObject::myMethod</code>,
|
|
and suggests replacing them with an equivalent lambda expression.
|
|
<p>Lambda expressions can be easier to modify than method references.</p>
|
|
<p>Example:</p>
|
|
<pre><code>
|
|
System.out::println
|
|
</code></pre>
|
|
<p>After the quick-fix is applied: </p>
|
|
<pre><code>
|
|
s -> System.out.println(s)
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
<p>By default, this inspection does not highlight the code in the editor, but only provides a quick-fix.</p>
|
|
</body>
|
|
</html> |