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 253232

Summary: Declarative hint should match member references
Product: java Reporter: Ralph Ruijs <ralphbenjamin>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P1    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 253042    

Description Ralph Ruijs 2015-06-29 09:24:42 UTC
Currently I'm not able to match a member reference as the :: is used for the constraints.

I would like to do:
    A::new($1) :: $1 instanceof java.lang.String => A::create;;