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 - Introduce ElementUtilities.findElement, Context.isAvailable and DefaultRuleUtilities.isAvailable
Summary: Introduce ElementUtilities.findElement, Context.isAvailable and DefaultRuleUt...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2013-03-11 13:18 UTC by Jan Lahoda
Modified: 2013-04-04 12:28 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed change. (27.94 KB, patch)
2013-03-11 13:20 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a9d7ac074126
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #227285: Introducing ElementUtilities.findElement, Context.isAvailable and DefaultRuleUtilities.isAvailable