Interface BlockTransformer
- All Superinterfaces:
Transformer
- All Known Implementing Classes:
BlockStatementTransform,ConditionDetection,LabelledBlocks,LoopDetection,SwitchDetection
A Transform capable of running over an individual block.
Created by covers1624 on 19/4/21.
-
Method Summary
Modifier and TypeMethodDescriptionvoidtransform(Block block, BlockTransformContext ctx) Runs the transform on the specified block.Methods inherited from interface net.covers1624.coffeegrinder.bytecode.transform.Transformer
getName, stepType
-
Method Details
-
transform
Runs the transform on the specified block.- Parameters:
block- The block to transform.ctx- Additional context provided to the transform.
-