Package | Description |
---|---|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
TypeResolutionStrategy.Active.Resolved
A resolved version of an active type resolution strategy.
|
static class |
TypeResolutionStrategy.Disabled
A type resolution strategy that does not allow for explicit loading of a class and that does not inject any code into the type initializer.
|
static class |
TypeResolutionStrategy.Lazy
A type resolution strategy that does not apply any
LoadedTypeInitializer s but only loads all types. |
static class |
TypeResolutionStrategy.Passive
A type resolution strategy that applies all
LoadedTypeInitializer after class loading using reflection. |
Modifier and Type | Method and Description |
---|---|
TypeResolutionStrategy.Resolved |
TypeResolutionStrategy.resolve()
Resolves a type resolution strategy for actual application.
|
TypeResolutionStrategy.Resolved |
TypeResolutionStrategy.Passive.resolve()
Resolves a type resolution strategy for actual application.
|
TypeResolutionStrategy.Resolved |
TypeResolutionStrategy.Active.resolve()
Resolves a type resolution strategy for actual application.
|
TypeResolutionStrategy.Resolved |
TypeResolutionStrategy.Lazy.resolve()
Resolves a type resolution strategy for actual application.
|
TypeResolutionStrategy.Resolved |
TypeResolutionStrategy.Disabled.resolve()
Resolves a type resolution strategy for actual application.
|
Constructor and Description |
---|
Unloaded(TypeDescription typeDescription,
byte[] binaryRepresentation,
LoadedTypeInitializer loadedTypeInitializer,
List<? extends DynamicType> auxiliaryTypes,
TypeResolutionStrategy.Resolved typeResolutionStrategy)
Creates a new unloaded representation of a dynamic type.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Unloaded<T> |
TypeWriter.make(TypeResolutionStrategy.Resolved typeResolver)
Creates the dynamic type that is described by this type writer.
|
DynamicType.Unloaded<S> |
TypeWriter.Default.make(TypeResolutionStrategy.Resolved typeResolutionStrategy)
Creates the dynamic type that is described by this type writer.
|
protected DynamicType.Unloaded<S> |
TypeWriter.Default.UnresolvedType.toDynamicType(TypeResolutionStrategy.Resolved typeResolutionStrategy)
Resolves this type to a dynamic type.
|
Copyright © 2014–2020. All rights reserved.