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 230035 - [Jackpot] Annotations do not work in rules language
Summary: [Jackpot] Annotations do not work in rules language
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks: 228709
  Show dependency tree
 
Reported: 2013-05-21 10:11 UTC by Ralph Ruijs
Modified: 2013-06-11 05:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2013-05-21 10:11:43 UTC
To support the Invert Boolean refactoring in Annotation Types I tried to update usages of an annotation with the following rule:

   @test.NewAnnotationType($pref$, isOK = $val, $suf$)
=> @test.NewAnnotationType($pref$, c = $val, $suf$)
;;


And also tried:

   @test.NewAnnotationType($pref$, isOK = $val, $suf$) $mods$ $type $method($params$) { $stmts$ }
=> @test.NewAnnotationType($pref$, c = $val, $suf$) $mods$ $type $method($params$) { $stmts$ }
;;


For the corresponding code, see #228709
Comment 1 Quality Engineering 2013-06-11 01:41:58 UTC
Integrated into 'main-golden', will be available in build *201306102301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4c17cde05938
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #230035: the rules language must support annotations