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.
Added factory methods to create an ElementHandle for package and type from a binary name. Currently an Element is needed to create an ElementHandle. Several APIs require ElementHandles. The API client who starts with a package (type) fqn or binary name needs to resolve an Element using javac Elements to create an ElementHandle. The elements resolution adds a non needed performance overhead. The newly added methods remove the overhead.
Created attachment 116278 [details] Diff file
The attached patch seems to be OK.
Fixed jet-main ef82400cf02f
Integrated into 'main-golden', will be available in build *201203150400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ef82400cf02f User: Tomas Zezula <tzezula@netbeans.org> Log: #209082:Added factory methods to create an ElementHandle from binary name