Uses of Interface
net.bytebuddy.description.ByteCodeElement
-
Packages that use ByteCodeElement Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.description.field Contains descriptions of Java fields.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 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 aDynamicTypeby enhancing a given type.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 creatingTypeDescriptions without loading any classes. -
-
Uses of ByteCodeElement in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as ByteCodeElement Modifier and Type Field Description private ByteCodeElementMemberSubstitution.Replacement.Binding.Resolved. targetThe field or method that was accessed.Fields in net.bytebuddy.asm with type parameters of type ByteCodeElement Modifier and Type Field Description private ElementMatcher<? super ByteCodeElement>MemberSubstitution.WithoutSpecification.ForMatchedByteCodeElement. matcherA matcher for any byte code elements that should be substituted.Methods in net.bytebuddy.asm with parameters of type ByteCodeElement Modifier and Type Method Description StackManipulationMemberSubstitution.Substitution.Chain. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result, int freeOffset)Resolves this substitution into a stack manipulation.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.MemberSubstitution.Substitution.Chain.Step.ResolutionMemberSubstitution.Substitution.Chain.Step.Simple. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic current, java.util.Map<java.lang.Integer,java.lang.Integer> offsets, int freeOffset)Resolves this step of a substitution chain.FieldDescriptionMemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)Resolves the field to substitute with.FieldDescriptionMemberSubstitution.Substitution.ForFieldAccess.FieldResolver. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)Resolves the field to substitute with.FieldDescriptionMemberSubstitution.Substitution.ForFieldAccess.FieldResolver.Simple. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)Resolves the field to substitute with.StackManipulationMemberSubstitution.Substitution.ForFieldAccess. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result, int freeOffset)Resolves this substitution into a stack manipulation.MethodDescriptionMemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)Resolves the method to substitute with.MethodDescriptionMemberSubstitution.Substitution.ForMethodInvocation.MethodResolver. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)Resolves the method to substitute with.MethodDescriptionMemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Simple. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result)Resolves the method to substitute with.StackManipulationMemberSubstitution.Substitution.ForMethodInvocation. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result, int freeOffset)Resolves this substitution into a stack manipulation.StackManipulationMemberSubstitution.Substitution.Stubbing. resolve(TypeDescription targetType, ByteCodeElement target, TypeList.Generic parameters, TypeDescription.Generic result, int freeOffset)Resolves this substitution into a stack manipulation.Method parameters in net.bytebuddy.asm with type arguments of type ByteCodeElement Modifier and Type Method Description MemberSubstitution.WithoutSpecificationMemberSubstitution. element(ElementMatcher<? super ByteCodeElement> matcher)Substitutes any interaction with a field or method that matches the given matcher.protected static MemberSubstitution.Replacement.FactoryMemberSubstitution.Replacement.ForElementMatchers.Factory. of(ElementMatcher<? super ByteCodeElement> 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 Constructor Description Resolved(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription targetType, ByteCodeElement target, MemberSubstitution.Substitution substitution)Creates a new resolved binding.Constructor parameters in net.bytebuddy.asm with type arguments of type ByteCodeElement Constructor Description ForMatchedByteCodeElement(MethodGraph.Compiler methodGraphCompiler, MemberSubstitution.TypePoolResolver typePoolResolver, boolean strict, MemberSubstitution.Replacement.Factory replacementFactory, ElementMatcher<? super ByteCodeElement> 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 in net.bytebuddy.description.field
Subinterfaces of ByteCodeElement in net.bytebuddy.description.field Modifier and Type Interface Description interfaceFieldDescriptionImplementations of this interface describe a Java field.static interfaceFieldDescription.InDefinedShapeRepresents a field in its defined shape, i.e.static interfaceFieldDescription.InGenericShapeRepresents a field description in its generic shape, i.e.Classes in net.bytebuddy.description.field that implement ByteCodeElement Modifier and Type Class Description static classFieldDescription.AbstractBaseAn abstract base implementation of a field description.static classFieldDescription.ForLoadedFieldAn implementation of a field description for a loaded field.static classFieldDescription.InDefinedShape.AbstractBaseAn abstract base implementation of a field description in its defined shape.static classFieldDescription.LatentA latent field description describes a field that is not attached to a declaringTypeDescription.static classFieldDescription.TypeSubstitutingA field description that represents a given field but with a substituted field type. -
Uses of ByteCodeElement in net.bytebuddy.description.method
Subinterfaces of ByteCodeElement in net.bytebuddy.description.method Modifier and Type Interface Description interfaceMethodDescriptionImplementations of this interface describe a Java method, i.e.static interfaceMethodDescription.InDefinedShapeRepresents a method in its defined shape, i.e.static interfaceMethodDescription.InGenericShapeRepresents a method description in its generic shape, i.e.Classes in net.bytebuddy.description.method that implement ByteCodeElement Modifier and Type Class Description static classMethodDescription.AbstractBaseAn abstract base implementation of a method description.static classMethodDescription.ForLoadedConstructorAn implementation of a method description for a loaded constructor.static classMethodDescription.ForLoadedMethodAn implementation of a method description for a loaded method.static classMethodDescription.InDefinedShape.AbstractBaseAn abstract base implementation of a method description in its defined shape.static classMethodDescription.LatentA latent method description describes a method that is not attached to a declaringTypeDescription.static classMethodDescription.Latent.TypeInitializerA method description that represents the type initializer.static classMethodDescription.TypeSubstitutingA method description that represents a given method but with substituted method types. -
Uses of ByteCodeElement in net.bytebuddy.description.type
Subinterfaces of ByteCodeElement in net.bytebuddy.description.type Modifier and Type Interface Description interfaceTypeDescriptionImplementations of this interface represent a Java type, i.e.Classes in net.bytebuddy.description.type that implement ByteCodeElement Modifier and Type Class Description static classTypeDescription.AbstractBaseAn abstract base implementation of a type description.static classTypeDescription.AbstractBase.OfSimpleTypeAn adapter implementation of aTypeDescriptionthat describes any type that is not an array or a primitive type.static classTypeDescription.AbstractBase.OfSimpleType.WithDelegationAn implementation of a type description that delegates all properties but the type's name to a delegate.static classTypeDescription.ArrayProjectionA projection for an array type based on an existingTypeDescription.static classTypeDescription.ForLoadedTypeA type description implementation that represents a loaded type.protected static classTypeDescription.ForLoadedType.ClassDescriptionTypeList.InternalNameLazyTypeA lazy representation of an internal name for a given class loader.static classTypeDescription.ForPackageDescriptionA type representation of a package description.static classTypeDescription.LatentA latent type description for a type without methods or fields.static classTypeDescription.SuperTypeLoadingA delegating type description that always attempts to load the super types of a delegate type. -
Uses of ByteCodeElement in net.bytebuddy.dynamic
Classes in net.bytebuddy.dynamic that implement ByteCodeElement Modifier and Type Class Description protected static classTransformer.ForField.TransformedFieldAn implementation of a transformed field.protected static classTransformer.ForMethod.TransformedMethodThe transformed method. -
Uses of ByteCodeElement in net.bytebuddy.dynamic.scaffold
Subinterfaces of ByteCodeElement in net.bytebuddy.dynamic.scaffold Modifier and Type Interface Description interfaceInstrumentedTypeImplementations of this interface represent an instrumented type that is subject to change.static interfaceInstrumentedType.WithFlexibleNameImplementations represent anInstrumentedTypewith a flexible name.Classes in net.bytebuddy.dynamic.scaffold that implement ByteCodeElement Modifier and Type Class Description static classInstrumentedType.DefaultA default implementation of an instrumented type.static classInstrumentedType.FrozenA frozen representation of an instrumented type of which the structure must not be modified.protected static classTypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridgeA method representing an accessor bridge method.protected static classTypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTargetA method representing a bridge's target method in its defined shape.protected static classTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridgeA method describing a visibility bridge. -
Uses of ByteCodeElement in net.bytebuddy.dynamic.scaffold.inline
Classes in net.bytebuddy.dynamic.scaffold.inline that implement ByteCodeElement Modifier and Type Class Description protected static classMethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructorAn description of a rebased constructor.protected static classMethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethodA description of a rebased method. -
Uses of ByteCodeElement in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement ByteCodeElement Modifier and Type Class Description protected static classImplementation.Context.Default.AbstractPropertyAccessorMethodA base implementation of a method that accesses a property of an instrumented type.protected static classImplementation.Context.Default.AccessorMethodA description of an accessor method to access another method from outside the instrumented type.protected static classImplementation.Context.Default.CacheValueFieldA description of a field that stores a cached value.protected static classImplementation.Context.Default.FieldGetterA description of a field getter method.protected static classImplementation.Context.Default.FieldSetterA description of a field setter method. -
Uses of ByteCodeElement in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type ByteCodeElement Modifier and Type Class Description classAccessibilityMatcher<T extends ByteCodeElement>An element matcher that validates that a given byte code element is accessible to a given type.classVisibilityMatcher<T extends ByteCodeElement>An element matcher that validates that a given byte code element is visible to a given type.Methods in net.bytebuddy.matcher with type parameters of type ByteCodeElement Modifier and Type Method Description static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isAccessibleTo(java.lang.Class<?> type)Matches aByteCodeElementthat is accessible to a givenClass.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isAccessibleTo(TypeDescription type)Matches aByteCodeElementthat is accessible to a givenClass.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isDeclaredBy(java.lang.Class<?> type)Matches aByteCodeElementfor being declared by a givenClass.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isDeclaredBy(TypeDescription type)Matches aByteCodeElementfor being declared by a givenTypeDescription.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isDeclaredBy(ElementMatcher<? super TypeDescription> matcher)Matches aByteCodeElementfor being declared by aTypeDescriptionthat is matched by the given matcher.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isDeclaredByGeneric(java.lang.reflect.Type type)Matches aByteCodeElementfor being declared by a given genericType.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isDeclaredByGeneric(TypeDescription.Generic type)Matches aByteCodeElementfor being declared by a givenTypeDescription.Generic.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isDeclaredByGeneric(ElementMatcher<? super TypeDescription.Generic> matcher)Matches aByteCodeElementfor being declared by aTypeDescription.Genericthat is matched by the given matcher.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isVisibleTo(java.lang.Class<?> type)Matches aByteCodeElementthat is visible to a givenClass.static <T extends ByteCodeElement>
ElementMatcher.Junction<T>ElementMatchers. isVisibleTo(TypeDescription type)Matches aByteCodeElementthat is visible to a givenTypeDescription. -
Uses of ByteCodeElement in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement ByteCodeElement Modifier and Type Class Description protected static classTypePool.Default.LazyTypeDescriptionA type description that looks up any referencedByteCodeElementorAnnotationDescriptionby querying a type pool at lookup time.private classTypePool.Default.LazyTypeDescription.LazyFieldDescriptionA lazy field description that only resolved type references when required.private classTypePool.Default.LazyTypeDescription.LazyMethodDescriptionA lazy representation of a method that resolves references to types only on demand.protected classTypePool.Default.WithLazyResolution.LazyTypeDescriptionA lazy type description that resolves any property that is not the name only when requested.protected static classTypePool.LazyFacade.LazyTypeDescriptionA description of a type that delegates to another type pool once a property that is not the name is resolved.
-