mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java inspection: Renamed the inspection "Replace method reference with lambda" to a noun-based name - documentation improved. (IDEA-157727)
This commit is contained in:
+3
-1
@@ -1,6 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports method references.
|
||||
This inspection reports method references, like <code>MyClass::myMethod</code> and <code>myObject::myMethod</code>.
|
||||
<p> The quick fix for the inspection replaces the method reference with an equivalent lambda expression that invokes the method.
|
||||
<p>For example, the method reference <code>System.out::println</code> is replaced with
|
||||
<code>s -> System.out.println(s)</code>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user