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 getClassNode​(java.lang.String name)
    Retrieve transformed class as an ASM tree
    org.objectweb.asm.tree.ClassNode getClassNode​(java.lang.String name, boolean runTransformers)
    Retrieve transformed class as an ASM tree
  • Method Details

    • getClassNode

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

      org.objectweb.asm.tree.ClassNode getClassNode​(java.lang.String name, boolean runTransformers) throws java.lang.ClassNotFoundException, java.io.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:
      java.lang.ClassNotFoundException - if class not found
      java.io.IOException - propagated