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, likeMyClass::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