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 224295 - Add "Create constructor" hint
Summary: Add "Create constructor" hint
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-28 22:15 UTC by _ gtzabari
Modified: 2018-03-23 13:46 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2012-12-28 22:15:40 UTC
1. Given:

public class CompanyResource
{
    private final WebResource resource;
}

2. Netbeans complains: "variable resource might not have been initialized"

I propose adding a new hint to create a constructor if none already exists.
Comment 1 Martin Balin 2016-07-07 07:31:32 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 2 _ gtzabari 2016-07-07 18:28:46 UTC
This issue is still present in dev build 201607060002. Reopening.
Comment 3 Christian Lenz 2018-03-23 13:46:11 UTC
I think we can close this and discuss it further here: https://issues.apache.org/jira/browse/NETBEANS-506