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 defects #258167, #171272 and #170574 (and possibly others). NetBeans run into issues when the IDE tries to declare a symbol based on expression's type. The function could be exported from javac through TypeUtilities. See the attached diff.
Created attachment 159780 [details] Proposed changes
Implemented in jet-main#c84429acf8b0
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c84429acf8b0 User: Svata Dedic <sdedic@netbeans.org> Log: #262073: API to construct a type denotable in the source