/p>
<h2>How to fix it</h2>
<p>Replace <code>instance.get(index)</code> with <code>instance[index]</code>.</p>
<p>Replace <code>instance.set(index, value)</code> with <code>instance[index] = value</code>.</p>
<p>This also works with multi-index access operators.</p>
<h3>Code examples</h3>
<h4>Noncompliant code example</h4>
<pre>
interface Grid {
    operator fun get(row: Int, column: Int): Int
    operator fun set(row: Int, column: Int, value: Int)
}
</pre>
<pre data-diff-id="1" data-diff-type="noncompliant"