booster / com.didiglobal.booster.transform

Package com.didiglobal.booster.transform

提供了与字节码操作相关的高层次 API

提供了通用的字节码操作相关的 SPI

Types

AbstractKlassPool

Represents an abstraction of KlassPool

abstract class AbstractKlassPool : KlassPool

AbstractTransformContext

abstract class AbstractTransformContext : TransformContext

ArtifactManager

Represents a manager of build artifacts

interface ArtifactManager

Collector

A collector is used for collecting information from the transform pipeline, it's a complementary of Transformer which is a one-way pipeline

interface Collector<R>

Klass

Represents a mirror of a specific class

interface Klass

KlassPool

Represents a class pool

interface KlassPool : Closeable

Supervisor

A supervisor is used for observing information from the transform pipeline, and it never causes the input out-of-date

interface Supervisor : Collector<Unit>

TransformContext

Represent the transform context

interface TransformContext

Transformer

Represents bytecode transformer

interface Transformer : TransformListener

TransformListener

Represents the transform lifecycle listener

interface TransformListener

VariantTransformHelper

Represents transform helper associates with variant

class VariantTransformHelper : TransformHelper

Exceptions

TransformException

class TransformException : Exception

Extensions for External Classes

com.android.build.gradle.api.BaseVariant