getMethod

abstract fun getMethod(name: String): MethodReference?

Returns the declared method identified by this name, or null if none exists.