Interface IClassBytecodeProvider


public interface IClassBytecodeProvider
Interface for object which can provide class bytecode
  • Method Summary

    Modifier and Type
    Method
    Description
    org.objectweb.asm.tree.ClassNode
    Retrieve transformed class as an ASM tree
    org.objectweb.asm.tree.ClassNode
    getClassNode(String name, boolean runTransformers)
    Retrieve transformed class as an ASM tree
    org.objectweb.asm.tree.ClassNode
    getClassNode(String name, boolean runTransformers, int readerFlags)
    Retrieve transformed class as an ASM tree
  • Method Details

    • getClassNode

      org.objectweb.asm.tree.ClassNode getClassNode(String name) throws ClassNotFoundException, IOException
      Retrieve transformed class as an ASM tree
      Parameters:
      name - full class name
      Returns:
      tree
      Throws:
      ClassNotFoundException - if class not found
      IOException - propagated
    • getClassNode

      org.objectweb.asm.tree.ClassNode getClassNode(String name, boolean runTransformers) throws ClassNotFoundException, IOException
      Retrieve transformed class as an ASM tree
      Parameters:
      name - full class name
      runTransformers - true to run transformers when loading the class
      Returns:
      tree
      Throws:
      ClassNotFoundException - if class not found
      IOException - propagated
    • getClassNode

      org.objectweb.asm.tree.ClassNode getClassNode(String name, boolean runTransformers, int readerFlags) throws ClassNotFoundException, IOException
      Retrieve transformed class as an ASM tree
      Parameters:
      name - full class name
      runTransformers - true to run transformers when loading the class
      readerFlags - Flags to pass in to ClassReader.accept
      Returns:
      tree
      Throws:
      ClassNotFoundException - if class not found
      IOException - propagated