title: Is spotbugs compatible with Kotlin?
body: <p>When running spotbugs on a Kolin project I get errors such as:</p>
  
  <blockquote>
    <p>[ERROR] Private method com.example.CSVRecord.component1() is never called [com.example.CSVRecord] In CSVRecord.kt UPM_UNCALLED_PRIVATE_METHOD</p>
  </blockquote>
  
  <p>on classes such as:</p>
  
  <pre><code>data class CSVRecord(private val columns: SortedSet&lt;CSVColumn&gt;) : Iterable&lt;String&gt; {
  
      override fun iterator(): Iterator&lt;String&gt; {
          return columns.map { it.value }.iterator()
      }
  }
  </code></pre>
  
  <p>I'm not really clear where <code>component1</code> came from!</p>