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: | No Null pointer access hint like Eclispe in the Netbeans editor | ||
---|---|---|---|
Product: | editor | Reporter: | desmond_kirrane <desmond_kirrane> |
Component: | Hints & Annotations | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED WORKSFORME | ||
Severity: | blocker | CC: | geertjan, markiewb, muzPayne, tomwheeler |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://crazyjavahacking.org/the-story-of-javac-ast-visualization-on-netbeans-platform/ | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
desmond_kirrane
2009-02-26 12:20:19 UTC
Started working on as part of the First Patch Program... I am glad to here that! There is a sketchy prototype implementation in: http://hg.netbeans.org/main/contrib/file/tip/javahints/src/org/netbeans/modules/javahints/NPECheck.java which sometimes produces false positives (warnings that are not appropriate) and is quite slow because it tries to read @CheckForNull from project metadata (was done before the common annotations has been introduced, and can probably be removed now). Tests for the prototype are here: http://hg.netbeans.org/main/contrib/file/tip/javahints/test/unit/src/org/netbeans/modules/javahints/NPECheckTest.java What is the current state? You will now in 7.3 get a hint saying "Dereferencing null pointer". More info: https://blogs.oracle.com/geertjan/entry/netbeans_ide_7_3_knows (In reply to comment #4) > You will now in 7.3 get a hint saying "Dereferencing null pointer". > > More info: https://blogs.oracle.com/geertjan/entry/netbeans_ide_7_3_knows Thank you Geertjan. Why is this issue not marked as resolved? It probably should be. (In reply to comment #6) > It probably should be. So am resolving this issue as worksforme. |