Introduction

This document lists changes made to the Editor Hints SPI.


Index of APIs

Incompatible changes by date

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.

All changes by date

Changes by version

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

Changes by affected class

org.netbeans.modules.java.hints.test.api.HintTest


Details of all changes by API and date


Java Hints Test API

Assertion for missing fixes

May 24 '16; API spec. version: 1.18; affected top-level classes: HintTest; made by: sdedic
A method assertFixesNotPresent was added to easily detect that fix is gone if e.g. some precondition is not met.

Allowed to check a single hint

Apr 3 '13; API spec. version: 1.9; affected top-level classes: HintTest; made by: sdedic; issues: #227962
New method run(Class, String) was added so that hint with a specific ID can be run, if the class contains multiple hint implementations.

Added assertFixes method to HintWarning

Mar 22 '13; API spec. version: 1.8; affected top-level classes: 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.

Added assertFixes method to HintWarning

Mar 30 '12; API spec. version: 1.1; affected top-level classes: HintTest; made by: jlahoda; issues: #209828
Added assertFixes method to HintWarning

Built on December 12 2017.  |  Portions Copyright 1997-2017 Oracle. All rights reserved.