public class InstrumentationProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
byte[] |
findClassBody(String className)
Finds class object corresponding to the class name and returns its
bytecode.
|
void |
getClassesNames(LinkedBlockingQueue<String> queue,
Boolean abort)
Inserts names of classes into queue.
|
void |
setClassBody(String cname,
byte[] nwBody) |
public void setClassBody(String cname, byte[] nwBody) throws UnmodifiableClassException
UnmodifiableClassExceptionpublic byte[] findClassBody(String className) throws UnmodifiableClassException
className - name of class we want to getUnmodifiableClassException - if the class can not be retransformedpublic void getClassesNames(LinkedBlockingQueue<String> queue, Boolean abort) throws InterruptedException
queue - output queueabort - abort signalInterruptedExceptionCopyright © 2019. All Rights Reserved.