IJP-1077 Inlay hints: new settings UI

java annotations

GitOrigin-RevId: 41b45d5bda07dccc15869e8269f58b7d6a3e9120
This commit is contained in:
Dmitry Avdeev
2021-10-07 14:58:12 +00:00
committed by intellij-monorepo-bot
parent 6453e2963c
commit 86216d7231
4 changed files with 9 additions and 0 deletions
@@ -0,0 +1 @@
@Deprecated public length(double x)
@@ -0,0 +1 @@
public length (@NotNull double x)
@@ -162,6 +162,11 @@ class AnnotationInlayProvider : InlayHintsProvider<AnnotationInlayProvider.Setti
get() = JavaBundle.message("settings.inlay.java.annotations")
override val key: SettingsKey<Settings>
get() = ourKey
override fun getProperty(key: String): String {
return JavaBundle.message(key)
}
override val previewText: String? = null
override fun createConfigurable(settings: Settings): ImmediateConfigurable {
@@ -1197,6 +1197,8 @@ inlay.JavaLens.usages=The number of usages of the class or method in the project
inlay.JavaLens.inheritors=The number of descendants the class or interface has. Click the hint to navigate to the code that inherits from this class or interface.
inlay.MethodChainsInlayProvider.description=Method return types in call chains.
inlay.RelatedProblems.description=The number of problems in the project related to the class or member signature. For example: missing parameters, wrong return type, and so on.<br><br>The hint does not appear for the problems within the same file.
inlay.annotation.hints.inferred.annotations=Annotations that IntelliJ IDEA generates by scanning libraries and project code. These annotations help you understand code contracts and improve the capabilities of static analysis. They include: <br> @Contract <br> @Nullable <br> @NotNull <br> @Unmodifiable <br>@UnmodifiableView <br><br><a href='https://www.jetbrains.com/help/idea/inferring-nullity.html#inferred-annotations'>Documentation</a>
inlay.annotation.hints.external.annotations=Annotations that are stored outside your source code.<br>These annotations are useful when you need an annotation, but adding it to the source code is not an option (for example, when working with a library code).<br><br><a href='https://www.jetbrains.com/help/idea/external-annotations.html'>Documentation</a>
show.import.popup.for.classes=&Classes
show.import.popup.for.static.methods.and.fields=&Static methods and fields
exclude.import.wildcard.comment=Use the * wildcard to exclude all members of a specified class or package