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 227285

Summary: Introduce ElementUtilities.findElement, Context.isAvailable and DefaultRuleUtilities.isAvailable
Product: java Reporter: Jan Lahoda <jlahoda>
Component: HintsAssignee: apireviews <apireviews>
Severity: normal Keywords: API, API_REVIEW_FAST
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed change.

Description Jan Lahoda 2013-03-11 13:18:42 UTC
I would like to introduce a new method: ElementUtilities.findElement, that would allow the API client to a human-readable description of method or other element and receive an Element.

I would like to take advantage of this new method and added Context.isAvailable and DefaultRuleUtilities.isAvailable methods into the declarative hints API.
Comment 1 Jan Lahoda 2013-03-11 13:20:04 UTC
Created attachment 132460 [details]
Proposed change.
Comment 2 Jan Lahoda 2013-03-11 13:20:31 UTC
Please review, thanks.
Comment 3 Jan Lahoda 2013-03-18 11:41:28 UTC
Unless there are objections, I'll integrate tomorrow.
Comment 4 Quality Engineering 2013-03-24 01:54:50 UTC
Integrated into 'main-golden', will be available in build *201303232300* on (upload may still be in progress)
User: Jan Lahoda <>
Log: #227285: Introducing ElementUtilities.findElement, Context.isAvailable and DefaultRuleUtilities.isAvailable