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.
Summary: | not showing hints | ||
---|---|---|---|
Product: | java | Reporter: | FiruzzZ |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Windows 10 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | IDE log |
Description
FiruzzZ
2016-11-08 18:07:20 UTC
Created attachment 162829 [details]
IDE log
Later the IDE suggests me to "Assign Return Value to New Variable" but the signature of the method is: public void persist(ClienteActividadPago o) which inherits from an Abstract DAO Class -> public void persist(T entity) (In reply to FiruzzZ from comment #2) > Later the IDE suggests me to "Assign Return Value to New Variable" but the > signature of the method is: > public void persist(ClienteActividadPago o) which inherits from an Abstract > DAO Class -> public void persist(T entity) Accepting the suggestion creates an instance of ClienteActividadPagoDAO! Re. initial report - I could not reproduce it (missing hint). Please try to narrow the case to a simple source with no or little external dependencies which I can also download/use for testing. Re. comment #2 - it's a bug, fixed as jet-main#a61eb34271e8 Lowering priority. Integrated into 'main-silver', will be available in build *201705241652* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a61eb34271e8 User: Svata Dedic <sdedic@netbeans.org> Log: #268895: do not offer hint if the method return not assignable to the computed type of the to-be-declaration Integrated into 'main-silver', will be available in build *201706250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e0fc11955579 User: Svata Dedic <sdedic@netbeans.org> Log: #268895: fixed broken behaviour for generic return types |