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
org.netbeans.modules.java.hints.test.api.HintTest
HintTest
; made by: jlahoda
HintTestoptions
was added that allows to specify additional compiler options.
HintTest
; made by: sdedic
assertFixesNotPresent
was 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.applyFix
now enforces constraints for Inspect&Transform. Unless a hint
is marked as Options.QUERY
, Options.NO_BULK
or Kind.ACTION
,
the Fix
that is being applied is tested to be JavaFix
and repeatable,
which are the requirements of Inspect&Transform.
HintTest
; made by: jlahoda; issues:
#209828