NOTES: action specific language injections can be found in the language injections document.
Mandatory builder class calls
Certain action Builder classes have properties that if are unset, i.e. no Builder method is called to set that property, the action would not execute. This inspection can recognize such calls.
It can report both individual missing calls, and multiple calls if two or more are required to be missing to cause the action execution to fail.
The following are analyzed:
- Missing pair of
sourceFile(), or missing pair of
InputAction.Builder#answers with no answer specified
InputAction.Builder#answers() method requires at least one argument to be specified, otherwise it throws an exception. Thus, this inspection reports such calls.
Class references for
To make the navigation to specified classes easier, fully qualified classnames in
className(String) have class references attached, so that Ctrl+click and similar actions can be used on them.
Throwable class reference for
Action.Builder#exception() has an overload with a String argument that accepts fully qualified names of Java
In order to make the work with this String argument simpler, a reference is attached to it, so that it is easier to navigate to the class when needed, with Ctrl+click.
This inspection reports various issues with configuration of exceptions:
- when the fully qualified name specified in
exception(String)is not an implementation of