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 - LayerBuilder.instanceFile overload taking TypeMirror
Summary: LayerBuilder.instanceFile overload taking TypeMirror
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords: API
Depends on:
Blocks: 190606
  Show dependency tree
 
Reported: 2011-11-02 13:02 UTC by Jesse Glick
Modified: 2013-05-30 13:58 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 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.)