Interface BlockTransformer

All Superinterfaces:
Transformer
All Known Implementing Classes:
BlockStatementTransform, ConditionDetection, LabelledBlocks, LoopDetection, SwitchDetection

public interface BlockTransformer extends Transformer
A Transform capable of running over an individual block.

Created by covers1624 on 19/4/21.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Runs the transform on the specified block.

    Methods inherited from interface net.covers1624.coffeegrinder.bytecode.transform.Transformer

    getName, stepType
  • Method Details

    • transform

      void transform(Block block, BlockTransformContext ctx)
      Runs the transform on the specified block.
      Parameters:
      block - The block to transform.
      ctx - Additional context provided to the transform.