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

Summary: Add support for @IntegerOption for hints
Product: java Reporter: Svata Dedic <sdedic>
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal CC: jlahoda
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed hint annotation

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