Uses of Interface
net.bytebuddy.description.method.MethodList
-
Packages that use MethodList Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.net.bytebuddy.description.type Contains descriptions of Java types and packages.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.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.matcher Contains an API for matching Java byte code entities.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes. -
-
Uses of MethodList in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type MethodList Modifier and Type Method Description org.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.ModifierAdjustingClassVisitor
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 MethodList Modifier and Type Class Description static 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
MethodList.ForLoadedMethods
A method list implementation that returns all loaded byte code methods (methods and constructors) that are declared for a given type.static class
MethodList.ForTokens
A list of method descriptions for a list of detached tokens.static class
MethodList.TypeSubstituting
A list of method descriptions that yieldsMethodDescription.TypeSubstituting
.Methods in net.bytebuddy.description.method that return MethodList Modifier and Type Method Description MethodList<MethodDescription.InDefinedShape>
MethodList.AbstractBase. asDefined()
Returns this list of these method descriptions resolved to their defined shape.MethodList<MethodDescription.InDefinedShape>
MethodList. asDefined()
Returns this list of these method descriptions resolved to their defined shape.MethodList<MethodDescription.InDefinedShape>
MethodList.Empty. asDefined()
Returns this list of these method descriptions resolved to their defined shape.protected MethodList<S>
MethodList.AbstractBase. wrap(java.util.List<S> values)
-
Uses of MethodList in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return MethodList Modifier and Type Method Description MethodList<?>
TypeDefinition. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.AbstractBase.OfSimpleType.WithDelegation. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.ArrayProjection. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.ForLoadedType. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.ForPackageDescription. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.LazyProjection. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfGenericArray. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfNonGenericType.ForReifiedErasure. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfNonGenericType. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfParameterizedType.ForReifiedType. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfParameterizedType. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfTypeVariable. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfTypeVariable.Symbolic. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InGenericShape>
TypeDescription.Generic.OfWildcardType. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
TypeDescription.Latent. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
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 MethodList Modifier and Type Field Description protected MethodList<?>
TypeWriter.Default. instrumentedMethods
The instrumented methods relevant to this type creation.private MethodList<?>
MethodRegistry.Default.Compiled. methods
The declared or virtually inherited methods of this type.private MethodList<?>
MethodRegistry.Default.Prepared. methods
The declared or virtually inherited methods of this type.protected MethodList<?>
TypeWriter.Default. methods
The instrumented type's methods that are declared or inherited.Methods in net.bytebuddy.dynamic.scaffold that return MethodList Modifier and Type Method Description MethodList<?>
MethodGraph.NodeList. asMethodList()
Transforms this list of nodes into a list of the node's representatives.MethodList<MethodDescription.InDefinedShape>
InstrumentedType.Default. getDeclaredMethods()
Returns the methods that this type declares.MethodList<MethodDescription.InDefinedShape>
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 MethodList Constructor Description Compiled(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, MethodList<?> methods, java.util.LinkedHashMap<MethodDescription,MethodRegistry.Default.Compiled.Entry> implementations, boolean supportsBridges)
Creates a new compiled version of a default method registry.Default(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.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.ForCreation(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.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.ForInlining(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.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.Prepared(java.util.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.WithDecorationOnly(TypeDescription instrumentedType, ClassFileVersion classFileVersion, java.util.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.WithFullProcessing(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.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 MethodList Modifier and Type Method Description protected 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 MethodList Modifier and Type Field Description private 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 MethodList Constructor Description DeclaringMethodMatcher(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 MethodList Modifier and Type Class Description protected class
TypePool.Default.LazyTypeDescription.MethodTokenList
A list of method tokens representing each entry as a method description.Methods in net.bytebuddy.pool that return MethodList Modifier and Type Method Description MethodList<MethodDescription.InDefinedShape>
TypePool.Default.LazyTypeDescription. getDeclaredMethods()
Returns the methods that this type declares.
-