This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
See screenshot: https://netbeans.org/bugzilla/attachment.cgi?id=156177 The lambda: (String s) -> "Hello " + s, "World" is not found. As the Java 8 lambdas unlike the BGGA Java lambdas have no functional types the Lambda expression is just an implementation of an functional interface. So it should be found in find usages. P2 as other IDEs JDev, Idea, works fine.
jet-main#ba0fae6c1671 Refactoring handles lambda expressions, but they seem missing from the ClassIndex. Please reassign if they are part of the index, but have to be handled differently. Thanks!
Integrated into 'main-silver', will be available in build *201509220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ba0fae6c1671 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #255393 - Find Usages does not find method implemented by lambda - 2
I will take a look.
Created attachment 156381 [details] Patch file
The patch covers an API change adding a SearchKind for lambda implementors and Find Usages fix for the lambdas.
(In reply to Tomas Zezula from comment #4) > Created attachment 156381 [details] > Patch file Patch looks good to me, I'll update the Change Method Parameters refactoring after it lands in jet-main.
Fixed jet-main 8adf4be5dc32
Integrated into 'main-silver', will be available in build *201509250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8adf4be5dc32 User: Tomas Zezula <tzezula@netbeans.org> Log: #255393:Find Usages does not find method implemented by lambda - 2