Uses of Interface
net.bytebuddy.dynamic.scaffold.inline.MethodNameTransformer
-
Packages that use MethodNameTransformer 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.build A package for types that allow for applying Byte Buddy transformation during a build process.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicType
by enhancing a given type. -
-
Uses of MethodNameTransformer in net.bytebuddy
Methods in net.bytebuddy with parameters of type MethodNameTransformer Modifier and Type Method Description <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.<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 MethodNameTransformer Modifier and Type Method Description MethodNameTransformer
AgentBuilder.Default.NativeMethodStrategy.Disabled. resolve()
Resolves the method name transformer for this strategy.MethodNameTransformer
AgentBuilder.Default.NativeMethodStrategy.ForPrefix. resolve()
Resolves the method name transformer for this strategy.MethodNameTransformer
AgentBuilder.Default.NativeMethodStrategy. resolve()
Resolves the method name transformer for this strategy.Methods in net.bytebuddy.agent.builder with parameters of type MethodNameTransformer Modifier and Type Method Description DynamicType.Builder<?>
AgentBuilder.TypeStrategy. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type.DynamicType.Builder<?>
AgentBuilder.TypeStrategy.ForBuildEntryPoint. builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, java.lang.ClassLoader classLoader, JavaModule module, java.security.ProtectionDomain protectionDomain)
Creates a type builder for a given type. -
Uses of MethodNameTransformer in net.bytebuddy.build
Fields in net.bytebuddy.build declared as MethodNameTransformer Modifier and Type Field Description private MethodNameTransformer
Plugin.Engine.TypeStrategy.ForEntryPoint. methodNameTransformer
A method name transformer to use for rebasements.Methods in net.bytebuddy.build with parameters of type MethodNameTransformer Modifier and Type Method Description static Plugin.Engine
Plugin.Engine.Default. of(EntryPoint entryPoint, ClassFileVersion classFileVersion, MethodNameTransformer methodNameTransformer)
Creates a plugin engine from anEntryPoint
.DynamicType.Builder<?>
EntryPoint. transform(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Applies a transformation.Constructors in net.bytebuddy.build with parameters of type MethodNameTransformer Constructor Description ForEntryPoint(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 MethodNameTransformer Modifier and Type Class Description static class
MethodNameTransformer.Prefixing
A method name transformer that adds a fixed prefix to an original method name.static class
MethodNameTransformer.Suffixing
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 MethodNameTransformer Modifier and Type Field Description private MethodNameTransformer
MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod. methodNameTransformer
The transformer to use for renaming the method.private 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 MethodNameTransformer Modifier and Type Method Description static 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 MethodNameTransformer Modifier and Type Method Description static MethodRebaseResolver
MethodRebaseResolver.Default. make(TypeDescription instrumentedType, java.util.Set<? extends MethodDescription.SignatureToken> rebaseables, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, MethodNameTransformer methodNameTransformer)
Creates a new method rebase resolver.static MethodRebaseResolver.Resolution
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 MethodNameTransformer Constructor Description 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.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, java.util.List<? extends DynamicType> auxiliaryTypes, TypeDescription originalType, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer)
Creates a rebase dynamic type builder.
-