mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
24 lines
532 B
HTML
24 lines
532 B
HTML
<html>
|
|
<body>
|
|
Reports inconsistent parameter names for <b>Java</b> method calls specified in a comment block.
|
|
<p><b>Examples:</b></p>
|
|
<pre><code>
|
|
// Java
|
|
public class JavaService {
|
|
public void invoke(String command) {}
|
|
}
|
|
</code></pre>
|
|
<pre><code>
|
|
// Kotlin
|
|
fun main() {
|
|
JavaService().invoke(/* name = */ "fix")
|
|
}
|
|
</code></pre>
|
|
<p>The quick fix corrects the parameter name in the comment block:</p>
|
|
<pre><code>
|
|
fun main() {
|
|
JavaService().invoke(/* command = */ "fix")
|
|
}
|
|
</code></pre>
|
|
</body>
|
|
</html> |