Interface ClassTransformer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ClassTransformer
Represents a class bytecode transformer. Provides support for modifying classes as they are loaded by StriderLoader.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    transform(String className, byte[] bytecode)
    Transforms the class bytecode.
  • Method Details

    • transform

      byte[] transform(String className, byte[] bytecode)
      Transforms the class bytecode.
      Parameters:
      className - binary class name
      bytecode - original class bytecode
      Returns:
      transformed bytecode