public class Bytecode extends Object
| Constructor and Description |
|---|
Bytecode(String className,
byte[] bytes)
constructor from class name and bytecode bytes.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
gets the bytecode bytes.
|
String |
getClassName()
gets the class name.
|
String |
toString()
returns a string suitable for logging.
|
public Bytecode(String className, byte[] bytes)
className - class namebytes - bytecode bytesNullPointerException - if any argument is nullpublic String getClassName()
public byte[] getBytes()