From 4e93617043d07987faaaee352e3a07416334f83a Mon Sep 17 00:00:00 2001 From: Pavel Dolgov Date: Thu, 11 Aug 2016 19:33:43 +0300 Subject: [PATCH] Java inspection: Renamed the inspection "Replace method reference with lambda" to a noun-based name - documentation improved. (IDEA-157727) --- .../MethodRefCanBeReplacedWithLambda.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodRefCanBeReplacedWithLambda.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodRefCanBeReplacedWithLambda.html index 0160b839a8f6..154b400da14c 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MethodRefCanBeReplacedWithLambda.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MethodRefCanBeReplacedWithLambda.html @@ -1,6 +1,8 @@ -This inspection reports method references. +This inspection reports method references, like MyClass::myMethod and myObject::myMethod.

The quick fix for the inspection replaces the method reference with an equivalent lambda expression that invokes the method. +

For example, the method reference System.out::println is replaced with +s -> System.out.println(s) \ No newline at end of file