Uses of Interface
net.bytebuddy.description.ByteCodeElement.Member
Packages that use ByteCodeElement.Member
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
Contains descriptions of Java fields.
Contains descriptions of Java methods and constructors as well as their parameters.
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.The implementation package contains any logic for intercepting method calls.
Classes of this package allow for the creating
TypeDescription
s without
loading any classes.-
Uses of ByteCodeElement.Member in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as ByteCodeElement.MemberModifier and TypeFieldDescriptionprivate final ByteCodeElement.Member
MemberSubstitution.Replacement.Binding.Resolved.original
The field or method that was accessed.Fields in net.bytebuddy.asm with type parameters of type ByteCodeElement.MemberModifier and TypeFieldDescriptionprivate final ElementMatcher
<? super ByteCodeElement.Member> MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement.matcher
A matcher for any byte code elements that should be substituted.Methods in net.bytebuddy.asm that return ByteCodeElement.MemberModifier and TypeMethodDescriptionprotected abstract ByteCodeElement.Member
MemberSubstitution.Source.element
(ByteCodeElement.Member original, MethodDescription instrumentedMethod) Resolves the targeted byte code element.Methods in net.bytebuddy.asm with parameters of type ByteCodeElement.MemberModifier and TypeMethodDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Creates a stack manipulation for a given substitution target.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.apply
(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Creates a stack manipulation for a given substitution target.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Creates a stack manipulation for a given substitution target.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Bound.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.Unbound.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.Resolved.ForStackManipulation.apply
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, TypeDescription.Generic current, JavaConstant.MethodHandle methodHandle, Map<Integer, Integer> offsets, int offset) Applies this offset mapping.protected abstract MemberSubstitution.Source.Value
MemberSubstitution.Source.argument
(int index, TypeList.Generic parameters, Map<Integer, Integer> offsets, ByteCodeElement.Member original, MethodDescription instrumentedMethod) Resolves a value representation of the parameter of the specified index ornull
if no such parameter is available.protected abstract List
<MemberSubstitution.Source.Value> MemberSubstitution.Source.arguments
(boolean includesSelf, TypeList.Generic parameters, Map<Integer, Integer> offsets, ByteCodeElement.Member original, MethodDescription instrumentedMethod) Resolves a list of value representation of all parameters.protected abstract MemberSubstitution.Substitution.Chain.Step.Resolution
MemberSubstitution.Substitution.Chain.Step.ForField.doResolve
(ByteCodeElement.Member original, TypeList.Generic parameters, Map<Integer, Integer> offsets, StackManipulation stackManipulation) Completes the resolution.MemberSubstitution.Substitution.Chain.Step.ForField.Read.doResolve
(ByteCodeElement.Member original, TypeList.Generic parameters, Map<Integer, Integer> offsets, StackManipulation stackManipulation) Completes the resolution.MemberSubstitution.Substitution.Chain.Step.ForField.Write.doResolve
(ByteCodeElement.Member original, TypeList.Generic parameters, Map<Integer, Integer> offsets, StackManipulation stackManipulation) Completes the resolution.protected abstract ByteCodeElement.Member
MemberSubstitution.Source.element
(ByteCodeElement.Member original, MethodDescription instrumentedMethod) Resolves the targeted byte code element.protected abstract boolean
MemberSubstitution.Source.isRepresentable
(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, ByteCodeElement.Member original, MethodDescription instrumentedMethod) Validates if the supplied origin sort is representable.protected abstract boolean
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort.isRepresentable
(ByteCodeElement.Member original) Checks if the supplied member can be represented by this sort.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved.make
(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Returns the constant values to supply to the bootstrap method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.Resolved.make
(TypeDescription receiver, ByteCodeElement.Member original, JavaConstant.MethodHandle methodHandle) Returns the constant values to supply to the bootstrap method.protected abstract StackManipulation
MemberSubstitution.Source.resolve
(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort sort, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, MethodDescription instrumentedMethod) Resolves a stack manipulation that loads the supplied sort of origin onto the operand stack.MemberSubstitution.Substitution.Chain.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForAssignment.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.protected abstract StackManipulation
MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort.resolve
(ByteCodeElement.Member original, List<TypeDescription> parameterTypes, TypeDescription returnType) Creates a stack manipulation for the supplied byte code element.MemberSubstitution.Substitution.Chain.Step.ForDelegation.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForField.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ForInvocation.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.Simple.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, TypeDescription.Generic current, Map<Integer, Integer> offsets, int freeOffset) Resolves this step of a substitution chain.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.FieldResolver.Simple.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the field to substitute with.MemberSubstitution.Substitution.ForFieldAccess.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result) Resolves the method to substitute with.MemberSubstitution.Substitution.ForMethodInvocation.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.ForValue.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.Stubbing.resolve
(TypeDescription receiver, ByteCodeElement.Member original, TypeList.Generic parameters, TypeDescription.Generic result, JavaConstant.MethodHandle methodHandle, StackManipulation stackManipulation, int freeOffset) Resolves this substitution into a stack manipulation.protected abstract MemberSubstitution.Source.Value
MemberSubstitution.Source.self
(TypeList.Generic parameters, Map<Integer, Integer> offsets, ByteCodeElement.Member original, MethodDescription instrumentedMethod) Resolves a value representation of thethis
reference ornull
if no such reference is available.Method parameters in net.bytebuddy.asm with type arguments of type ByteCodeElement.MemberModifier and TypeMethodDescriptionMemberSubstitution.element
(ElementMatcher<? super ByteCodeElement.Member> matcher) Substitutes any interaction with a field or method that matches the given matcher.protected static MemberSubstitution.Replacement.Factory
MemberSubstitution.Replacement.ForElementMatchers.Factory.of
(ElementMatcher<? super ByteCodeElement.Member> matcher, MemberSubstitution.Substitution.Factory factory) Creates a factory for applying a substitution on all matched byte code elements for all access types.Constructors in net.bytebuddy.asm with parameters of type ByteCodeElement.MemberModifierConstructorDescriptionprotected
Resolved
(TypeDescription receiver, ByteCodeElement.Member original, MemberSubstitution.Substitution substitution) Creates a new resolved binding.Constructor parameters in net.bytebuddy.asm with type arguments of type ByteCodeElement.MemberModifierConstructorDescriptionprotected
ForMatchedByteCodeElement
(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super ByteCodeElement.Member> matcher) Creates a new member substitution for a matched byte code element that requires a specification for how to perform a substitution. -
Uses of ByteCodeElement.Member in net.bytebuddy.description.field
Subinterfaces of ByteCodeElement.Member in net.bytebuddy.description.fieldModifier and TypeInterfaceDescriptioninterface
Implementations of this interface describe a Java field.static interface
Represents a field in its defined shape, i.e.static interface
Represents a field description in its generic shape, i.e.Classes in net.bytebuddy.description.field that implement ByteCodeElement.MemberModifier and TypeClassDescriptionstatic class
An abstract base implementation of a field description.static class
An implementation of a field description for a loaded field.static class
An abstract base implementation of a field description in its defined shape.static class
A latent field description describes a field that is not attached to a declaringTypeDescription
.static class
A field description that represents a given field but with a substituted field type. -
Uses of ByteCodeElement.Member in net.bytebuddy.description.method
Subinterfaces of ByteCodeElement.Member in net.bytebuddy.description.methodModifier and TypeInterfaceDescriptioninterface
Implementations of this interface describe a Java method, i.e.static interface
Represents a method in its defined shape, i.e.static interface
Represents a method description in its generic shape, i.e.Classes in net.bytebuddy.description.method that implement ByteCodeElement.MemberModifier and TypeClassDescriptionstatic class
An abstract base implementation of a method description.static class
An implementation of a method description for a loaded constructor.static class
An implementation of a method description for a loaded method.static class
An abstract base implementation of a method description in its defined shape.protected static class
A base implementation for a loaded instance representation for ajava.lang.reflect.Executable
.static class
A latent method description describes a method that is not attached to a declaringTypeDescription
.static class
A method description that represents the type initializer.static class
A method description that represents a given method but with substituted method types. -
Uses of ByteCodeElement.Member in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement ByteCodeElement.MemberModifier and TypeClassDescriptionprotected static class
An implementation of a transformed field.protected static class
The transformed method. -
Uses of ByteCodeElement.Member in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement ByteCodeElement.MemberModifier and TypeClassDescriptionprotected static class
A method representing an accessor bridge method.protected static class
A method representing a bridge's target method in its defined shape.protected static class
A method describing a visibility bridge. -
Uses of ByteCodeElement.Member in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement ByteCodeElement.MemberModifier and TypeClassDescriptionprotected static class
An description of a rebased constructor.protected static class
A description of a rebased method. -
Uses of ByteCodeElement.Member in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement ByteCodeElement.MemberModifier and TypeClassDescriptionprotected static class
A base implementation of a method that accesses a property of an instrumented type.protected static class
A description of an accessor method to access another method from outside the instrumented type.protected static class
A description of a field that stores a cached value.protected static class
A description of a field getter method.protected static class
A description of a field setter method. -
Uses of ByteCodeElement.Member in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement ByteCodeElement.MemberModifier and TypeClassDescriptionprivate class
A lazy field description that only resolved type references when required.private class
A lazy representation of a method that resolves references to types only on demand.