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.

Bug 236574 - Code completion missing after the stream API calls which contains lambda expression
Summary: Code completion missing after the stream API calls which contains lambda expr...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-30 22:48 UTC by Martin Fousek
Modified: 2014-01-16 02:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-09-30 22:48:17 UTC
Discovered in the NetBeans IDE Dev (Build 20130930-dffe29db3c50). Code completion is missing after the stream API method calls which has lambdas expression as a parameter:
#{['pear', 'whatever'].stream().allMatch(i->cob.isInteger(i)).|}
Comment 1 Martin Fousek 2014-01-14 14:57:00 UTC
There shouldn't be any completion for the last method 'allMatch' which returns boolean. But in cases like 'filter', 'flatMap', 'peek' it doesn't work as well.
Comment 2 Martin Fousek 2014-01-14 16:05:18 UTC
Fixed in web-main #d1590cf6a095.
Comment 3 Quality Engineering 2014-01-16 02:43:20 UTC
Integrated into 'main-silver', will be available in build *201401160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d1590cf6a095
User: Martin Fousek <marfous@netbeans.org>
Log: #236574 - Code completion missing after the stream API calls which contains lambda expression