IJPL-245459 [java]: improve intention description and add <spot> to before template

GitOrigin-RevId: 37580b99e518d31b6038e2971a85403dbb729fed
This commit is contained in:
Bas Leijdekkers
2026-06-12 20:33:30 +00:00
committed by intellij-monorepo-bot
parent 1aa2b351b1
commit 1b54162084
2 changed files with 7 additions and 3 deletions
@@ -1,5 +1,5 @@
class A {
Object getObject() {
Object <spot>getObject</spot>() {
//do smth
return null;
}
@@ -1,4 +1,8 @@
<html><body>
Adds an annotation, for example @Nullable/@NotNull, to the selected element. If the code belongs to a library,
the annotation will be stored in a separate file.
Adds an annotation, for example <code>@Nullable</code> or <code>@NotNull</code>, to the selected element.
The annotation will be stored in a separate <code>annotations.xml</code> file.
<p>
This intention is available in the editor when the <em>Use external annotations</em> option is enabled under
<a href="settings://preferences.sourceCode.JAVA?Use%20external%20annotations">Settings | Editor | Code Style | Java | Code Generation</a>.
</p>
</body></html>