java.hints.test API to create tests for the custom Java hints.
HintTestoptions was added that allows to specify additional compiler options.
assertFixesNotPresent was added to easily detect that fix is gone if e.g. some precondition is not met.
run(Class, String) was added so that hint with a specific ID can be run, if the
class contains multiple hint implementations.
HintTest.HintWarning.applyFix now enforces constraints for Inspect&Transform. Unless a hint
is marked as
Fix that is being applied is tested to be
JavaFix and repeatable,
which are the requirements of Inspect&Transform.
Added assertFixes method to HintWarning
XXX no answer for arch-usecases
The sources for the module are in the NetBeans Mercurial repositories.
XXX no answer for deploy-dependencies
Read more about the implementation in the answers to architecture questions.