Uses of Interface
net.bytebuddy.matcher.LatentMatcher
-
Packages that use LatentMatcher 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.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.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicType
by enhancing a given type.net.bytebuddy.dynamic.scaffold.subclass All classes and types in this package are related to creating aDynamicType
by creating a subclass of a given type.net.bytebuddy.matcher Contains an API for matching Java byte code entities. -
-
Uses of LatentMatcher in net.bytebuddy
Fields in net.bytebuddy declared as LatentMatcher Modifier and Type Field Description protected LatentMatcher<? super MethodDescription>
ByteBuddy. ignoredMethods
A matcher for identifying methods that should be excluded from instrumentation.Methods in net.bytebuddy with parameters of type LatentMatcher Modifier and Type Method Description ByteBuddy
ByteBuddy. ignore(LatentMatcher<? super MethodDescription> ignoredMethods)
Creates a new configuration where anyMethodDescription
that matches the provided method matcher is excluded from instrumentation.Constructors in net.bytebuddy with parameters of type LatentMatcher Constructor Description ByteBuddy(ClassFileVersion classFileVersion, NamingStrategy namingStrategy, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, InstrumentedType.Factory instrumentedTypeFactory, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods)
Creates a new Byte Buddy instance. -
Uses of LatentMatcher in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as LatentMatcher Modifier and Type Field Description private LatentMatcher<? super MethodDescription>
AgentBuilder.Transformer.ForAdvice.Entry. matcher
The matcher for advised methods.Methods in net.bytebuddy.agent.builder that return LatentMatcher Modifier and Type Method Description protected LatentMatcher<? super MethodDescription>
AgentBuilder.Transformer.ForAdvice.Entry. getMatcher()
Returns the matcher for advised methods.Methods in net.bytebuddy.agent.builder with parameters of type LatentMatcher Modifier and Type Method Description AgentBuilder.Transformer.ForAdvice
AgentBuilder.Transformer.ForAdvice. advice(LatentMatcher<? super MethodDescription> matcher, java.lang.String name)
Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice
AgentBuilder.Transformer.ForAdvice. advice(LatentMatcher<? super MethodDescription> matcher, java.lang.String enter, java.lang.String exit)
Applies the given advice class onto all methods that satisfy the supplied matcher.Constructors in net.bytebuddy.agent.builder with parameters of type LatentMatcher Constructor Description Entry(LatentMatcher<? super MethodDescription> matcher)
Creates a new entry.ForSplitAdvice(LatentMatcher<? super MethodDescription> matcher, java.lang.String enter, java.lang.String exit)
Creates a new entry for an advice class with explicit entry and exit advice classes.ForUnifiedAdvice(LatentMatcher<? super MethodDescription> matcher, java.lang.String name)
Creates a new entry for an advice class where both the (optional) entry and exit advice methods are declared by the same class. -
Uses of LatentMatcher in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as LatentMatcher Modifier and Type Field Description protected LatentMatcher<? super MethodDescription>
DynamicType.Builder.AbstractBase.Adapter. ignoredMethods
A matcher for identifying methods that should be excluded from instrumentation.private LatentMatcher<? super FieldDescription>
DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter. matcher
The matcher for any fields to apply this matcher to.private LatentMatcher<? super MethodDescription>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter. matcher
The method matcher of this adapter.private LatentMatcher<? super RecordComponentDescription>
DynamicType.Builder.AbstractBase.Adapter.RecordComponentMatchAdapter. matcher
The matcher for identifying record components to match.Methods in net.bytebuddy.dynamic with parameters of type LatentMatcher Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Valuable<U>
DynamicType.Builder.AbstractBase.Adapter. field(LatentMatcher<? super FieldDescription> matcher)
Matches a field that is already declared by the instrumented type.DynamicType.Builder.FieldDefinition.Valuable<U>
DynamicType.Builder.AbstractBase.Delegator. field(LatentMatcher<? super FieldDescription> matcher)
Matches a field that is already declared by the instrumented type.DynamicType.Builder.FieldDefinition.Valuable<T>
DynamicType.Builder. field(LatentMatcher<? super FieldDescription> matcher)
Matches a field that is already declared by the instrumented type.DynamicType.Builder<U>
DynamicType.Builder.AbstractBase.Adapter. ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods)
Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder<U>
DynamicType.Builder.AbstractBase.Delegator. ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods)
Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder<T>
DynamicType.Builder. ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods)
Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.MethodDefinition.ImplementationDefinition<U>
DynamicType.Builder.AbstractBase.Adapter. invokable(LatentMatcher<? super MethodDescription> matcher)
Matches a method or constructor that is already declared or inherited by the instrumented type.DynamicType.Builder.MethodDefinition.ImplementationDefinition<U>
DynamicType.Builder.AbstractBase.Delegator. invokable(LatentMatcher<? super MethodDescription> matcher)
Matches a method or constructor that is already declared or inherited by the instrumented type.DynamicType.Builder.MethodDefinition.ImplementationDefinition<T>
DynamicType.Builder. invokable(LatentMatcher<? super MethodDescription> matcher)
Matches a method or constructor that is already declared or inherited by the instrumented type.protected abstract DynamicType.Builder<U>
DynamicType.Builder.AbstractBase.Adapter. materialize(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)
Materializes the supplied state of a dynamic type builder.DynamicType.Builder.RecordComponentDefinition<U>
DynamicType.Builder.AbstractBase.Adapter. recordComponent(LatentMatcher<? super RecordComponentDescription> matcher)
Matches a record component that is already declared by the instrumented type.DynamicType.Builder.RecordComponentDefinition<U>
DynamicType.Builder.AbstractBase.Delegator. recordComponent(LatentMatcher<? super RecordComponentDescription> matcher)
Matches a record component that is already declared by the instrumented type.DynamicType.Builder.RecordComponentDefinition<T>
DynamicType.Builder. recordComponent(LatentMatcher<? super RecordComponentDescription> matcher)
Matches a record component that is already declared by the instrumented type.Constructors in net.bytebuddy.dynamic with parameters of type LatentMatcher Constructor Description Adapter(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)
Creates a new default type writer for creating a new type that is not based on an existing class file.FieldMatchAdapter(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, java.lang.Object defaultValue, LatentMatcher<? super FieldDescription> matcher)
Creates a new field match adapter.FieldMatchAdapter(LatentMatcher<? super FieldDescription> matcher)
Creates a new field match adapter.MethodMatchAdapter(LatentMatcher<? super MethodDescription> matcher)
Creates a new method match adapter.RecordComponentMatchAdapter(LatentMatcher<? super RecordComponentDescription> matcher)
Creates a new record component match adapter.RecordComponentMatchAdapter(LatentMatcher<? super RecordComponentDescription> matcher, RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory, Transformer<RecordComponentDescription> transformer)
Creates a new record component match adapter. -
Uses of LatentMatcher in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement LatentMatcher Modifier and Type Class Description protected static class
FieldRegistry.Default.Entry
An entry of the default field registry.protected static class
MethodRegistry.Default.Entry
An entry of a default method registry.protected static class
RecordComponentRegistry.Default.Entry
An entry of the default record component registry.Fields in net.bytebuddy.dynamic.scaffold declared as LatentMatcher Modifier and Type Field Description private LatentMatcher<? super FieldDescription>
FieldRegistry.Default.Entry. matcher
The matcher to identify any field that this definition concerns.private LatentMatcher<? super MethodDescription>
MethodRegistry.Default.Entry. matcher
The latent method matcher that this entry represents.private LatentMatcher<? super RecordComponentDescription>
RecordComponentRegistry.Default.Entry. matcher
The matcher to identify any record component that this definition concerns.Methods in net.bytebuddy.dynamic.scaffold with parameters of type LatentMatcher Modifier and Type Method Description MethodRegistry
MethodRegistry. append(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer)
Appends the given method definition to this method registry, i.e.MethodRegistry
MethodRegistry.Default. append(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer)
Appends the given method definition to this method registry, i.e.MethodRegistry.Prepared
MethodRegistry.Default. prepare(InstrumentedType instrumentedType, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, LatentMatcher<? super MethodDescription> ignoredMethods)
Prepares this method registry.MethodRegistry.Prepared
MethodRegistry. prepare(InstrumentedType instrumentedType, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, LatentMatcher<? super MethodDescription> ignoredMethods)
Prepares this method registry.FieldRegistry
FieldRegistry.Default. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Prepends the given field definition to this field registry, i.e.FieldRegistry
FieldRegistry. prepend(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Prepends the given field definition to this field registry, i.e.MethodRegistry
MethodRegistry.Default. prepend(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer)
Prepends the given method definition to this method registry, i.e.MethodRegistry
MethodRegistry. prepend(LatentMatcher<? super MethodDescription> methodMatcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer)
Prepends the given method definition to this method registry, i.e.RecordComponentRegistry
RecordComponentRegistry.Default. prepend(LatentMatcher<? super RecordComponentDescription> matcher, RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory, Transformer<RecordComponentDescription> transformer)
Prepends the given record component definition to this record component registry, i.e.RecordComponentRegistry
RecordComponentRegistry. prepend(LatentMatcher<? super RecordComponentDescription> matcher, RecordComponentAttributeAppender.Factory recordComponentAttributeAppenderFactory, Transformer<RecordComponentDescription> transformer)
Prepends the given record component definition to this record component registry, i.e.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type LatentMatcher Constructor Description Entry(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, java.lang.Object defaultValue, Transformer<FieldDescription> transformer)
Creates a new entry.Entry(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer)
Creates a new entry.Entry(LatentMatcher<? super RecordComponentDescription> matcher, RecordComponentAttributeAppender.Factory recordComponentAttributeAppender, Transformer<RecordComponentDescription> transformer)
Creates a new entry. -
Uses of LatentMatcher in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement LatentMatcher Modifier and Type Class Description class
InliningImplementationMatcher
A latent method matcher that identifies methods to instrument when redefining or rebasing a type.Fields in net.bytebuddy.dynamic.scaffold.inline declared as LatentMatcher Modifier and Type Field Description private LatentMatcher<? super MethodDescription>
DecoratingDynamicTypeBuilder. ignoredMethods
A matcher for identifying methods that should be excluded from instrumentation.private LatentMatcher<? super MethodDescription>
InliningImplementationMatcher. ignoredMethods
A method matcher that matches any ignored method.Methods in net.bytebuddy.dynamic.scaffold.inline that return LatentMatcher Modifier and Type Method Description protected static LatentMatcher<MethodDescription>
InliningImplementationMatcher. of(LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType)
Creates a matcher where only overridable or declared methods are matched unless those are ignored.Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type LatentMatcher Modifier and Type Method Description DynamicType.Builder.FieldDefinition.Valuable<T>
DecoratingDynamicTypeBuilder. field(LatentMatcher<? super FieldDescription> matcher)
Matches a field that is already declared by the instrumented type.DynamicType.Builder<T>
DecoratingDynamicTypeBuilder. ignoreAlso(LatentMatcher<? super MethodDescription> ignoredMethods)
Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.MethodDefinition.ImplementationDefinition<T>
DecoratingDynamicTypeBuilder. invokable(LatentMatcher<? super MethodDescription> matcher)
Matches a method or constructor that is already declared or inherited by the instrumented type.protected DynamicType.Builder<T>
RebaseDynamicTypeBuilder. materialize(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)
protected DynamicType.Builder<T>
RedefinitionDynamicTypeBuilder. materialize(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)
protected static LatentMatcher<MethodDescription>
InliningImplementationMatcher. of(LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType)
Creates a matcher where only overridable or declared methods are matched unless those are ignored.DynamicType.Builder.RecordComponentDefinition<T>
DecoratingDynamicTypeBuilder. recordComponent(LatentMatcher<? super RecordComponentDescription> matcher)
Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type LatentMatcher Constructor Description AbstractInliningDynamicTypeBuilder(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)
Creates an inlining dynamic type builder.DecoratingDynamicTypeBuilder(TypeDescription instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, ClassFileLocator classFileLocator)
Creates a new decorating dynamic type builder.DecoratingDynamicTypeBuilder(TypeDescription instrumentedType, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, Implementation.Context.Factory implementationContextFactory, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, LatentMatcher<? super MethodDescription> ignoredMethods, java.util.List<DynamicType> auxiliaryTypes, ClassFileLocator classFileLocator)
Creates a new decorating dynamic type builder.InliningImplementationMatcher(LatentMatcher<? super MethodDescription> ignoredMethods, ElementMatcher<? super MethodDescription> predefinedMethodSignatures)
Creates a new inline implementation matcher.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.RedefinitionDynamicTypeBuilder(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)
Creates a redefinition dynamic type builder.RedefinitionDynamicTypeBuilder(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)
Creates a redefinition dynamic type builder. -
Uses of LatentMatcher in net.bytebuddy.dynamic.scaffold.subclass
Classes in net.bytebuddy.dynamic.scaffold.subclass that implement LatentMatcher Modifier and Type Class Description protected static class
SubclassDynamicTypeBuilder.InstrumentableMatcher
A matcher that locates all methods that are overridable and not ignored or that are directly defined on the instrumented type.Fields in net.bytebuddy.dynamic.scaffold.subclass declared as LatentMatcher Modifier and Type Field Description private LatentMatcher<? super MethodDescription>
SubclassDynamicTypeBuilder.InstrumentableMatcher. ignoredMethods
A matcher for the ignored methods.Methods in net.bytebuddy.dynamic.scaffold.subclass with parameters of type LatentMatcher Modifier and Type Method Description protected DynamicType.Builder<T>
SubclassDynamicTypeBuilder. materialize(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)
Constructors in net.bytebuddy.dynamic.scaffold.subclass with parameters of type LatentMatcher Constructor Description InstrumentableMatcher(LatentMatcher<? super MethodDescription> ignoredMethods)
Creates a latent method matcher that matches all methods that are to be instrumented by aSubclassDynamicTypeBuilder
.SubclassDynamicTypeBuilder(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, ConstructorStrategy constructorStrategy)
Creates a new type builder for creating a subclass.SubclassDynamicTypeBuilder(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, ConstructorStrategy constructorStrategy)
Creates a new type builder for creating a subclass. -
Uses of LatentMatcher in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher that implement LatentMatcher Modifier and Type Class Description static class
LatentMatcher.Conjunction<S>
A matcher that computes the conjunction of all supplied latent matchers.static class
LatentMatcher.Disjunction<S>
A matcher that computes the disjunction of all supplied latent matchers.static class
LatentMatcher.ForFieldToken
A latent matcher where the field token is being attached to the supplied type description before matching.static class
LatentMatcher.ForMethodToken
A latent matcher where the method token is being attached to the supplied type description before matching.static class
LatentMatcher.ForRecordComponentToken
A latent matcher for a record component token.static class
LatentMatcher.ForSelfDeclaredMethod
A latent matching methods that are declared by the resolved type.static class
LatentMatcher.Resolved<S>
A latent matcher representing an already resolvedElementMatcher
.Fields in net.bytebuddy.matcher with type parameters of type LatentMatcher Modifier and Type Field Description private java.util.List<? extends LatentMatcher<? super S>>
LatentMatcher.Conjunction. matchers
The matchers this conjunction represents.private java.util.List<? extends LatentMatcher<? super S>>
LatentMatcher.Disjunction. matchers
The matchers this disjunction represents.Constructors in net.bytebuddy.matcher with parameters of type LatentMatcher Constructor Description Conjunction(LatentMatcher<? super S>... matcher)
Creates a new conjunction of latent matchers.Disjunction(LatentMatcher<? super S>... matcher)
Creates a new disjunction of latent matchers.Constructor parameters in net.bytebuddy.matcher with type arguments of type LatentMatcher Constructor Description Conjunction(java.util.List<? extends LatentMatcher<? super S>> matchers)
Creates a new conjunction of latent matchers.Disjunction(java.util.List<? extends LatentMatcher<? super S>> matchers)
Creates a new disjunction of latent matchers.
-