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.UsingJna
,ClassInjector.UsingLookup
,ClassInjector.UsingReflection
,ClassInjector.UsingUnsafe
- Enclosing interface:
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.UsingJna, 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 -
Method Summary
Modifier and TypeMethodDescriptionMap
<TypeDescription, Class<?>> inject
(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
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
inject
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.
-