Uses of Interface
net.bytebuddy.description.method.MethodList
Packages that use MethodList
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
Contains descriptions of Java methods and constructors as well as their parameters.
Contains descriptions of Java types and packages.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
The implementation package contains any logic for intercepting method calls.
Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescription
s without
loading any classes.-
Uses of MethodList in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type MethodListModifier and TypeMethodDescriptionorg.objectweb.asm.ClassVisitor
AsmVisitorWrapper.Compound.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.ForDeclaredFields.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.ForDeclaredMethods.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.NoOp.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
AsmVisitorWrapper.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
MemberRemoval.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.ModifierAdjustment.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
TypeConstantAdjustment.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
.org.objectweb.asm.ClassVisitor
TypeReferenceAdjustment.wrap
(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapper
to the creation of aDynamicType
. -
Uses of MethodList in net.bytebuddy.description.method
Classes in net.bytebuddy.description.method that implement MethodListModifier and TypeClassDescriptionstatic class
MethodList.AbstractBase<S extends MethodDescription>
A base implementation of aMethodList
.static class
MethodList.Empty<S extends MethodDescription>
An implementation of an empty method list.static class
MethodList.Explicit<S extends MethodDescription>
A method list that is a wrapper for a given list of method descriptions.static class
A method list implementation that returns all loaded byte code methods (methods and constructors) that are declared for a given type.static class
A list of method descriptions for a list of detached tokens.static class
A list of method descriptions that yieldsMethodDescription.TypeSubstituting
.Methods in net.bytebuddy.description.method that return MethodListModifier and TypeMethodDescriptionMethodList.AbstractBase.asDefined()
Returns this list of these method descriptions resolved to their defined shape.MethodList.asDefined()
Returns this list of these method descriptions resolved to their defined shape.MethodList.Empty.asDefined()
Returns this list of these method descriptions resolved to their defined shape.protected MethodList<S>
-
Uses of MethodList in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return MethodListModifier and TypeMethodDescriptionMethodList<?>
TypeDefinition.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.ArrayProjection.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.ForLoadedType.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.ForPackageDescription.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.LazyProjection.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfGenericArray.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfNonGenericType.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfParameterizedType.ForReifiedType.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfParameterizedType.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfTypeVariable.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfTypeVariable.Symbolic.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Generic.OfWildcardType.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.Latent.getDeclaredMethods()
Returns the methods that this type declares.TypeDescription.SuperTypeLoading.getDeclaredMethods()
Returns the methods that this type declares. -
Uses of MethodList in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as MethodListModifier and TypeFieldDescriptionprotected final MethodList<?>
TypeWriter.Default.instrumentedMethods
The instrumented methods relevant to this type creation.private final MethodList<?>
MethodRegistry.Default.Compiled.methods
The declared or virtually inherited methods of this type.private final MethodList<?>
MethodRegistry.Default.Prepared.methods
The declared or virtually inherited methods of this type.protected final MethodList<?>
TypeWriter.Default.methods
The instrumented type's methods that are declared or inherited.Methods in net.bytebuddy.dynamic.scaffold that return MethodListModifier and TypeMethodDescriptionMethodList<?>
MethodGraph.NodeList.asMethodList()
Transforms this list of nodes into a list of the node's representatives.InstrumentedType.Default.getDeclaredMethods()
Returns the methods that this type declares.InstrumentedType.Frozen.getDeclaredMethods()
Returns the methods that this type declares.MethodList<?>
MethodRegistry.Compiled.getInstrumentedMethods()
Returns a list of all methods that should be instrumented.MethodList<?>
MethodRegistry.Default.Compiled.getInstrumentedMethods()
Returns a list of all methods that should be instrumented.MethodList<?>
MethodRegistry.Default.Prepared.getInstrumentedMethods()
Returns a list of all methods that should be instrumented.MethodList<?>
MethodRegistry.Prepared.getInstrumentedMethods()
Returns a list of all methods that should be instrumented.MethodList<?>
MethodRegistry.Compiled.getMethods()
Returns the declared or virtually inherited methods of this type.MethodList<?>
MethodRegistry.Default.Compiled.getMethods()
Returns the declared or virtually inherited methods of this type.MethodList<?>
MethodRegistry.Default.Prepared.getMethods()
Returns the declared or virtually inherited methods of this type.MethodList<?>
MethodRegistry.Prepared.getMethods()
Returns the declared or virtually inherited methods of this type.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type MethodListModifierConstructorDescriptionprotected
Compiled
(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, MethodList<?> methods, LinkedHashMap<MethodDescription, MethodRegistry.Default.Compiled.Entry> implementations, boolean supportsBridges) Creates a new compiled version of a default method registry.protected
Default
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool) Creates a new default type writer.protected
ForCreation
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool) Creates a new default type writer for creating a new type that is not based on an existing class file.protected
ForInlining
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a new inlining type writer.protected
Prepared
(LinkedHashMap<MethodDescription, MethodRegistry.Default.Prepared.Entry> implementations, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeDescription instrumentedType, MethodGraph.Linked methodGraph, MethodList<?> methods) Creates a prepared version of a default method registry.protected
WithDecorationOnly
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, List<? extends DynamicType> auxiliaryTypes, MethodList<?> methods, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool, ClassFileLocator classFileLocator) Creates a new inlining type writer that only applies a decoration.protected
WithFullProcessing
(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, ClassWriterStrategy classWriterStrategy, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, MethodRebaseResolver methodRebaseResolver) Creates a new inlining type writer that fully reprocesses a type. -
Uses of MethodList in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation with parameters of type MethodListModifier and TypeMethodDescriptionprotected static MethodDelegation.ImplementationDelegate
MethodDelegation.ImplementationDelegate.ForConstruction.of
(TypeDescription typeDescription, MethodList<?> methods, MethodDelegationBinder methodDelegationBinder) Creates an implementation delegate for constructing a new instance.protected static MethodDelegation.ImplementationDelegate
MethodDelegation.ImplementationDelegate.ForStaticMethod.of
(MethodList<?> methods, MethodDelegationBinder methodDelegationBinder) Precompiles a static method delegation for a given list of methods. -
Uses of MethodList in net.bytebuddy.matcher
Fields in net.bytebuddy.matcher with type parameters of type MethodListModifier and TypeFieldDescriptionprivate final ElementMatcher<? super MethodList<?>>
DeclaringMethodMatcher.matcher
The field matcher to apply to the declared fields of the matched type description.Constructor parameters in net.bytebuddy.matcher with type arguments of type MethodListModifierConstructorDescriptionDeclaringMethodMatcher
(ElementMatcher<? super MethodList<? extends MethodDescription>> matcher) Creates a new matcher for a type's declared methods. -
Uses of MethodList in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement MethodListModifier and TypeClassDescriptionprotected class
A list of method tokens representing each entry as a method description.Methods in net.bytebuddy.pool that return MethodListModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.getDeclaredMethods()
Returns the methods that this type declares.