Uses of Interface
net.bytebuddy.matcher.LatentMatcher
Packages that use LatentMatcher
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.
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.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType
by
enhancing a given type.All classes and types in this package are related to creating a
DynamicType
by
creating a subclass of a given type.Contains an API for matching Java byte code entities.
-
Uses of LatentMatcher in net.bytebuddy
Fields in net.bytebuddy declared as LatentMatcherModifier and TypeFieldDescriptionprotected final LatentMatcher
<? super MethodDescription> ByteBuddy.ignoredMethods
A matcher for identifying methods that should be excluded from instrumentation.Methods in net.bytebuddy with parameters of type LatentMatcherModifier and TypeMethodDescriptionByteBuddy.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 LatentMatcherModifierConstructorDescriptionprotected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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 LatentMatcherModifier and TypeFieldDescriptionprivate final LatentMatcher
<? super MethodDescription> AgentBuilder.Transformer.ForAdvice.Entry.matcher
The matcher for advised methods.Methods in net.bytebuddy.agent.builder that return LatentMatcherModifier and TypeMethodDescriptionprotected LatentMatcher
<? super MethodDescription> AgentBuilder.Transformer.ForAdvice.Entry.getMatcher()
Returns the matcher for advised methods.Methods in net.bytebuddy.agent.builder with parameters of type LatentMatcherModifier and TypeMethodDescriptionAgentBuilder.Transformer.ForAdvice.advice
(LatentMatcher<? super MethodDescription> matcher, String name) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice
(LatentMatcher<? super MethodDescription> matcher, String enter, 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 LatentMatcherModifierConstructorDescriptionprotected
Entry
(LatentMatcher<? super MethodDescription> matcher) Creates a new entry.protected
ForSplitAdvice
(LatentMatcher<? super MethodDescription> matcher, String enter, String exit) Creates a new entry for an advice class with explicit entry and exit advice classes.protected
ForUnifiedAdvice
(LatentMatcher<? super MethodDescription> matcher, 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 LatentMatcherModifier and TypeFieldDescriptionprotected final LatentMatcher
<? super MethodDescription> DynamicType.Builder.AbstractBase.Adapter.ignoredMethods
A matcher for identifying methods that should be excluded from instrumentation.private final LatentMatcher
<? super FieldDescription> DynamicType.Builder.AbstractBase.Adapter.FieldMatchAdapter.matcher
The matcher for any fields to apply this matcher to.private final LatentMatcher
<? super MethodDescription> DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.matcher
The method matcher of this adapter.private final 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 LatentMatcherModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.field
(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.DynamicType.Builder.AbstractBase.Delegator.field
(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.DynamicType.Builder.field
(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.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.AbstractBase.Delegator.ignoreAlso
(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.DynamicType.Builder.ignoreAlso
(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.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.AbstractBase.Delegator.invokable
(LatentMatcher<? super MethodDescription> matcher) Matches a method or constructor that is already declared or inherited by the instrumented type.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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Materializes the supplied state of a dynamic type builder.DynamicType.Builder.AbstractBase.Adapter.recordComponent
(LatentMatcher<? super RecordComponentDescription> matcher) Matches a record component that is already declared by the instrumented type.DynamicType.Builder.AbstractBase.Delegator.recordComponent
(LatentMatcher<? super RecordComponentDescription> matcher) Matches a record component that is already declared by the instrumented type.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 LatentMatcherModifierConstructorDescriptionprotected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Creates a new default type writer for creating a new type that is not based on an existing class file.protected
FieldMatchAdapter
(FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Transformer<FieldDescription> transformer, Object defaultValue, LatentMatcher<? super FieldDescription> matcher) Creates a new field match adapter.protected
FieldMatchAdapter
(LatentMatcher<? super FieldDescription> matcher) Creates a new field match adapter.protected
MethodMatchAdapter
(LatentMatcher<? super MethodDescription> matcher) Creates a new method match adapter.protected
RecordComponentMatchAdapter
(LatentMatcher<? super RecordComponentDescription> matcher) Creates a new record component match adapter.protected
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 LatentMatcherModifier and TypeClassDescriptionprotected static class
An entry of the default field registry.protected static class
An entry of a default method registry.protected static class
An entry of the default record component registry.Fields in net.bytebuddy.dynamic.scaffold declared as LatentMatcherModifier and TypeFieldDescriptionprivate final LatentMatcher
<? super FieldDescription> FieldRegistry.Default.Entry.matcher
The matcher to identify any field that this definition concerns.private final LatentMatcher
<? super MethodDescription> MethodRegistry.Default.Entry.matcher
The latent method matcher that this entry represents.private final 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 LatentMatcherModifier and TypeMethodDescriptionMethodRegistry.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.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.Default.prepare
(InstrumentedType instrumentedType, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, LatentMatcher<? super MethodDescription> ignoredMethods) Prepares this method registry.MethodRegistry.prepare
(InstrumentedType instrumentedType, MethodGraph.Compiler methodGraphCompiler, TypeValidation typeValidation, VisibilityBridgeStrategy visibilityBridgeStrategy, LatentMatcher<? super MethodDescription> ignoredMethods) Prepares this method registry.FieldRegistry.Default.prepend
(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Prepends the given field definition to this field registry, i.e.FieldRegistry.prepend
(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Prepends the given field definition to this field registry, i.e.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.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.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.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 LatentMatcherModifierConstructorDescriptionprotected
Entry
(LatentMatcher<? super FieldDescription> matcher, FieldAttributeAppender.Factory fieldAttributeAppenderFactory, Object defaultValue, Transformer<FieldDescription> transformer) Creates a new entry.protected
Entry
(LatentMatcher<? super MethodDescription> matcher, MethodRegistry.Handler handler, MethodAttributeAppender.Factory attributeAppenderFactory, Transformer<MethodDescription> transformer) Creates a new entry.protected
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 LatentMatcherModifier and TypeClassDescriptionclass
A latent method matcher that identifies methods to instrument when redefining or rebasing a type.Fields in net.bytebuddy.dynamic.scaffold.inline declared as LatentMatcherModifier and TypeFieldDescriptionprivate final LatentMatcher
<? super MethodDescription> DecoratingDynamicTypeBuilder.ignoredMethods
A matcher for identifying methods that should be excluded from instrumentation.private final LatentMatcher
<? super MethodDescription> InliningImplementationMatcher.ignoredMethods
A method matcher that matches any ignored method.Methods in net.bytebuddy.dynamic.scaffold.inline that return LatentMatcherModifier and TypeMethodDescriptionprotected 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 LatentMatcherModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.field
(LatentMatcher<? super FieldDescription> matcher) Matches a field that is already declared by the instrumented type.DecoratingDynamicTypeBuilder.ignoreAlso
(LatentMatcher<? super MethodDescription> ignoredMethods) Specifies to exclude any method that is matched by the supplied matcher from instrumentation.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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, 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.DecoratingDynamicTypeBuilder.recordComponent
(LatentMatcher<? super RecordComponentDescription> matcher) Matches a record component that is already declared by the instrumented type.Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type LatentMatcherModifierConstructorDescriptionprotected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, ClassFileLocator classFileLocator) Creates a new decorating dynamic type builder.protected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<DynamicType> auxiliaryTypes, ClassFileLocator classFileLocator) Creates a new decorating dynamic type builder.protected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a redefinition dynamic type builder.protected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, 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 LatentMatcherModifier and TypeClassDescriptionprotected static class
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 LatentMatcherModifier and TypeFieldDescriptionprivate final LatentMatcher
<? super MethodDescription> SubclassDynamicTypeBuilder.InstrumentableMatcher.ignoredMethods
A matcher for the ignored methods.Methods in net.bytebuddy.dynamic.scaffold.subclass with parameters of type LatentMatcherModifier and TypeMethodDescriptionprotected 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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, List<? extends DynamicType> auxiliaryTypes) Constructors in net.bytebuddy.dynamic.scaffold.subclass with parameters of type LatentMatcherModifierConstructorDescriptionprotected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, ConstructorStrategy constructorStrategy) Creates a new type builder for creating a subclass.protected
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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, LatentMatcher<? super MethodDescription> ignoredMethods, 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 LatentMatcherModifier and TypeClassDescriptionstatic class
A matcher that computes the conjunction of all supplied latent matchers.static class
A matcher that computes the disjunction of all supplied latent matchers.static class
A latent matcher where the field token is being attached to the supplied type description before matching.static class
A latent matcher where the method token is being attached to the supplied type description before matching.static class
A latent matcher for a record component token.static enum
A latent matching methods that are declared by the resolved type.static class
A latent matcher representing an already resolvedElementMatcher
.Fields in net.bytebuddy.matcher with type parameters of type LatentMatcherModifier and TypeFieldDescriptionprivate final List
<? extends LatentMatcher<? super S>> LatentMatcher.Conjunction.matchers
The matchers this conjunction represents.private final List
<? extends LatentMatcher<? super S>> LatentMatcher.Disjunction.matchers
The matchers this disjunction represents.Constructors in net.bytebuddy.matcher with parameters of type LatentMatcherModifierConstructorDescriptionConjunction
(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 LatentMatcherModifierConstructorDescriptionConjunction
(List<? extends LatentMatcher<? super S>> matchers) Creates a new conjunction of latent matchers.Disjunction
(List<? extends LatentMatcher<? super S>> matchers) Creates a new disjunction of latent matchers.