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 227822 - Add support for @IntegerOption for hints
Summary: Add support for @IntegerOption for hints
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2013-03-22 13:28 UTC by Svata Dedic
Modified: 2013-04-03 22:11 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Proposed hint annotation (4.13 KB, patch)
2013-03-22 13:28 UTC, Svata Dedic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2013-03-22 13:28:25 UTC
Created attachment 132948 [details]
Proposed hint annotation

I am writing some metric hints, which typically require some threshold and report if the actual values pass that threshold. Hints SPI now provide out-of-the-box support for boolean options, I would like to add integer options as well.

Please see the attached diff for a proposed annotation.
Comment 1 Svata Dedic 2013-04-02 20:22:58 UTC
No objections so far, I'm going to commit the change tomorrow.
Comment 2 Svata Dedic 2013-04-03 22:11:00 UTC
Implemented in http://hg.netbeans.org/jet-main/rev/b3842768a2b9