Uses of Interface
net.bytebuddy.dynamic.scaffold.inline.MethodNameTransformer
Packages that use MethodNameTransformer
Package
Description
Byte Buddy is a library for creating Java classes at runtime of a Java program.
An agent builder is used to easily implement load-time class-transformations using a Java agent.
A package for types that allow for applying Byte Buddy transformation during a build process.
All classes and types in this package are related to creating a
DynamicType
by
enhancing a given type.-
Uses of MethodNameTransformer in net.bytebuddy
Methods in net.bytebuddy with parameters of type MethodNameTransformerModifier and TypeMethodDescription<T> DynamicType.Builder
<T> ByteBuddy.rebase
(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.<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. -
Uses of MethodNameTransformer in net.bytebuddy.agent.builder
Methods in net.bytebuddy.agent.builder that return MethodNameTransformerModifier and TypeMethodDescriptionAgentBuilder.Default.NativeMethodStrategy.Disabled.resolve()
Resolves the method name transformer for this strategy.AgentBuilder.Default.NativeMethodStrategy.ForPrefix.resolve()
Resolves the method name transformer for this strategy.AgentBuilder.Default.NativeMethodStrategy.resolve()
Resolves the method name transformer for this strategy.Methods in net.bytebuddy.agent.builder with parameters of type MethodNameTransformerModifier and TypeMethodDescriptionAgentBuilder.TypeStrategy.builder
(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Creates a type builder for a given type.AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder
(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Creates a type builder for a given type. -
Uses of MethodNameTransformer in net.bytebuddy.build
Fields in net.bytebuddy.build declared as MethodNameTransformerModifier and TypeFieldDescriptionprivate final MethodNameTransformer
Plugin.Engine.TypeStrategy.ForEntryPoint.methodNameTransformer
A method name transformer to use for rebasements.Methods in net.bytebuddy.build with parameters of type MethodNameTransformerModifier and TypeMethodDescriptionstatic Plugin.Engine
Plugin.Engine.Default.of
(EntryPoint entryPoint, ClassFileVersion classFileVersion, MethodNameTransformer methodNameTransformer) Creates a plugin engine from anEntryPoint
.EntryPoint.transform
(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.EntryPoint.Unvalidated.transform
(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.Constructors in net.bytebuddy.build with parameters of type MethodNameTransformerModifierConstructorDescriptionForEntryPoint
(EntryPoint entryPoint, MethodNameTransformer methodNameTransformer) Creates a new type stratrgy for an entry point. -
Uses of MethodNameTransformer in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement MethodNameTransformerModifier and TypeClassDescriptionstatic class
A method name transformer that adds a fixed prefix to an original method name.static class
A method name transformer that adds a fixed suffix to an original method name, separated by a$
.Fields in net.bytebuddy.dynamic.scaffold.inline declared as MethodNameTransformerModifier and TypeFieldDescriptionprivate final MethodNameTransformer
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.methodNameTransformer
The transformer to use for renaming the method.private final MethodNameTransformer
RebaseDynamicTypeBuilder.methodNameTransformer
The method rebase resolver to use for determining the name of a rebased method.Methods in net.bytebuddy.dynamic.scaffold.inline that return MethodNameTransformerModifier and TypeMethodDescriptionstatic MethodNameTransformer
MethodNameTransformer.Suffixing.withRandomSuffix()
Creates a new suffixing method name transformer which adds a default suffix with a random name component.Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodNameTransformerModifier and TypeMethodDescriptionstatic MethodRebaseResolver
MethodRebaseResolver.Default.make
(TypeDescription instrumentedType, Set<? extends MethodDescription.SignatureToken> rebaseables, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, MethodNameTransformer methodNameTransformer) Creates a new method rebase resolver.MethodRebaseResolver.Resolution.ForRebasedMethod.of
(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer) Resolves a rebasement for the provided method.Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodNameTransformerModifierConstructorDescriptionprotected
RebasedMethod
(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer) Creates a new rebased method.RebaseDynamicTypeBuilder
(InstrumentedType.WithFlexibleName instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Creates a rebase dynamic type builder.protected
RebaseDynamicTypeBuilder
(InstrumentedType.WithFlexibleName instrumentedType, FieldRegistry fieldRegistry, MethodRegistry methodRegistry, RecordComponentRegistry recordComponentRegistry, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Creates a rebase dynamic type builder.