Package net.bytebuddy.dynamic.loading
Class ClassInjector.AbstractBase
- java.lang.Object
-
- net.bytebuddy.dynamic.loading.ClassInjector.AbstractBase
-
- All Implemented Interfaces:
ClassInjector
- Direct Known Subclasses:
ClassInjector.UsingInstrumentation
,ClassInjector.UsingLookup
,ClassInjector.UsingReflection
,ClassInjector.UsingUnsafe
- Enclosing interface:
- ClassInjector
public abstract static class ClassInjector.AbstractBase extends java.lang.Object implements ClassInjector
An abstract base implementation of a class injector.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.loading.ClassInjector
ClassInjector.AbstractBase, ClassInjector.UsingInstrumentation, ClassInjector.UsingLookup, ClassInjector.UsingReflection, ClassInjector.UsingUnsafe
-
-
Field Summary
-
Fields inherited from interface net.bytebuddy.dynamic.loading.ClassInjector
ALLOW_EXISTING_TYPES, SUPPRESS_ACCESS_CHECKS
-
-
Constructor Summary
Constructors Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<TypeDescription,java.lang.Class<?>>
inject(java.util.Map<? extends TypeDescription,byte[]> types)
Injects the given types into the represented class loader.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.bytebuddy.dynamic.loading.ClassInjector
injectRaw, isAlive
-
-
-
-
Method Detail
-
inject
public java.util.Map<TypeDescription,java.lang.Class<?>> inject(java.util.Map<? extends TypeDescription,byte[]> types)
Injects the given types into the represented class loader.- Specified by:
inject
in interfaceClassInjector
- Parameters:
types
- The types to load via injection.- Returns:
- The loaded types that were passed as arguments.
-
-