Class BlockStatementTransform
java.lang.Object
net.covers1624.coffeegrinder.bytecode.transform.BlockStatementTransform
- All Implemented Interfaces:
BlockTransformer,Transformer
Created by covers1624 on 21/7/21.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()static BlockStatementTransformof(String name, StatementTransformer... transforms) voidtransform(Block block, BlockTransformContext bCtx) Runs the transform on the specified block.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.covers1624.coffeegrinder.bytecode.transform.Transformer
stepType
-
Method Details
-
of
-
transform
Description copied from interface:BlockTransformerRuns the transform on the specified block.- Specified by:
transformin interfaceBlockTransformer- Parameters:
block- The block to transform.bCtx- Additional context provided to the transform.
-
getName
- Specified by:
getNamein interfaceTransformer
-