Using ToolWindowManager.registerToolWindow without internal API

I’d like to use ToolWindowManager.registerToolWindow(id: String, builder: RegisterToolWindowTaskBuilder.() -> Unit): ToolWindow in a plugin.

The method is inline and is NOT marked as @Internal, but it’s using @Internal method
fun registerToolWindow(task: RegisterToolWindowTask): ToolWindow.

The inlined use of the internal method is flagged by the plugin verifier, as far as I understand.

Is the method I’d like to use @Internal API or is it okay to use it?
Thanks!

This is the recommended method for programmatic registration, so it should be OK AFAIU.

Moving to Verifier category to investigate flagging this method

Seems known issue https://youtrack.jetbrains.com/issue/MP-6705/API-for-dynamically-showing-Tool-Window-triggers-verification-error-for-internal-API-use

Ah, thanks! Didn’t think of searching YouTrack for API issues.