public abstract static class ClassInjector.AbstractBase extends Object implements ClassInjector
ClassInjector.AbstractBase, ClassInjector.UsingInstrumentation, ClassInjector.UsingJna, ClassInjector.UsingLookup, ClassInjector.UsingReflection, ClassInjector.UsingUnsafe
ALLOW_EXISTING_TYPES, SUPPRESS_ACCESS_CHECKS
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
Map<TypeDescription,Class<?>> |
inject(Map<? extends TypeDescription,byte[]> types)
Injects the given types into the represented class loader.
|
Map<TypeDescription,Class<?>> |
inject(Set<? extends TypeDescription> types,
ClassFileLocator classFileLocator)
Injects the given types into the represented class loader.
|
Map<String,Class<?>> |
injectRaw(Map<String,byte[]> types)
Injects the given types into the represented class loader.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
injectRaw, isAlive
public Map<TypeDescription,Class<?>> inject(Set<? extends TypeDescription> types, ClassFileLocator classFileLocator)
inject
in interface ClassInjector
types
- The types to load via injection.classFileLocator
- The class file locator to use for resolving binary representations.public Map<TypeDescription,Class<?>> inject(Map<? extends TypeDescription,byte[]> types)
inject
in interface ClassInjector
types
- The types to load via injection.public Map<String,Class<?>> injectRaw(Map<String,byte[]> types)
injectRaw
in interface ClassInjector
types
- The names of the type to load via injection.Copyright © 2014–2025. All rights reserved.