methods

Methods matcher, contains constructor (method name: <init>) and static block (method name: <clinit>).

----------------

方法列表匹配器,包含构造函数(方法名:)以及静态代码块(方法名: <clinit>)。

methods(MethodsMatcher().add(MethodMatcher().name("method")))

Return

ClassMatcher

Parameters

methods

methods matcher / 方法匹配器


inline fun methods(init: MethodsMatcher.() -> Unit): ClassMatcher

See also