public static class ClassLoadingStrategy.ForBootstrapInjection extends Object implements ClassLoadingStrategy
ClassLoadingStrategy.Configurable, ClassLoadingStrategy.Default, ClassLoadingStrategy.ForBootstrapInjection| Constructor and Description | 
|---|
| ForBootstrapInjection(Instrumentation instrumentation,
                     File folder)Creates a new injector which is capable of injecting classes into the bootstrap class loader. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object other) | 
| int | hashCode() | 
| Map<TypeDescription,Class<?>> | load(ClassLoader classLoader,
    Map<TypeDescription,byte[]> types)Loads a given collection of classes given their binary representation. | 
| String | toString() | 
public ForBootstrapInjection(Instrumentation instrumentation, File folder)
instrumentation - The instrumentation to use.folder - The folder to save jar files in.public Map<TypeDescription,Class<?>> load(ClassLoader classLoader, Map<TypeDescription,byte[]> types)
ClassLoadingStrategyload in interface ClassLoadingStrategyclassLoader - The class loader to used for loading the classes.types - Byte array representations of the types to be loaded mapped by their descriptions,
                    where an iteration order defines an order in which they are supposed to be loaded,
                    if relevant.Copyright © 2014–2015. All rights reserved.