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 225533 - New API methods to support Java 8 features
Summary: New API methods to support Java 8 features
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2013-01-30 13:33 UTC by Jan Lahoda
Modified: 2013-08-19 06:10 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed API change. (143.35 KB, patch)
2013-02-03 13:56 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2013-01-30 13:33:42 UTC
Several new API methods are needed to support Java 8 features:
ElementUtilities.isEffectivelyFinal
TreeMaker.TypeAnnotation
TreeMaker.LambdaExpression
TreeMaker.MemberReference
TypeUtilities.getDescriptorType
Comment 1 Jan Lahoda 2013-02-03 13:56:15 UTC
Created attachment 130963 [details]
Proposed API change.
Comment 2 Jan Lahoda 2013-02-03 13:58:05 UTC
Please review, thanks.
Comment 3 Jan Lahoda 2013-02-11 10:22:25 UTC
These additional methods are also part of the patch:
TreeMaker.addLambdaParameter
TreeMaker.insertLambdaParameter
TreeMaker.removeLambdaParameter
TreeMaker.setLambdaBody

If there are not objections, I plan to integrate the change this week.
Comment 4 Jan Lahoda 2013-08-19 06:10:58 UTC
Done (long time ago).