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.
To prevent copy-pasting it would be great to have (at least) org.netbeans.modules.editor.java.Utilities.getTypeName() or corresponding visitor available in form of an API.