public class ClassloaderByteArraySource extends Object implements ClassByteArraySource
Constructor and Description |
---|
ClassloaderByteArraySource(ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
static ClassloaderByteArraySource |
fromContext() |
Optional<byte[]> |
getBytes(String classname)
Returns bytes for a class represented in java/lang/String format
|
public ClassloaderByteArraySource(ClassLoader loader)
public static ClassloaderByteArraySource fromContext()
public Optional<byte[]> getBytes(String classname)
ClassByteArraySource
getBytes
in interface ClassByteArraySource
classname
- classname in com.example.Foo formatCopyright © 2021 org.pitest. All rights reserved.