mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
17 lines
506 B
HTML
17 lines
506 B
HTML
<html>
|
|
<body>
|
|
Reports optionally expected annotations without actual annotation in some platform modules.
|
|
<p><b>Example:</b></p>
|
|
<pre><code>// common code
|
|
@OptionalExpectation
|
|
expect annotation class JvmName(val name: String)
|
|
|
|
@JvmName(name = "JvmFoo")
|
|
fun foo() { }
|
|
|
|
// jvm code
|
|
actual annotation class JvmName(val name: String)
|
|
</code></pre>
|
|
<p>The inspection also reports cases when <code>actual annotation class JvmName</code> is omitted for non-JVM platforms (for example, Native).</p>
|
|
</body>
|
|
</html> |