public abstract static class ClassInjector.AbstractBase extends Object implements ClassInjector
ClassInjector.AbstractBase, ClassInjector.UsingInstrumentation, ClassInjector.UsingJna, ClassInjector.UsingLookup, ClassInjector.UsingReflection, ClassInjector.UsingUnsafe| Modifier and Type | Field and Description |
|---|---|
protected static Permission |
SUPPRESS_ACCESS_CHECKS
A permission for the
suppressAccessChecks permission or null if not supported. |
ALLOW_EXISTING_TYPES| 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, waitinjectRaw, isAlive@MaybeNull protected static final Permission SUPPRESS_ACCESS_CHECKS
suppressAccessChecks permission or null if not supported.public Map<TypeDescription,Class<?>> inject(Set<? extends TypeDescription> types, ClassFileLocator classFileLocator)
inject in interface ClassInjectortypes - 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 ClassInjectortypes - The types to load via injection.public Map<String,Class<?>> injectRaw(Map<String,byte[]> types)
injectRaw in interface ClassInjectortypes - The names of the type to load via injection.Copyright © 2014–2025. All rights reserved.