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 204582

Summary: LayerBuilder.instanceFile overload taking TypeMirror
Product: platform Reporter: Jesse Glick <jglick>
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal CC: jlahoda
Priority: P3 Keywords: API
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 190606    

Description Jesse Glick 2011-11-02 13:02:21 UTC
org.netbeans.modules.editor.mimelookup.CreateRegistrationProcessor seems to have copied & pasted a large block of code from LayerBuilder to check that an annotated element is assignable to a type which is not known statically. This should be moved back into LayerBuilder and take TypeMirror. (The existing code immediately converts a Class into a TypeMirror anyway.)