This document lists changes made to the Editor Hints SPI.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.spi.editor.hints/0 > 1.20
HintTest; made by: jlahoda
HintTestoptionswas added that allows to specify additional compiler options.
HintTest; made by: sdedic
assertFixesNotPresentwas added to easily detect that fix is gone if e.g. some precondition is not met.
HintTest; made by: sdedic; issues: #227962
run(Class, String)was added so that hint with a specific ID can be run, if the class contains multiple hint implementations.
HintTest; made by: jlahoda; issues: #227271
HintTest.HintWarning.applyFixnow enforces constraints for Inspect&Transform. Unless a hint is marked as
Fixthat is being applied is tested to be
JavaFixand repeatable, which are the requirements of Inspect&Transform.
HintTest; made by: jlahoda; issues: #209828