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.
There seems to be no real documentation of java.hints.declarative beyond Geertjan's blog post [1] or just reading source code (esp. DefaultRuleUtilities). Such a key feature deserves clear documentation, particularly when the syntax (including declarative tests!) is so hard to guess at, and feedback on incorrect syntax is minimal. There should be a help topic for this, perhaps under Refactoring Java Source (in java.helpset). Context help should be bound to this from the *.hint/*.test editor, and from the Inspect and Transform dialog, and from the Jackpot Rules Debug Window. [1] https://blogs.oracle.com/geertjan/entry/custom_declarative_hints_in_netbeans
https://bitbucket.org/jlahoda/jackpot30/wiki/RulesLanguage apparently has some information too.
Assigning to Ken (who can assign it to someone in docs org). They should work with Jan Lahoda on this.
Assigning to Alyona
spi.java.hints Javadoc also has some related information (in @TriggerPattern.value), but nbbuild/build.properties does not list it so this Javadoc is not being published!
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0f93efc07cbf User: Jan Lahoda <jlahoda@netbeans.org> Log: #210023: including spi.java.hints' javadoc in the list of under-development javadocs
For example, is there any equivalent to https://gcc.gnu.org/onlinedocs/cpp/Stringification.html so I can replace @AnnotationTakingNumber(123) with @AnnotationTakingString("#123") ?
http://wiki.netbeans.org/JavaDeclarativeHintsFormat has the best I've seen so far