FieldTransformer

class FieldTransformer(val scriptIdentifier: Identifier, val props: TransformerPropertiesStore, val targetClassName: String, val name: String, block: FieldNode.() -> Unit) : Transformer<FieldNode> (source)

Applies transformations to a Field.

Constructors

Link copied to clipboard
internal constructor(scriptIdentifier: Identifier, props: TransformerPropertiesStore, targetClassName: String, name: String, block: FieldNode.() -> Unit)

Properties

Link copied to clipboard
Link copied to clipboard

Additional transformer properties

Link copied to clipboard
open override val scriptIdentifier: Identifier

The owner script's identifier

Link copied to clipboard
open override val targetClassName: String

The name of the class to select for transformation

Functions

Link copied to clipboard
open override fun visit(node: FieldNode)

Transform an arbitrary object of this transformer's type.