Invention Grant
- Patent Title: System and method for supporting compatibility checking for lambda expression
-
Application No.: US15402319Application Date: 2017-01-10
-
Publication No.: US10209970B2Publication Date: 2019-02-19
- Inventor: Brian Goetz , Daniel Smith , Maurizio Cimadamore
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Invoke
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F8/41 ; G06F8/30

Abstract:
A system and method can support compatibility checking in a programming language environment. The programming language environment can check whether a target type associated with an expression in the programming language environment is functional, wherein the target type is functional when it has exactly one method meeting one or more criteria that define that method as relevant in a counting system. Then, the programming language environment can derive a function descriptor from the target type, which is context-dependent. Furthermore, the programming language environment can type-check the expression with the function descriptor associated with the target type.
Public/Granted literature
- US20170147302A1 SYSTEM AND METHOD FOR SUPPORTING COMPATIBILITY CHECKING FOR LAMBDA EXPRESSION Public/Granted day:2017-05-25
Information query