booster / com.didiglobal.booster.transform.util / ClassDescriptorSupervisor

ClassDescriptorSupervisor

open class ClassDescriptorSupervisor : AbstractSupervisor<String>

A supervisor for class descriptor observing

Parameters

prefix - The prefix of class descriptor

Constructors

<init>

A supervisor for class descriptor observing

ClassDescriptorSupervisor(prefix: String, action: (String) -> Unit)

Functions

accept

Determine the input is acceptable by this collector

open fun accept(name: String): Boolean

collect

Returns the collected result, a non-null result means the matched input is out-of-date.

open fun collect(name: String, data: () -> ByteArray): Unit