Uses of Interface
net.bytebuddy.dynamic.ClassFileLocator
-
Packages that use ClassFileLocator Package Description net.bytebuddy Byte Buddy is a library for creating Java classes at runtime of a Java program.net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.build A package for types that allow for applying Byte Buddy transformation during a build process.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.loading This package contains classes that are responsible for class loading of classes that are represented bybyte
arrays.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.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicType
by enhancing a given type.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes. -
-
Uses of ClassFileLocator in net.bytebuddy
Methods in net.bytebuddy with parameters of type ClassFileLocator Modifier and Type Method Description static ClassFileVersion
ClassFileVersion. of(java.lang.Class<?> type, ClassFileLocator classFileLocator)
Extracts a class' class version.static ClassFileVersion
ClassFileVersion. of(TypeDescription typeDescription, ClassFileLocator classFileLocator)
Extracts a class' class version.<T> DynamicType.Builder<T>
ByteBuddy. rebase(java.lang.Class<T> type, ClassFileLocator classFileLocator)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the rebased type's class such that the class's original can be invoked from the new method implementations.<T> DynamicType.Builder<T>
ByteBuddy. rebase(java.lang.Class<T> type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the rebased type's class such that the class's original can be invoked from the new method implementations.DynamicType.Builder<?>
ByteBuddy. rebase(java.lang.Package aPackage, ClassFileLocator classFileLocator)
Rebases a package.DynamicType.Builder<?>
ByteBuddy. rebase(PackageDescription aPackage, ClassFileLocator classFileLocator)
Rebases a package.<T> DynamicType.Builder<T>
ByteBuddy. rebase(TypeDescription type, ClassFileLocator classFileLocator)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the rebased type's class such that the class's original can be invoked from the new method implementations.<T> DynamicType.Builder<T>
ByteBuddy. rebase(TypeDescription type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the rebased type's class such that the class's original can be invoked from the new method implementations.<T> DynamicType.Builder<T>
ByteBuddy. redefine(java.lang.Class<T> type, ClassFileLocator classFileLocator)
Redefines the given type where any intercepted method that is declared by the redefined type is fully replaced by the new implementation.<T> DynamicType.Builder<T>
ByteBuddy. redefine(TypeDescription type, ClassFileLocator classFileLocator)
Redefines the given type where any intercepted method that is declared by the redefined type is fully replaced by the new implementation. -
Uses of ClassFileLocator in net.bytebuddy.agent.builder
Methods in net.bytebuddy.agent.builder that return ClassFileLocator Modifier and Type Method Description ClassFileLocator
AgentBuilder.LocationStrategy. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Creates a class file locator for a given class loader and module combination.ClassFileLocator
AgentBuilder.LocationStrategy.Compound. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
ClassFileLocator
AgentBuilder.LocationStrategy.NoOp. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
ClassFileLocator
AgentBuilder.LocationStrategy.Simple. classFileLocator(java.lang.ClassLoader classLoader, JavaModule module)
Methods in net.bytebuddy.agent.builder with parameters of type ClassFileLocator Modifier and Type Method Description byte[]
AgentBuilder.Default.Transformation.Resolution. apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, java.security.AccessControlContext accessControlContext, AgentBuilder.Listener listener)
Transforms a type or returnsnull
if a type is not to be transformed.byte[]
AgentBuilder.Default.Transformation.Resolution.Unresolved. apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, java.security.AccessControlContext accessControlContext, AgentBuilder.Listener listener)
byte[]
AgentBuilder.Default.Transformation.Simple.Resolution. apply(AgentBuilder.InitializationStrategy initializationStrategy, ClassFileLocator classFileLocator, AgentBuilder.TypeStrategy typeStrategy, ByteBuddy byteBuddy, AgentBuilder.Default.NativeMethodStrategy methodNameTransformer, AgentBuilder.Default.BootstrapInjectionStrategy bootstrapInjectionStrategy, java.security.AccessControlContext accessControlContext, AgentBuilder.Listener listener)
DynamicType.Builder<?>
AgentBuilder.TypeStrategy. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy.ForBuildEntryPoint. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
AgentBuilder.Transformer.ForAdvice
AgentBuilder.Transformer.ForAdvice. include(ClassFileLocator... classFileLocator)
Includes the supplied class file locators as a source for looking up an advice class or its dependencies.protected Advice
AgentBuilder.Transformer.ForAdvice.Entry.ForSplitAdvice. resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator)
protected Advice
AgentBuilder.Transformer.ForAdvice.Entry.ForUnifiedAdvice. resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator)
protected abstract Advice
AgentBuilder.Transformer.ForAdvice.Entry. resolve(Advice.WithCustomMapping advice, TypePool typePool, ClassFileLocator classFileLocator)
Resolves the advice for this entry.TypePool
AgentBuilder.PoolStrategy.ClassLoading. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
TypePool
AgentBuilder.PoolStrategy.Default. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
TypePool
AgentBuilder.PoolStrategy.Eager. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
TypePool
AgentBuilder.PoolStrategy. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
Creates a type pool for a given class file locator.TypePool
AgentBuilder.PoolStrategy.WithTypePoolCache. typePool(ClassFileLocator classFileLocator, java.lang.ClassLoader classLoader)
AgentBuilder.LocationStrategy
AgentBuilder.LocationStrategy.ForClassLoader. withFallbackTo(ClassFileLocator... classFileLocator)
Adds additional location strategies as fallbacks to this location strategy.Method parameters in net.bytebuddy.agent.builder with type arguments of type ClassFileLocator Modifier and Type Method Description AgentBuilder.Transformer.ForAdvice
AgentBuilder.Transformer.ForAdvice. include(java.util.List<? extends ClassFileLocator> classFileLocators)
Includes the supplied class file locators as a source for looking up an advice class or its dependencies.AgentBuilder.LocationStrategy
AgentBuilder.LocationStrategy.ForClassLoader. withFallbackTo(java.util.Collection<? extends ClassFileLocator> classFileLocators)
Adds additional location strategies as fallbacks to this location strategy.Constructors in net.bytebuddy.agent.builder with parameters of type ClassFileLocator Constructor Description ForAdvice(Advice.WithCustomMapping advice, StackManipulation exceptionHandler, Assigner assigner, ClassFileLocator classFileLocator, AgentBuilder.PoolStrategy poolStrategy, AgentBuilder.LocationStrategy locationStrategy, java.util.List<AgentBuilder.Transformer.ForAdvice.Entry> entries)
Creates a new advice transformer.Simple(ClassFileLocator classFileLocator)
A simple location strategy that queries a given class file locator. -
Uses of ClassFileLocator in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type ClassFileLocator Modifier and Type Method Description static Advice
Advice. to(java.lang.Class<?> enterAdvice, java.lang.Class<?> exitAdvice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.static Advice
Advice. to(java.lang.Class<?> advice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.static Advice
Advice. to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.protected static Advice
Advice. to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
Creates a new advice.static Advice
Advice. to(TypeDescription advice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.protected static Advice
Advice. to(TypeDescription advice, ClassFileLocator classFileLocator, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories)
Creates a new advice.Advice
Advice.WithCustomMapping. to(java.lang.Class<?> enterAdvice, java.lang.Class<?> exitAdvice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.Advice
Advice.WithCustomMapping. to(java.lang.Class<?> advice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.Advice
Advice.WithCustomMapping. to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.Advice
Advice.WithCustomMapping. to(TypeDescription advice, ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.Constructors in net.bytebuddy.asm with parameters of type ClassFileLocator Constructor Description ForClassFileLocator(ClassFileLocator classFileLocator)
Creates a new type pool resolver for a class file locator as a supplement of the implicit type pool.ForClassFileLocator(ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode)
Creates a new type pool resolver for a class file locator as a supplement of the implicit type pool. -
Uses of ClassFileLocator in net.bytebuddy.build
Methods in net.bytebuddy.build with parameters of type ClassFileLocator Modifier and Type Method Description DynamicType.Builder<?>
EntryPoint. transform(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Applies a transformation. -
Uses of ClassFileLocator in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement ClassFileLocator Modifier and Type Class Description static class
ClassFileLocator.AgentBased
A Java agent that allows the location of class files by emulating a retransformation.static class
ClassFileLocator.Compound
A compoundClassFileLocator
that chains several locators.static class
ClassFileLocator.ForClassLoader
A class file locator that queries a class loader for binary representations of class files.static class
ClassFileLocator.ForClassLoader.WeaklyReferenced
A class file locator that queries a class loader for binary representations of class files.static class
ClassFileLocator.ForFolder
A class file locator that finds files from a standardized Java folder structure with folders donating packages and class files being saved as<classname>.class
files within their package folder.static class
ClassFileLocator.ForJarFile
A class file locator that locates classes within a Java jar file.static class
ClassFileLocator.ForModule
A class file locator that locates class files by querying a Java module'sgetResourceAsStream
method.static class
ClassFileLocator.ForModule.WeaklyReferenced
A class file locator for a Java module that only references this module weakly.static class
ClassFileLocator.ForModuleFile
A class file locator that locates classes within a Java jmod file.static class
ClassFileLocator.NoOp
A class file locator that cannot locate any class files.static class
ClassFileLocator.PackageDiscriminating
A class file locator that discriminates by a type's package.static class
ClassFileLocator.Simple
A simple class file locator that returns class files from a selection of given types.Methods in net.bytebuddy.dynamic that return ClassFileLocator Modifier and Type Method Description static ClassFileLocator
ClassFileLocator.AgentBased. fromInstalledAgent(java.lang.ClassLoader classLoader)
Returns an agent-based class file locator for the given class loader and an already installed Byte Buddy-agent.static ClassFileLocator
ClassFileLocator.AgentBased. of(java.lang.instrument.Instrumentation instrumentation, java.lang.Class<?> type)
Returns a class file locator that is capable of locating a class file for the given type using the given instrumentation instance.static ClassFileLocator
ClassFileLocator.ForClassLoader. of(java.lang.ClassLoader classLoader)
Creates a class file locator for a given class loader.static ClassFileLocator
ClassFileLocator.ForClassLoader.WeaklyReferenced. of(java.lang.ClassLoader classLoader)
Creates a class file locator for a given class loader.static ClassFileLocator
ClassFileLocator.ForJarFile. of(java.io.File file)
Creates a new class file locator for the given jar file.static ClassFileLocator
ClassFileLocator.ForModule. of(JavaModule module)
Returns a class file locator for the provided module.static ClassFileLocator
ClassFileLocator.ForModule.WeaklyReferenced. of(JavaModule module)
Creates a class file locator for a Java module where the module is referenced weakly.static ClassFileLocator
ClassFileLocator.ForModuleFile. of(java.io.File file)
Returns a class file locator for the given module file.static ClassFileLocator
ClassFileLocator.Simple. of(java.lang.String typeName, byte[] binaryRepresentation)
Creates a class file locator for a single known type.static ClassFileLocator
ClassFileLocator.Simple. of(java.lang.String typeName, byte[] binaryRepresentation, ClassFileLocator fallback)
Creates a class file locator for a single known type with an additional fallback locator.static ClassFileLocator
ClassFileLocator.Simple. of(java.util.Map<TypeDescription,byte[]> binaryRepresentations)
Creates a class file locator that represents all types of a dynamic type.static ClassFileLocator
ClassFileLocator.Simple. of(DynamicType dynamicType)
Creates a class file locator that represents all types of a dynamic type.static ClassFileLocator
ClassFileLocator.ForModule. ofBootLayer()
Returns a class file locator that exposes all class files of the boot module layer.static ClassFileLocator
ClassFileLocator.ForModuleFile. ofBootPath()
Creates a new class file locator for this VM's boot module path.static ClassFileLocator
ClassFileLocator.ForModuleFile. ofBootPath(java.io.File bootPath)
Creates a new class file locator for a Java boot module path.static ClassFileLocator
ClassFileLocator.ForClassLoader. ofClassPath()
Creates a class file locator that queries the system class loader.static ClassFileLocator
ClassFileLocator.ForJarFile. ofClassPath()
Resolves a class file locator for the class path that reads class files directly from the file system.static ClassFileLocator
ClassFileLocator.ForJarFile. ofClassPath(java.lang.String classPath)
Resolves a class file locator for the class path that reads class files directly from the file system.static ClassFileLocator
ClassFileLocator.ForModuleFile. ofModulePath()
Resolves a class file locator for this VM's Java module path that reads class files directly from the file system.static ClassFileLocator
ClassFileLocator.ForModuleFile. ofModulePath(java.lang.String modulePath)
Resolves a class file locator for a Java module path that reads class files directly from the file system.static ClassFileLocator
ClassFileLocator.ForModuleFile. ofModulePath(java.lang.String modulePath, java.lang.String baseFolder)
Resolves a class file locator for a Java module path that reads class files directly from the file system.static ClassFileLocator
ClassFileLocator.ForJarFile. ofRuntimeJar()
Resolves a class file locator for the runtime jar.Methods in net.bytebuddy.dynamic with parameters of type ClassFileLocator Modifier and Type Method Description static ClassFileLocator
ClassFileLocator.Simple. of(java.lang.String typeName, byte[] binaryRepresentation, ClassFileLocator fallback)
Creates a class file locator for a single known type with an additional fallback locator.Constructors in net.bytebuddy.dynamic with parameters of type ClassFileLocator Constructor Description Compound(ClassFileLocator... classFileLocator)
Creates a new compound class file locator.Constructor parameters in net.bytebuddy.dynamic with type arguments of type ClassFileLocator Constructor Description Compound(java.util.List<? extends ClassFileLocator> classFileLocators)
Creates a new compound class file locator.PackageDiscriminating(java.util.Map<java.lang.String,ClassFileLocator> classFileLocators)
Creates a new package-discriminating class file locator. -
Uses of ClassFileLocator in net.bytebuddy.dynamic.loading
Methods in net.bytebuddy.dynamic.loading with parameters of type ClassFileLocator Modifier and Type Method Description ClassReloadingStrategy
ClassReloadingStrategy. reset(ClassFileLocator classFileLocator, java.lang.Class<?>... type)
Resets all classes to their original definition.abstract void
ClassReloadingStrategy.Strategy. reset(java.lang.instrument.Instrumentation instrumentation, ClassFileLocator classFileLocator, java.util.List<java.lang.Class<?>> types)
Resets the provided types to their original format. -
Uses of ClassFileLocator in net.bytebuddy.dynamic.scaffold
Methods in net.bytebuddy.dynamic.scaffold with parameters of type ClassFileLocator Modifier and Type Method Description static <U> TypeWriter<U>
TypeWriter.Default. forRebasing(MethodRegistry.Prepared methodRegistry, TypeWriter.FieldPool fieldPool, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)
Creates a type writer for rebasing a type.static <U> TypeWriter<U>
TypeWriter.Default. forRedefinition(MethodRegistry.Prepared methodRegistry, TypeWriter.FieldPool fieldPool, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator)
Creates a type writer for redefining a type.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type ClassFileLocator Constructor Description ForInlining(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, java.util.List<DynamicType> explicitAuxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)
Creates a new default type writer for creating a new type that is not based on an existing class file. -
Uses of ClassFileLocator in net.bytebuddy.dynamic.scaffold.inline
Fields in net.bytebuddy.dynamic.scaffold.inline declared as ClassFileLocator Modifier and Type Field Description protected ClassFileLocator
AbstractInliningDynamicTypeBuilder. classFileLocator
The class file locator for locating the original type's class file.Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type ClassFileLocator Constructor Description AbstractInliningDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator)
Creates an inlining dynamic type builder.RebaseDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Creates a rebase dynamic type builder.RebaseDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Creates a rebase dynamic type builder.RedefinitionDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator)
Creates a redefinition dynamic type builder.RedefinitionDynamicTypeBuilder(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator)
Creates a redefinition dynamic type builder. -
Uses of ClassFileLocator in net.bytebuddy.pool
Fields in net.bytebuddy.pool declared as ClassFileLocator Modifier and Type Field Description protected ClassFileLocator
TypePool.Default. classFileLocator
The locator to query for finding binary data of a type.Methods in net.bytebuddy.pool with parameters of type ClassFileLocator Modifier and Type Method Description static TypePool
TypePool.Default. of(ClassFileLocator classFileLocator)
Creates a defaultTypePool
that looks up data by querying the supplied class file locator.static TypePool
TypePool.Default.WithLazyResolution. of(ClassFileLocator classFileLocator)
Creates a defaultTypePool
with lazy resolution that looks up data by querying the supplied class file locator.Constructors in net.bytebuddy.pool with parameters of type ClassFileLocator Constructor Description Default(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode)
Creates a new default type pool without a parent pool.Default(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode, TypePool parentPool)
Creates a new default type pool.WithLazyResolution(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode)
Creates a new default type pool with lazy resolution and without a parent pool.WithLazyResolution(TypePool.CacheProvider cacheProvider, ClassFileLocator classFileLocator, TypePool.Default.ReaderMode readerMode, TypePool parentPool)
Creates a new default type pool with lazy resolution.
-