isInterface

open override fun isInterface(className: ClassName): Boolean

Looks up a class and returns whether or not it is an interface. Note that this class can be Java or Kotlin, so Metadata should not be relied on for this.

Return

whether or not it is an interface.

Parameters

className

The ClassName representation of the class.