public interface BytecodeProvider
Modifier and Type | Method and Description |
---|---|
byte[] |
getBytecode(java.lang.String className,
java.lang.ClassLoader loader)
Returns the bytecode for a specific class.
|
byte[] getBytecode(java.lang.String className, java.lang.ClassLoader loader) throws java.lang.Exception
className
- the fully qualified name of the classloader
- the class loader that has loaded the classjava.lang.Exception
- upon failure