public class InstrumentingClassLoader extends ClassLoader
| Constructor and Description |
|---|
InstrumentingClassLoader()
Constructor for InstrumentingClassLoader.
|
InstrumentingClassLoader(boolean isRegression)
Constructor for InstrumentingClassLoader.
|
InstrumentingClassLoader(BytecodeInstrumentation instrumentation)
Constructor for InstrumentingClassLoader.
|
| Modifier and Type | Method and Description |
|---|---|
BytecodeInstrumentation |
getInstrumentation() |
Set<String> |
getLoadedClasses() |
protected byte[] |
getTransformedBytes(String className,
InputStream is) |
List<String> |
getViewOfInstrumentedClasses() |
Class<?> |
loadClass(String name) |
Class<?> |
loadClassFromFile(String fullyQualifiedTargetClass,
String fileName) |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic InstrumentingClassLoader()
Constructor for InstrumentingClassLoader.
public InstrumentingClassLoader(boolean isRegression)
Constructor for InstrumentingClassLoader.
public InstrumentingClassLoader(BytecodeInstrumentation instrumentation)
Constructor for InstrumentingClassLoader.
instrumentation - a BytecodeInstrumentation
object.public Class<?> loadClassFromFile(String fullyQualifiedTargetClass, String fileName) throws ClassNotFoundException
ClassNotFoundExceptionpublic Class<?> loadClass(String name) throws ClassNotFoundException
loadClass in class ClassLoaderClassNotFoundExceptionprotected byte[] getTransformedBytes(String className, InputStream is) throws IOException
IOExceptionpublic BytecodeInstrumentation getInstrumentation()
Copyright © 2010–2017 EvoSuite. All rights reserved.