Package org.spongepowered.asm.service
Interface IClassBytecodeProvider
public interface IClassBytecodeProvider
Interface for object which can provide class bytecode
-
Method Summary
Modifier and Type Method Description org.objectweb.asm.tree.ClassNodegetClassNode(java.lang.String name)Retrieve transformed class as an ASM treeorg.objectweb.asm.tree.ClassNodegetClassNode(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.IOExceptionRetrieve transformed class as an ASM tree- Parameters:
name- full class name- Returns:
- tree
- Throws:
java.lang.ClassNotFoundException- if class not foundjava.io.IOException- propagated
-
getClassNode
org.objectweb.asm.tree.ClassNode getClassNode(java.lang.String name, boolean runTransformers) throws java.lang.ClassNotFoundException, java.io.IOExceptionRetrieve transformed class as an ASM tree- Parameters:
name- full class namerunTransformers- true to run transformers when loading the class- Returns:
- tree
- Throws:
java.lang.ClassNotFoundException- if class not foundjava.io.IOException- propagated
-