Uses of Interface
net.bytebuddy.description.type.TypeDescription
Packages that use TypeDescription
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.
The ASM package contains classes that are meant for direct interaction with the ASM API.
A package for types that allow for applying Byte Buddy transformation during a build process.
A package containing classes for applying Byte Buddy transformers within a Maven build.
Classes of this package allow the representation of Java classes, their member and their meta data.
Contains descriptions of annotations and annotation values.
A package that contains classes for describing enumeration values.
Contains descriptions of Java fields.
Contains descriptions of Java methods and constructors as well as their parameters.
Contains descriptions of Java types and packages.
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 classes that are responsible for class loading of classes that are represented by
byte arrays.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.The implementation package contains any logic for intercepting method calls.
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType.The types and classes of this package are responsible for binding a method call to calling another method.
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
Types and classes in this package are responsible for creating Java byte code for a given byte code target
which is represented by a
MethodDescription.An
Assigner is responsible for transforming
a given TypeDescription into another one.Assigner implementations of this package
are capable of handling primitive types or the void type.This package is dedicated to creating
StackManipulations
that create collections or arrays from a given number of values.StackManipulations in this package are responsible for
creating compile-time constants and pushing them onto the operand stack.StackManipulations of this package are responsible for
accessing type or method members, i.e.Contains an API for matching Java byte code entities.
Classes of this package allow for the creating
TypeDescriptions without
loading any classes.This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of TypeDescription in net.bytebuddy
Fields in net.bytebuddy declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionByteBuddy.EnumerationImplementation.ValuesMethodAppender.instrumentedTypeThe instrumented enumeration type.private final TypeDescriptionByteBuddy.RecordConstructorStrategy.Appender.instrumentedTypeThe instrumented type.private final TypeDescriptionByteBuddy.RecordObjectMethod.returnTypeThe return type.private final TypeDescriptionNamingStrategy.Suffixing.BaseNameResolver.ForGivenType.typeDescriptionThe type description which represents the resolved name.Fields in net.bytebuddy with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final List<? extends TypeDescription> ByteBuddy.RecordObjectMethod.argumentsThe arguments type.Methods in net.bytebuddy with parameters of type TypeDescriptionModifier and TypeMethodDescription<T> DynamicType.Builder<T> ByteBuddy.decorate(TypeDescription type, ClassFileLocator classFileLocator) Decorates a type withAsmVisitorWrapperand allows adding attributes and annotations.ByteBuddy.RecordConstructorStrategy.extractConstructors(TypeDescription instrumentedType) Extracts constructors for a given super type.ByteBuddy.RecordConstructorStrategy.inject(TypeDescription instrumentedType, MethodRegistry methodRegistry) Returns a method registry that is capable of creating byte code for the constructors that were provided by theConstructorStrategy.extractConstructors(TypeDescription)method of this instance.protected abstract StringNamingStrategy.AbstractBase.name(TypeDescription superClass) Determines a new name when creating a new type that subclasses the provided type.protected StringNamingStrategy.PrefixingRandom.name(TypeDescription superClass) protected StringNamingStrategy.Suffixing.name(TypeDescription superClass) protected StringNamingStrategy.SuffixingRandom.name(TypeDescription superClass) static ClassFileVersionClassFileVersion.of(TypeDescription typeDescription, ClassFileLocator classFileLocator) Extracts a class' class version.<T> DynamicType.Builder<T> ByteBuddy.rebase(TypeDescription type, ClassFileLocator classFileLocator) Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the rebased type's class such that the class's original can be invoked from the new method implementations.<T> DynamicType.Builder<T> ByteBuddy.rebase(TypeDescription type, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Rebases the given type where any intercepted method that is declared by the redefined type is preserved within the rebased type's class such that the class's original can be invoked from the new method implementations.NamingStrategy.AbstractBase.rebase(TypeDescription typeDescription) Determines a name for the dynamic type when rebasing the provided type.NamingStrategy.rebase(TypeDescription typeDescription) Determines a name for the dynamic type when rebasing the provided type.<T> DynamicType.Builder<T> ByteBuddy.redefine(TypeDescription type, ClassFileLocator classFileLocator) Redefines the given type where any intercepted method that is declared by the redefined type is fully replaced by the new implementation.NamingStrategy.AbstractBase.redefine(TypeDescription typeDescription) Determines a name for the dynamic type when redefining the provided type.NamingStrategy.redefine(TypeDescription typeDescription) Determines a name for the dynamic type when redefining the provided type.NamingStrategy.Suffixing.BaseNameResolver.ForFixedValue.resolve(TypeDescription typeDescription) Resolves the base name for a given type description.NamingStrategy.Suffixing.BaseNameResolver.ForGivenType.resolve(TypeDescription typeDescription) Resolves the base name for a given type description.NamingStrategy.Suffixing.BaseNameResolver.ForUnnamedType.resolve(TypeDescription typeDescription) Resolves the base name for a given type description.NamingStrategy.Suffixing.BaseNameResolver.resolve(TypeDescription typeDescription) Resolves the base name for a given type description.NamingStrategy.Suffixing.BaseNameResolver.WithCallerSuffix.resolve(TypeDescription typeDescription) Resolves the base name for a given type description.NamingStrategy.SuffixingRandom.BaseNameResolver.ForUnnamedType.resolve(TypeDescription typeDescription) Deprecated.Resolves the base name for a given type description.Constructors in net.bytebuddy with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAppender(TypeDescription instrumentedType) Creates a new byte code appender for accessors and the record constructor.ForGivenType(TypeDescription typeDescription) Creates a new base name resolver that resolves a using the name of a given type.ForGivenType(TypeDescription typeDescription) Deprecated.Creates a new base name resolver that resolves a using the name of a given type.protectedValuesMethodAppender(TypeDescription instrumentedType) Creates a new appender for thevaluesmethod. -
Uses of TypeDescription in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionAgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer.instrumentedTypeThe instrumented type.private final TypeDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation.Appender.instrumentedTypeThe instrumented type.private final TypeDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.lambdaTypeThe lambda expression's functional type.private final TypeDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.targetTypeThe type that defines the lambda expression.private final TypeDescriptionAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation.targetTypeThe lambda expression's declaring type.private final TypeDescriptionAgentBuilder.Default.Transformation.TransformerIterator.typeDescriptionA description of the matched type.private final TypeDescriptionAgentBuilder.Transformer.ForAdvice.LazyDynamicType.typeDescriptionA description of the class to inject.Fields in net.bytebuddy.agent.builder with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final Set<TypeDescription> AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer.auxiliaryTypesThe auxiliary types to inject.private final Map<TypeDescription, LoadedTypeInitializer> AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer.loadedTypeInitializersThe instrumented types and auxiliary types mapped to their loaded type initializers.private final Collection<? extends ElementMatcher<? super TypeDescription>> AgentBuilder.RedefinitionStrategy.BatchAllocator.ForMatchedGrouping.matchersThe type matchers to apply.private final ElementMatcher<? super TypeDescription> AgentBuilder.RawMatcher.ForElementMatchers.typeMatcherThe type matcher to apply to aTypeDescription.Methods in net.bytebuddy.agent.builder that return TypeDescriptionModifier and TypeMethodDescriptionAgentBuilder.DescriptionStrategy.apply(String name, Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, ClassLoader classLoader, JavaModule module) Describes the given type.AgentBuilder.DescriptionStrategy.SuperTypeLoading.apply(String name, Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, ClassLoader classLoader, JavaModule module) Describes the given type.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.apply(String name, Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, ClassLoader classLoader, JavaModule module) Describes the given type.AgentBuilder.Transformer.ForAdvice.LazyDynamicType.getTypeDescription()Returns a description of this dynamic type.Methods in net.bytebuddy.agent.builder with parameters of type TypeDescriptionModifier and TypeMethodDescriptionAgentBuilder.TypeStrategy.builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Creates a type builder for a given type.AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Creates a type builder for a given type.private voidAgentBuilder.RedefinitionStrategy.Collector.doConsider(AgentBuilder.RawMatcher matcher, AgentBuilder.Listener listener, TypeDescription typeDescription, Class<?> type, Class<?> classBeingRedefined, JavaModule module, boolean modifiable) Does consider the retransformation or redefinition of a loaded type.AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.ResettableClassFileTransformer.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.ResettableClassFileTransformer.WithDelegation.Substitutable.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.booleanAgentBuilder.Default.Transformation.DifferentialMatcher.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.Default.Transformation.SimpleMatcher.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Conjunction.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Disjunction.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.ForElementMatchers.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.ForLoadState.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.ForResolvableTypes.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Inversion.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Trivial.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.protected static ByteCodeAppenderAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation.Appender.of(MethodDescription targetMethod, JavaConstant.MethodType specializedLambdaMethod, List<FieldDescription.InDefinedShape> declaredFields, JavaConstant.MethodHandle.HandleType handleType, TypeDescription targetType) Resolves an appropriate appender for this lambda expression.voidAgentBuilder.Listener.Adapter.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.Compound.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.Filtering.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.NoOp.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.StreamWriting.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.Adapter.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.Compound.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.Filtering.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.ModuleReadEdgeCompleting.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) voidAgentBuilder.Listener.NoOp.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.StreamWriting.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Allows for a transformation of aDynamicType.Builder.AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Allows for a transformation of aDynamicType.Builder.AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Allows for a transformation of aDynamicType.Builder.AgentBuilder.Transformer.ForAdvice.wrap(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain, Advice advice) Allows for decoration of advice for subclass implementations of this transformer.Method parameters in net.bytebuddy.agent.builder with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionAgentBuilder.Default.Delegator.Matchable.and(ElementMatcher<? super TypeDescription> typeMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.AgentBuilder.Default.Delegator.Matchable.and(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.AgentBuilder.Default.Delegator.Matchable.and(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.AgentBuilder.Matchable.and(ElementMatcher<? super TypeDescription> typeMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.AgentBuilder.Matchable.and(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.AgentBuilder.Matchable.and(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Defines a matching that is positive if both the previous matcher and the supplied matcher are matched.AgentBuilder.Default.Delegator.ignore(ElementMatcher<? super TypeDescription> ignoredTypes) Excludes any type that is matched by the provided matcher from instrumentation and considers types by allClassLoaders.AgentBuilder.Default.Delegator.ignore(ElementMatcher<? super TypeDescription> ignoredTypes, ElementMatcher<? super ClassLoader> ignoredClassLoaders) Excludes any type that is matched by the provided matcher and is loaded by a class loader matching the second matcher.AgentBuilder.Default.Delegator.ignore(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Excludes any type that is matched by the provided matcher and is loaded by a class loader matching the second matcher.AgentBuilder.Default.ignore(ElementMatcher<? super TypeDescription> typeMatcher) Excludes any type that is matched by the provided matcher from instrumentation and considers types by allClassLoaders.AgentBuilder.Default.ignore(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Excludes any type that is matched by the provided matcher and is loaded by a class loader matching the second matcher.AgentBuilder.Default.ignore(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Excludes any type that is matched by the provided matcher and is loaded by a class loader matching the second matcher.AgentBuilder.ignore(ElementMatcher<? super TypeDescription> typeMatcher) Excludes any type that is matched by the provided matcher from instrumentation and considers types by allClassLoaders.AgentBuilder.ignore(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Excludes any type that is matched by the provided matcher and is loaded by a class loader matching the second matcher.AgentBuilder.ignore(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Excludes any type that is matched by the provided matcher and is loaded by a class loader matching the second matcher.AgentBuilder.Default.Delegator.Matchable.or(ElementMatcher<? super TypeDescription> typeMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.AgentBuilder.Default.Delegator.Matchable.or(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.AgentBuilder.Default.Delegator.Matchable.or(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.AgentBuilder.Matchable.or(ElementMatcher<? super TypeDescription> typeMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.AgentBuilder.Matchable.or(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.AgentBuilder.Matchable.or(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Defines a matching that is positive if the previous matcher or the supplied matcher are matched.AgentBuilder.Default.Delegator.type(ElementMatcher<? super TypeDescription> typeMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.Default.Delegator.type(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.Default.Delegator.type(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.Default.type(ElementMatcher<? super TypeDescription> typeMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.Default.type(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.Default.type(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.type(ElementMatcher<? super TypeDescription> typeMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.type(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.AgentBuilder.type(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Matches a type being loaded in order to apply the suppliedAgentBuilder.Transformers before loading this type.Constructors in net.bytebuddy.agent.builder with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAppender(TypeDescription instrumentedType) Creates a new appender.protectedInjectingInitializer(TypeDescription instrumentedType, Set<TypeDescription> auxiliaryTypes, ClassFileLocator classFileLocator, Map<TypeDescription, LoadedTypeInitializer> loadedTypeInitializers, ClassInjector classInjector) Creates a new injection initializer.protectedLambdaMethodImplementation(TypeDescription targetType, JavaConstant.MethodHandle targetMethod, JavaConstant.MethodType specializedLambdaMethod) Creates a implementation of a lambda expression's functional method.protectedLazyDynamicType(TypeDescription typeDescription, ClassFileLocator classFileLocator) Creates a lazy dynamic type.protectedSerializationImplementation(TypeDescription targetType, TypeDescription lambdaType, String lambdaMethodName, JavaConstant.MethodType lambdaMethod, JavaConstant.MethodHandle targetMethod, JavaConstant.MethodType specializedMethod) Creates a new implementation for a serializable's lambda expression'swriteReplacemethod.protectedTransformerIterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, List<AgentBuilder.Default.Transformation> transformations) Creates a new iterator.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type TypeDescriptionModifierConstructorDescriptionForElementMatchers(ElementMatcher<? super TypeDescription> typeMatcher) Creates a newAgentBuilder.RawMatcherthat only matches the suppliedTypeDescriptionagainst a supplied matcher.ForElementMatchers(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher) Creates a newAgentBuilder.RawMatcherthat only matches the suppliedTypeDescriptionand itsClassLoaderagainst two matcher in order to decided if an instrumentation should be conducted.ForElementMatchers(ElementMatcher<? super TypeDescription> typeMatcher, ElementMatcher<? super ClassLoader> classLoaderMatcher, ElementMatcher<? super JavaModule> moduleMatcher) Creates a newAgentBuilder.RawMatcherthat only matches the suppliedTypeDescription, itsClassLoaderand module against element suitable matchers.ForMatchedGrouping(Collection<? extends ElementMatcher<? super TypeDescription>> matchers) Creates a new batch allocator that groups all batches by discriminating types using a type matcher.protectedInjectingInitializer(TypeDescription instrumentedType, Set<TypeDescription> auxiliaryTypes, ClassFileLocator classFileLocator, Map<TypeDescription, LoadedTypeInitializer> loadedTypeInitializers, ClassInjector classInjector) Creates a new injection initializer.protectedInjectingInitializer(TypeDescription instrumentedType, Set<TypeDescription> auxiliaryTypes, ClassFileLocator classFileLocator, Map<TypeDescription, LoadedTypeInitializer> loadedTypeInitializers, ClassInjector classInjector) Creates a new injection initializer. -
Uses of TypeDescription in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionAdvice.OffsetMapping.ForDynamicConstant.bootstrapOwnerThe type that declares the bootstrap method, orvoidif the instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.bootstrapOwnerThe type that declares the bootstrap method, orvoidif the instrumented type.private final TypeDescriptionAdvice.OffsetMapping.ForDynamicConstant.bootstrapReturnTypeThe return type of the boostrap method.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.bootstrapReturnTypeThe return type of the boostrap method.private final TypeDescriptionAdvice.AssignReturned.ToFields.Handler.declaringTypeThe field's declaring type orvoidif the type should be found within the instrumented type's hierarchy.private final TypeDescriptionAdvice.OffsetMapping.ForField.Unresolved.WithExplicitType.declaringTypeThe type declaring the field.private final TypeDescriptionAdvice.OffsetMapping.ForFieldHandle.Unresolved.WithExplicitType.declaringTypeThe type declaring the field.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType.declaringTypeThe field's declaring type.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.WithExplicitType.declaringTypeThe field's declaring type.private static final TypeDescriptionAdvice.NoExceptionHandler.DESCRIPTIONA description of theAdvice.NoExceptionHandlertype.private final TypeDescriptionAdvice.AssignReturned.ExceptionHandler.exceptionTypeThe exception type to handle.private final TypeDescriptionAdvice.AssignReturned.ExceptionHandler.Factory.Enabled.exceptionTypeThe exception type being handled.private final TypeDescriptionAdvice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.instrumentedTypeThe instrumented type.private final TypeDescriptionAdvice.Dispatcher.Inlining.CodeTranslationVisitor.instrumentedTypeThe instrumented type.protected final TypeDescriptionAdvice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.instrumentedTypeA description of the instrumented type.protected final TypeDescriptionAdvice.StackMapFrameHandler.Default.instrumentedTypeThe instrumented type.private final TypeDescriptionAsmVisitorWrapper.ForDeclaredFields.DispatchingVisitor.instrumentedTypeThe instrumented type.private final TypeDescriptionAsmVisitorWrapper.ForDeclaredMethods.DispatchingVisitor.instrumentedTypeThe instrumented type.private final TypeDescriptionMemberSubstitution.SubstitutingMethodVisitor.instrumentedTypeThe instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.Resolved.instrumentedTypeThe instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.ForFieldAccess.FieldResolver.ForElementMatcher.instrumentedTypeThe instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.ForFieldAccess.instrumentedTypeThe instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.ForMethodInvocation.instrumentedTypeThe instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.ForMethodInvocation.MethodResolver.Matching.instrumentedTypeThe instrumented type.private final TypeDescriptionModifierAdjustment.ModifierAdjustingClassVisitor.instrumentedTypeThe instrumented type.private final TypeDescriptionAdvice.OffsetMapping.ForHandle.ownerThe owner of the handle, orvoidfor the instrumented type.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle.ownerThe owner of the handle, orvoidfor the instrumented type.private final TypeDescriptionMemberSubstitution.Replacement.Binding.ForMember.receiverThe type on which a field or method was accessed.private final TypeDescriptionMemberSubstitution.Target.ForMember.receiverTypeThe actual (sub-)type on which the member is accessed.private final TypeDescriptionAdvice.OffsetMapping.ForHandle.returnTypeThe type that is returned from the handle.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle.returnTypeThe type that is returned from the handle.private final TypeDescriptionClassVisitorFactory.AttributeTranslator.sourceWrapperThe wrapper type for theAttributetype in the original namespace.private final TypeDescriptionAdvice.Dispatcher.SuppressionHandler.Suppressing.Bound.suppressedTypeThe suppressed throwable type.private final TypeDescriptionAdvice.Dispatcher.SuppressionHandler.Suppressing.suppressedTypeThe suppressed throwable type.private final TypeDescriptionClassVisitorFactory.AttributeTranslator.targetWrapperThe wrapper type for theAttributetype in the targeted namespace.private final TypeDescriptionAdvice.AdviceVisitor.WithExitAdvice.WithExceptionHandling.throwableThe type of the handled throwable type for which this advice is invoked.private final TypeDescriptionAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler.throwableThe type of the handled throwable type for which this advice is invoked.private final TypeDescriptionAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler.throwableThe type of the handled throwable type for which this advice is invoked.protected final TypeDescriptionAdvice.AssignReturned.typeDescriptionThe advice method's return type.private final TypeDescriptionAdvice.Dispatcher.RelocationHandler.ForType.typeDescriptionThe type that triggers a relocation.private final TypeDescriptionAdvice.OffsetMapping.ForDynamicConstant.typeDescriptionThe type of the dynamic constant.private final TypeDescriptionAdvice.OffsetMapping.ForSerializedValue.Factory.typeDescriptionThe type description as which to treat the deserialized value.private final TypeDescriptionAdvice.OffsetMapping.ForSerializedValue.typeDescriptionThe class type of the serialized value.private final TypeDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.typeDescriptionThe type of the dynamic constant.Fields in net.bytebuddy.asm with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final List<? extends TypeDescription> Advice.OffsetMapping.ForDynamicConstant.bootstrapParameterTypesThe parameter types of the boostrap method.private final List<? extends TypeDescription> MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.bootstrapParameterTypesThe parameter types of the boostrap method.protected final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.ForAdvice.endTypesThe types provided after execution of the advice code.private final ElementMatcher.Junction<? super TypeDescription> TypeReferenceAdjustment.filterA filter for excluding types from type reference analysis.private final ElementMatcher<? super TypeDescription> TypeReferenceAdjustment.TypeReferenceClassVisitor.filterA filter for excluding types from type reference analysis.protected final List<? extends TypeDescription> Advice.MethodSizeHandler.Default.initialTypesA list of virtual method arguments that are explicitly added before any code execution.protected final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.initialTypesA list of virtual method arguments that are explicitly added before any code execution.private final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.ForAdvice.intermediateTypesThe types that are given post execution of the advice.protected final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.latentTypesA list of virtual arguments that are available after the enter advice method is executed.private final List<? extends TypeDescription> Advice.OffsetMapping.ForHandle.parameterTypesThe parameter types required by the handle.private final List<? extends TypeDescription> MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle.parameterTypesThe parameter types required by the handle.protected final List<? extends TypeDescription> Advice.MethodSizeHandler.Default.postMethodTypesA list of virtual method arguments that are available after the instrumented method has completed.protected final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.postMethodTypesA list of virtual method arguments that are available after the instrumented method has completed.protected final List<? extends TypeDescription> Advice.MethodSizeHandler.Default.preMethodTypesA list of virtual method arguments that are available before the instrumented method is executed.protected final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.preMethodTypesA list of virtual method arguments that are available before the instrumented method is executed.protected final List<? extends TypeDescription> Advice.StackMapFrameHandler.Default.ForAdvice.startTypesThe types provided before execution of the advice code.private final List<ModifierAdjustment.Adjustment<TypeDescription>> ModifierAdjustment.ModifierAdjustingClassVisitor.typeAdjustmentsA list of type modifier adjustments to apply.private final List<ModifierAdjustment.Adjustment<TypeDescription>> ModifierAdjustment.typeAdjustmentsA list of adjustments to apply to the instrumented type.Methods in net.bytebuddy.asm that return TypeDescriptionModifier and TypeMethodDescriptionAdvice.Dispatcher.Inactive.getAdviceType()The type that is produced as a result of executing this advice method.Advice.Dispatcher.Inlining.getAdviceType()The type that is produced as a result of executing this advice method.MemberSubstitution.Target.ForMember.getReceiverType()Returns the actual (sub-)type on which the member is accessed.Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler.getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithoutExceptionHandler.getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.Advice.Dispatcher.Inactive.getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler.getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler.getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.Advice.Dispatcher.Resolved.ForMethodExit.getThrowable()Returns the type of throwable for which this exit advice is supposed to be invoked.protected TypeDescriptionAdvice.AssignReturned.ForArray.getType()protected TypeDescriptionAdvice.AssignReturned.ForScalar.getType()protected abstract TypeDescriptionAdvice.AssignReturned.getType()Returns the assigned type that is handled by any handler.Methods in net.bytebuddy.asm that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionAdvice.ArgumentHandler.ForInstrumentedMethod.Default.getNamedTypes()Returns a list of the named types in their declared order.Advice.ArgumentHandler.ForInstrumentedMethod.getNamedTypes()Returns a list of the named types in their declared order.Methods in net.bytebuddy.asm with parameters of type TypeDescriptionModifier and TypeMethodDescriptionAdvice.Delegator.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Materializes an invocation.Advice.Delegator.ForDynamicInvocation.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Materializes an invocation.Advice.Delegator.ForRegularInvocation.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Materializes an invocation.protected abstract org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.apply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Advice.OffsetMapping.ForOrigin.Renderer.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForConstantValue.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForDescriptor.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForJavaSignature.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForMethodName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForPropertyName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.Advice.OffsetMapping.ForOrigin.Renderer.ForTypeName.apply(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Returns a string representation for this renderer.voidAdvice.Delegator.assertVisibility(TypeDescription instrumentedType) Asserts the visibility of the delegation target.voidAdvice.Delegator.ForDynamicInvocation.assertVisibility(TypeDescription instrumentedType) Asserts the visibility of the delegation target.voidAdvice.Delegator.ForRegularInvocation.assertVisibility(TypeDescription instrumentedType) Asserts the visibility of the delegation target.Advice.Dispatcher.Delegating.Resolved.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Inactive.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Inlining.Resolved.ForMethodEnter.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Inlining.Resolved.ForMethodExit.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.Dispatcher.Resolved.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bind(Class<T> type, TypeDescription value) Binds the supplied annotation to the supplied type constant.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForDynamicInvocation.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForElementMatchers.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.ForFirstBinding.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, FieldDescription fieldDescription, boolean writeAccess) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypeDescription typeDescription, MethodDescription methodDescription, MemberSubstitution.Replacement.InvocationType invocationType) Binds this replacement for a field that was discovered.MemberSubstitution.Replacement.NoOp.bind(TypeDescription instrumentedType, MethodDescription instrumentedMethod, JavaConstant.MethodHandle methodHandle, JavaConstant.MethodType methodType, String name, List<JavaConstant> constants) Binds this replacement for a dynamic method invocation that was discovered.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bind(Class<T> type, TypeDescription value) Binds the supplied annotation to the supplied type constant.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.<T extends Annotation>
Advice.WithCustomMappingAdvice.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface, MethodGraph.Compiler methodGraphCompiler) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.MemberSubstitution.Substitution.Chain.Step.ForDelegation.WithCustomMapping.bindLambda(Class<T> type, MethodDescription.InDefinedShape methodDescription, TypeDescription functionalInterface, MethodGraph.Compiler methodGraphCompiler) Binds the supplied annotation as a lambda expression via the JVM's lambda metafactory.protected abstract intAdvice.StackMapFrameHandler.Default.TranslationMode.copy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Object[] localVariable, Object[] translated) Copies the fixed parameters of the instrumented method onto the operand stack.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.protected org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodEnter.WithDiscardedEnterType.doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.private org.objectweb.asm.MethodVisitorAdvice.Dispatcher.Inlining.Resolved.ForMethodExit.doApply(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Applies a resolution for a given instrumented method.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Binds this dispatcher for resolution to a specific method.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.WithDiscardedEnterType.doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Binds this dispatcher for resolution to a specific method.private Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.doResolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler) Binds this dispatcher for resolution to a specific method.protected org.objectweb.asm.MethodVisitorAdvice.doWrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, int writerFlags, int readerFlags) Wraps the method visitor to implement this advice.protected abstract FieldLocatorAdvice.OffsetMapping.ForField.Unresolved.fieldLocator(TypeDescription instrumentedType) Returns a field locator for this instance.protected FieldLocatorAdvice.OffsetMapping.ForField.Unresolved.WithExplicitType.fieldLocator(TypeDescription instrumentedType) protected FieldLocatorAdvice.OffsetMapping.ForField.Unresolved.WithImplicitType.fieldLocator(TypeDescription instrumentedType) protected abstract FieldLocatorAdvice.OffsetMapping.ForFieldHandle.Unresolved.fieldLocator(TypeDescription instrumentedType) Returns a field locator for this instance.protected FieldLocatorAdvice.OffsetMapping.ForFieldHandle.Unresolved.WithExplicitType.fieldLocator(TypeDescription instrumentedType) protected FieldLocatorAdvice.OffsetMapping.ForFieldHandle.Unresolved.WithImplicitType.fieldLocator(TypeDescription instrumentedType) protected abstract FieldLocatorMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.fieldLocator(TypeDescription instrumentedType) Creates a field locator for the instrumented type.protected FieldLocatorMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithExplicitType.fieldLocator(TypeDescription instrumentedType) protected FieldLocatorMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.WithImplicitType.fieldLocator(TypeDescription instrumentedType) protected abstract FieldLocatorMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.fieldLocator(TypeDescription instrumentedType) Resolves a field locator for the instrumented type.protected FieldLocatorMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.WithExplicitType.fieldLocator(TypeDescription instrumentedType) protected FieldLocatorMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.WithImplicitType.fieldLocator(TypeDescription instrumentedType) protected abstract booleanAdvice.StackMapFrameHandler.Default.TranslationMode.isPossibleThisFrameValue(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Object frame) Checks if a variable value in a stack map frame is a legal value for describing athisreference.Advice.AssignReturned.Factory.make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.AssignReturned.Handler.Factory.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends T> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.Handler.Factory.Simple.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends S> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.ToAllArguments.Handler.Factory.make(TypeDescription typeDescription, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToAllArguments> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.ToArguments.Handler.Factory.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToArguments> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.ToFields.Handler.Factory.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToFields> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.ToReturned.Handler.Factory.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToReturned> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.ToThis.Handler.Factory.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToThis> annotation) Resolves a list of handlers for this factory.Advice.AssignReturned.ToThrown.Handler.Factory.make(TypeDescription returnType, boolean exit, AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToThrown> annotation) Resolves a list of handlers for this factory.Advice.PostProcessor.Factory.Compound.make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.Factory.make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.Advice.PostProcessor.NoOp.make(List<? extends AnnotationDescription> annotations, TypeDescription returnType, boolean exit) Creates a post processor for a given advice method.MemberSubstitution.Replacement.Factory.Compound.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.ForDynamicInvocation.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.ForElementMatchers.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Replacement.NoOp.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a replacement for an instrumented method.MemberSubstitution.Substitution<? super U> MemberSubstitution.Substitution.Chain.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.Chain.Step.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethod.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentLoading.OfInstrumentedMethodThis.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForArgumentSubstitution.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForAssignment.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForField.Read.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForField.Write.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.ForInvocation.Factory.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.OfOriginalExpression.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution.Chain.Step.Simple.make(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a substitution step for an instrumented method.MemberSubstitution.Substitution<? super S> MemberSubstitution.Substitution.Factory.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForFieldAccess.OfGivenField.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForFieldAccess.OfMatchedField.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfGivenMethod.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfInstrumentedMethod.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForMethodInvocation.OfMatchedMethod.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.ForValue.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.MemberSubstitution.Substitution.Stubbing.make(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Creates a substitution for an instrumented method.protected static Advice.Dispatcher.RelocationHandlerAdvice.Dispatcher.RelocationHandler.ForType.of(TypeDescription typeDescription, int index, TypeDefinition returnedType) Resolves a relocation handler that is triggered if the checked instance is of a given type.protected static Advice.Dispatcher.SuppressionHandlerAdvice.Dispatcher.SuppressionHandler.Suppressing.of(TypeDescription suppressedType) Resolves an appropriate suppression handler.static Advice.OffsetMapping.TargetAdvice.OffsetMapping.Target.ForStackManipulation.of(TypeDescription typeDescription) Creates a target for an offset mapping for a type constant.protected static Advice.StackMapFrameHandler.ForInstrumentedMethodAdvice.StackMapFrameHandler.Default.of(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean exitAdvice, boolean copyArguments, ClassFileVersion classFileVersion, int writerFlags, int readerFlags) Creates an appropriate stack map frame handler for an instrumented method.Advice.AssignReturned.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.Advice.AssignReturned.ToAllArguments.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToArguments.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToFields.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToReturned.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToThis.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.AssignReturned.ToThrown.Handler.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, TypeDescription type, StackManipulation value) Resolves this handler.Advice.BootstrapArgumentResolver.ForDefaultValues.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the constants that are provided as arguments to the bootstrap methods.Advice.BootstrapArgumentResolver.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the constants that are provided as arguments to the bootstrap methods.protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodEnter.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) protected Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.ForMethodExit.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) protected abstract Advice.Dispatcher.BoundAdvice.Dispatcher.Delegating.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, StackManipulation exceptionHandler, Advice.Dispatcher.RelocationHandler.Relocation relocation) Binds this dispatcher for resolution to a specific method.Advice.ExceptionHandler.resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType) Resolves a stack manipulation to apply.Advice.ExceptionHandler.Simple.resolve(MethodDescription instrumentedMethod, TypeDescription instrumentedType) Resolves a stack manipulation to apply.Advice.OffsetMapping.ForAllArguments.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForArgument.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForArgument.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForDynamicConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForEnterValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForExitValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected abstract FieldDescriptionAdvice.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the field being bound.Advice.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected FieldDescriptionAdvice.OffsetMapping.ForField.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionAdvice.OffsetMapping.ForField.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the field being bound.Advice.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.protected FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionAdvice.OffsetMapping.ForFieldHandle.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Advice.OffsetMapping.ForHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForInstrumentedMethod.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForInstrumentedType.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForLocalValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForOrigin.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForReturnValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForSelfCallHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForSerializedValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForStackManipulation.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForStubValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForThisReference.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForThrowable.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.ForUnusedValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.OffsetMapping.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.Advice.PostProcessor.Compound.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.Advice.PostProcessor.NoOp.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.Advice.PostProcessor.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler, StackManipulation exceptionHandler) Resolves this post processor for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.ForDefaultValues.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves this resolver for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.BootstrapArgumentResolver.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves this resolver for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForDynamicInvocation.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.ForRegularInvocation.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.Dispatcher.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a dispatcher for a given instrumented type and method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForAllArguments.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForArgument.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForCurrent.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForDynamicConstant.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected abstract FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForField.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected abstract FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves a description of the field being accessed.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Resolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) protected FieldDescriptionMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Unresolved.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod) MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForHandle.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.protected abstract StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort.resolve(ByteCodeElement.Member member, List<TypeDescription> parameterTypes, TypeDescription returnType) Creates a stack manipulation for the supplied byte code element.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForSelfCallHandle.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStackManipulation.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForStubValue.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForThisReference.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.resolve(Assigner assigner, Assigner.Typing typing, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves an offset mapping for a given instrumented method.MemberSubstitution.TypePoolResolver.ForClassFileLocator.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.MemberSubstitution.TypePoolResolver.ForExplicitPool.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.MemberSubstitution.TypePoolResolver.OfImplicitPool.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.MemberSubstitution.TypePoolResolver.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, TypePool typePool) Resolves a type pool to use for locating substituted members.static AdviceAdvice.to(TypeDescription advice) Implements advice where every matched method is advised by the given type's advisory methods.protected static AdviceAdvice.to(TypeDescription advice, Advice.PostProcessor.Factory postProcessorFactory, ClassFileLocator classFileLocator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator.Factory delegatorFactory, AsmClassReader.Factory classReaderFactory) Creates a new advice.static AdviceAdvice.to(TypeDescription enterAdvice, TypeDescription exitAdvice) Implements advice where every matched method is advised by the given type's advisory methods.protected static AdviceAdvice.to(TypeDescription enterAdvice, TypeDescription exitAdvice, Advice.PostProcessor.Factory postProcessorFactory, ClassFileLocator classFileLocator, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, Advice.Delegator.Factory delegatorFactory, AsmClassReader.Factory classReaderFactory) Creates a new advice.static AdviceAdvice.to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator) Implements advice where every matched method is advised by the given type's advisory methods.static AdviceAdvice.to(TypeDescription advice, ClassFileLocator classFileLocator) Implements advice where every matched method is advised by the given type's advisory methods.Advice.WithCustomMapping.to(TypeDescription enterAdvice, TypeDescription exitAdvice) Implements advice where every matched method is advised by the given type's advisory methods.Advice.WithCustomMapping.to(TypeDescription enterAdvice, TypeDescription exitAdvice, ClassFileLocator classFileLocator) Implements advice where every matched method is advised by the given type's advisory methods.Advice.WithCustomMapping.to(TypeDescription advice, ClassFileLocator classFileLocator) Implements advice where every matched method is advised by the given type's advisory methods.private static DynamicTypeClassVisitorFactory.toAttributeWrapper(DynamicType.Builder<?> builder, Class<?> source, Class<?> target, TypeDescription sourceWrapper, TypeDescription targetWrapper) Creates a wrapper type for anAttributeto pass attribues along a visitor chain.private static MethodCall.ArgumentLoader.FactoryClassVisitorFactory.toConvertedParameter(TypeDescription source, Class<?> target, String method, int offset, boolean virtual) Creates an argument loader for a method parameter that requires conversion.protected abstract ObjectAdvice.StackMapFrameHandler.Default.Initialization.toFrame(TypeDescription typeDescription) Initializes a frame value to its frame type.Advice.AssignReturned.Factory.withSuppressed(TypeDescription exceptionType) Configures this post processor to handle exceptions during assignment with the advice'sAdvice.ExceptionHandler.org.objectweb.asm.MethodVisitorAdvice.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.ClassVisitorAnnotationRemoval.wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.ClassVisitorAsmVisitorWrapper.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 aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.FieldVisitorAsmVisitorWrapper.ForDeclaredFields.Entry.wrap(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor) Wraps a field visitor.org.objectweb.asm.FieldVisitorAsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper.wrap(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor) Wraps a field visitor.org.objectweb.asm.ClassVisitorAsmVisitorWrapper.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 aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.MethodVisitorAsmVisitorWrapper.ForDeclaredMethods.Entry.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.MethodVisitorAsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.ClassVisitorAsmVisitorWrapper.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 aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.ClassVisitorAsmVisitorWrapper.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 aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.ClassVisitorAsmVisitorWrapper.wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.FieldVisitorMemberAttributeExtension.ForField.wrap(TypeDescription instrumentedType, FieldDescription.InDefinedShape fieldDescription, org.objectweb.asm.FieldVisitor fieldVisitor) Wraps a field visitor.org.objectweb.asm.MethodVisitorMemberAttributeExtension.ForMethod.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.ClassVisitorMemberRemoval.wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.MethodVisitorMemberSubstitution.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.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 aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.ClassVisitorTypeConstantAdjustment.wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapperto the creation of aDynamicType.org.objectweb.asm.ClassVisitorTypeReferenceAdjustment.wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapperto the creation of aDynamicType.Method parameters in net.bytebuddy.asm with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionTypeReferenceAdjustment.filter(ElementMatcher<? super TypeDescription> filter) Excludes all matched types from being added as an attribute.protected voidAdvice.StackMapFrameHandler.Default.injectFullFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.Initialization initialization, List<? extends TypeDescription> typesInArray, List<? extends TypeDescription> typesOnStack) Injects a full stack map frame after the instrumented method has completed.voidAdvice.StackMapFrameHandler.Default.ForAdvice.injectIntermediateFrame(org.objectweb.asm.MethodVisitor methodVisitor, List<? extends TypeDescription> stack) Injects a frame that represents the current state.voidAdvice.StackMapFrameHandler.ForPostProcessor.injectIntermediateFrame(org.objectweb.asm.MethodVisitor methodVisitor, List<? extends TypeDescription> stack) Injects a frame that represents the current state.voidAdvice.StackMapFrameHandler.NoOp.injectIntermediateFrame(org.objectweb.asm.MethodVisitor methodVisitor, List<? extends TypeDescription> stack) Injects a frame that represents the current state.protected static Advice.MethodSizeHandler.ForInstrumentedMethodAdvice.MethodSizeHandler.Default.of(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean copyArguments, int writerFlags) Creates a method size handler applicable for the given instrumented method.protected static Advice.StackMapFrameHandler.ForInstrumentedMethodAdvice.StackMapFrameHandler.Default.of(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean exitAdvice, boolean copyArguments, ClassFileVersion classFileVersion, int writerFlags, int readerFlags) Creates an appropriate stack map frame handler for an instrumented method.protected abstract StackManipulationMemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForOrigin.Sort.resolve(ByteCodeElement.Member member, List<TypeDescription> parameterTypes, TypeDescription returnType) Creates a stack manipulation for the supplied byte code element.protected voidAdvice.StackMapFrameHandler.Default.translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, boolean isStatic, MethodDescription.TypeToken typeToken, List<? extends TypeDescription> additionalTypes, int type, int localVariableLength, Object[] localVariable, int stackSize, Object[] stack) Translates a frame.protected voidAdvice.StackMapFrameHandler.Default.WithPreservedArguments.translateFrame(org.objectweb.asm.MethodVisitor methodVisitor, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, boolean isStatic, MethodDescription.TypeToken typeToken, List<? extends TypeDescription> additionalTypes, int type, int localVariableLength, Object[] localVariable, int stackSize, Object[] stack) ModifierAdjustment.withTypeModifiers(ElementMatcher<? super TypeDescription> matcher, List<? extends ModifierContributor.ForType> modifierContributors) Adjusts an instrumented type's modifiers if it matches the supplied matcher.ModifierAdjustment.withTypeModifiers(ElementMatcher<? super TypeDescription> matcher, ModifierContributor.ForType... modifierContributor) Adjusts an instrumented type's modifiers if it matches the supplied matcher.Constructors in net.bytebuddy.asm with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAbstractBase(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.OffsetMapping.Factory.AdviceType adviceType) Creates a new resolved version of a dispatcher.protectedAdviceMethodInliner(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, Advice.ArgumentHandler.ForInstrumentedMethod argumentHandler, Advice.MethodSizeHandler.ForInstrumentedMethod methodSizeHandler, Advice.StackMapFrameHandler.ForInstrumentedMethod stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, AsmClassReader classReader) Creates a new advice method inliner.protectedAdviceMethodWriter(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protectedAdviceVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags) Creates a new advice visitor.protectedAssignReturned(TypeDescription typeDescription, Advice.AssignReturned.ExceptionHandler.Factory exceptionHandlerFactory, boolean exit, boolean skipOnDefaultValue) Creates a new post processor for assigning an advice method's return value.protectedAttributeTranslator(Class<?> sourceAttribute, Class<?> targetAttribute, TypeDescription sourceWrapper, TypeDescription targetWrapper) Creates a new attribute translator.protectedBound(TypeDescription suppressedType, StackManipulation exceptionHandler) Creates a new active, bound suppression handler.protectedCodeTranslationVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, MethodDescription.InDefinedShape adviceMethod, Map<Integer, Advice.OffsetMapping.Target> offsetMappings, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.PostProcessor postProcessor, boolean exit) Creates a new code translation visitor.protectedDefault(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames) Creates a new default stack map frame handler.protectedDispatchingVisitor(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, Map<String, FieldDescription.InDefinedShape> fields) Creates a new dispatching visitor.protectedDispatchingVisitor(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, Implementation.Context implementationContext, TypePool typePool, Map<String, MethodDescription> methods, int writerFlags, int readerFlags) Creates a new dispatching visitor.protectedEnabled(TypeDescription exceptionType) Creates a factory for an exception handler of the supplied exception type.protectedExceptionHandler(StackManipulation stackManipulation, StackManipulation exceptionHandler, TypeDescription exceptionType, Advice.StackMapFrameHandler.ForPostProcessor stackMapFrameHandler) Creates a new exception handler for an assignment.protectedFactory(Class<T> annotationType, TypeDescription typeDescription, StackManipulation deserialization) Creates a factory for loading a deserialized value.Factory(Class<T> annotationType, TypeDescription typeDescription) Creates a new factory for binding a type description.protectedForArray(TypeDescription typeDescription, Advice.AssignReturned.ExceptionHandler.Factory exceptionHandlerFactory, boolean exit, Collection<List<Advice.AssignReturned.Handler>> handlers) Creates a post processor to assign a returned array value by index.ForDynamicConstant(String name, TypeDescription typeDescription, JavaConstant.MethodHandle.HandleType bootstrapType, TypeDescription bootstrapOwner, String bootstrapName, TypeDescription bootstrapReturnType, List<? extends TypeDescription> bootstrapParameterTypes, List<JavaConstant> arguments, boolean invokedynamic) ForDynamicConstant(String name, TypeDescription typeDescription, JavaConstant.MethodHandle.HandleType bootstrapType, TypeDescription bootstrapOwner, String bootstrapName, TypeDescription bootstrapReturnType, List<? extends TypeDescription> bootstrapParameterTypes, List<JavaConstant> arguments, boolean invokedynamic) Creates an offset mapping for a dynamic constant.protectedForElementMatcher(TypeDescription instrumentedType, ElementMatcher<? super FieldDescription> matcher) Creates a new field resolver that locates a field on the receiver type using a matcher.ForFieldAccess(TypeDescription instrumentedType, MemberSubstitution.Substitution.ForFieldAccess.FieldResolver fieldResolver) Creates a new substitution with a field access.protectedForHandle(JavaConstant.MethodHandle.HandleType type, TypeDescription owner, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a new offset mapping for a method handle.protectedForHandle(JavaConstant.MethodHandle.HandleType type, TypeDescription owner, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates an offset mapping for a method handle.protectedForMember(TypeDescription receiver, ByteCodeElement.Member member, MemberSubstitution.Substitution<? super MemberSubstitution.Target.ForMember> substitution) Creates a new resolved binding.protectedForMember(TypeDescription receiverType, ByteCodeElement.Member member) Creates a new target for a member that is being accessed.protectedForMethodEnter(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.protectedForMethodExit(MethodDescription.TypeToken typeToken, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.PostProcessor postProcessor, List<Advice.OffsetMapping.Target> offsetMappings, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Advice.ArgumentHandler.ForAdvice argumentHandler, Advice.MethodSizeHandler.ForAdvice methodSizeHandler, Advice.StackMapFrameHandler.ForAdvice stackMapFrameHandler, Advice.Dispatcher.SuppressionHandler.Bound suppressionHandler, Advice.Dispatcher.RelocationHandler.Bound relocationHandler, StackManipulation exceptionHandler, Advice.Delegator delegator) Creates a new advice method writer.ForMethodInvocation(TypeDescription instrumentedType, MemberSubstitution.Substitution.ForMethodInvocation.MethodResolver methodResolver) Creates a new method-resolving substitution.protectedForScalar(TypeDescription typeDescription, Advice.AssignReturned.ExceptionHandler.Factory exceptionHandlerFactory, boolean exit, boolean skipOnDefaultValue, Collection<List<Advice.AssignReturned.Handler>> handlers) Creates a post processor to assign a returned scalar value.ForSerializedValue(TypeDescription.Generic target, TypeDescription typeDescription, StackManipulation deserialization) Creates a new offset mapping for a serialized value.protectedForType(TypeDescription typeDescription, int index) Creates a new relocation handler that triggers a relocation if a value is an instance of a given type.protectedHandler(int index, String name, TypeDescription declaringType, Assigner.Typing typing) Creates a new handler for aAdvice.AssignReturned.ToReturnedannotation.Matching(TypeDescription instrumentedType, MethodGraph.Compiler methodGraphCompiler, ElementMatcher<? super MethodDescription> matcher) Creates a new matching method resolver.protectedModifierAdjustingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, List<ModifierAdjustment.Adjustment<TypeDescription>> typeAdjustments, List<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> fieldAdjustments, List<ModifierAdjustment.Adjustment<MethodDescription>> methodAdjustments, TypeDescription instrumentedType, Map<String, FieldDescription.InDefinedShape> fields, Map<String, MethodDescription> methods) Creates a new modifier adjusting visitor.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, Advice.Delegator delegator) Creates a new resolved version of a dispatcher.protectedResolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, AsmClassReader classReader) Creates a new resolved version of a dispatcher.protectedResolved(MethodDescription.InDefinedShape delegate, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved version of a bootstrap argument resolver.protectedSubstitutingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, MethodDescription instrumentedMethod, MethodGraph.Compiler methodGraphCompiler, boolean strict, boolean failIfNoMatch, MemberSubstitution.Replacement replacement, Implementation.Context implementationContext, TypePool typePool, boolean virtualPrivateCalls) Creates a new substituting method visitor.protectedSuppressing(TypeDescription suppressedType) Creates a new suppressing suppression handler.protectedTrivial(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> latentTypes, boolean expandFrames) Creates a new stack map frame handler that applies a trivial translation for the instrumented method's stack map frames.protectedWithArgumentCopy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames) Creates a new stack map frame handler that expects an argument copy.protectedWithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition enterType, TypeDescription throwable, Advice.Delegator delegator) Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.protectedWithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType, TypeDescription throwable) Creates a new resolved dispatcher for implementing method exit advice that handles exceptions.protectedWithExceptionHandling(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, int writerFlags, int readerFlags, TypeDescription throwable) Creates a new advice visitor that captures exception by weaving try-catch blocks around user code.protectedWithExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags) Creates an advice visitor that applies exit advice.WithExplicitType(TypeDescription.Generic target, boolean readOnly, Assigner.Typing typing, String name, TypeDescription declaringType) Creates an offset mapping for a field with an explicit declaring type.protectedWithExplicitType(TypeDescription.Generic target, AnnotationDescription.Loadable<Advice.FieldValue> annotation, TypeDescription declaringType) Creates an offset mapping for a field with an explicit declaring type.WithExplicitType(Advice.OffsetMapping.ForFieldHandle.Access access, String name, TypeDescription declaringType) Creates an offset mapping for a field handle with an explicit declaring type.protectedWithExplicitType(TypeDescription.Generic target, AnnotationDescription.Loadable<MemberSubstitution.FieldValue> annotation, TypeDescription declaringType) Creates an offset mapping for the value of an unresolved field with an explicit declaring type.WithExplicitType(TypeDescription.Generic target, Assigner.Typing typing, String name, TypeDescription declaringType) Creates an offset mapping for the value of an unresolved field with an explicit declaring type.WithExplicitType(MemberSubstitution.Substitution.Chain.Step.ForDelegation.OffsetMapping.ForFieldHandle.Access access, String name, TypeDescription declaringType) Creates an offset mapping for an unresolved field handle with an explicit declaring type.protectedWithoutArgumentCopy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames, boolean allowCompactCompletionFrame) Creates a new stack map frame handler that expects the original frames to be preserved.protectedWithoutExceptionHandling(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, int writerFlags, int readerFlags) Creates a new advice visitor that does not capture exceptions.protectedWithoutExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, int writerFlags, int readerFlags) Creates an advice visitor that does not apply exit advice.protectedWithPreservedArguments(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames, boolean allowCompactCompletionFrame) Creates a new stack map frame handler that requires the stack map frames of the original arguments to be preserved.Constructor parameters in net.bytebuddy.asm with type arguments of type TypeDescriptionModifierConstructorDescriptionprotectedAdviceVisitor(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags) Creates a new advice visitor.protectedDefault(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default meta data handler that recomputes the space requirements of an instrumented method.protectedDefault(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames) Creates a new default stack map frame handler.protectedForAdvice(MethodDescription.TypeToken typeToken, List<? extends TypeDescription> startTypes, List<? extends TypeDescription> intermediateTypes, List<? extends TypeDescription> endTypes, Advice.StackMapFrameHandler.Default.TranslationMode translationMode, Advice.StackMapFrameHandler.Default.Initialization initialization) Creates a new metadata handler for an advice method.ForDynamicConstant(String name, TypeDescription typeDescription, JavaConstant.MethodHandle.HandleType bootstrapType, TypeDescription bootstrapOwner, String bootstrapName, TypeDescription bootstrapReturnType, List<? extends TypeDescription> bootstrapParameterTypes, List<JavaConstant> arguments, boolean invokedynamic) ForDynamicConstant(String name, TypeDescription typeDescription, JavaConstant.MethodHandle.HandleType bootstrapType, TypeDescription bootstrapOwner, String bootstrapName, TypeDescription bootstrapReturnType, List<? extends TypeDescription> bootstrapParameterTypes, List<JavaConstant> arguments, boolean invokedynamic) Creates an offset mapping for a dynamic constant.protectedForHandle(JavaConstant.MethodHandle.HandleType type, TypeDescription owner, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a new offset mapping for a method handle.protectedForHandle(JavaConstant.MethodHandle.HandleType type, TypeDescription owner, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates an offset mapping for a method handle.protectedModifierAdjustingClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, List<ModifierAdjustment.Adjustment<TypeDescription>> typeAdjustments, List<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> fieldAdjustments, List<ModifierAdjustment.Adjustment<MethodDescription>> methodAdjustments, TypeDescription instrumentedType, Map<String, FieldDescription.InDefinedShape> fields, Map<String, MethodDescription> methods) Creates a new modifier adjusting visitor.protectedModifierAdjustment(List<ModifierAdjustment.Adjustment<TypeDescription>> typeAdjustments, List<ModifierAdjustment.Adjustment<FieldDescription.InDefinedShape>> fieldAdjustments, List<ModifierAdjustment.Adjustment<MethodDescription>> methodAdjustments) Creates a new modifier adjustment.protectedTrivial(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> latentTypes, boolean expandFrames) Creates a new stack map frame handler that applies a trivial translation for the instrumented method's stack map frames.protectedTypeReferenceAdjustment(boolean strict, ElementMatcher.Junction<? super TypeDescription> filter) Creates a type reference adjustment.protectedTypeReferenceClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, boolean strict, ElementMatcher<? super TypeDescription> filter, TypePool typePool) Creates a type reference class visitor.protectedWithArgumentCopy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames) Creates a new stack map frame handler that expects an argument copy.protectedWithCopiedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default method size handler that expects the original arguments to be copied.protectedWithExitAdvice(org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, Assigner assigner, StackManipulation exceptionHandler, TypeDescription instrumentedType, MethodDescription instrumentedMethod, Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, List<? extends TypeDescription> postMethodTypes, int writerFlags, int readerFlags) Creates an advice visitor that applies exit advice.protectedWithoutArgumentCopy(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames, boolean allowCompactCompletionFrame) Creates a new stack map frame handler that expects the original frames to be preserved.protectedWithPreservedArguments(TypeDescription instrumentedType, MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> latentTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes, boolean expandFrames, boolean allowCompactCompletionFrame) Creates a new stack map frame handler that requires the stack map frames of the original arguments to be preserved.protectedWithRetainedArguments(MethodDescription instrumentedMethod, List<? extends TypeDescription> initialTypes, List<? extends TypeDescription> preMethodTypes, List<? extends TypeDescription> postMethodTypes) Creates a new default method size handler that expects that the original arguments are retained. -
Uses of TypeDescription in net.bytebuddy.build
Subinterfaces with type arguments of type TypeDescription in net.bytebuddy.buildModifier and TypeInterfaceDescriptioninterfaceA plugin that allows for the application of Byte Buddy transformations during a build process.Fields in net.bytebuddy.build declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionAccessControllerPlugin.AccessControlWrapper.PrefixingMethodVisitor.instrumentedTypeThe instrumented type.private final TypeDescriptionAccessControllerPlugin.Initializer.instrumentedTypeThe instrumented type.private final TypeDescriptionRepeatedAnnotationPlugin.RepeatedAnnotationAppender.targetThe repeated type.private final TypeDescriptionPlugin.Engine.Default.Preprocessor.Ignored.typeDescriptionA description of the ignored type.private final TypeDescriptionPlugin.Engine.Default.Preprocessor.Resolved.typeDescriptionA description of the resolved type.private final TypeDescriptionPlugin.Engine.Dispatcher.Materializable.ForFailedElement.typeDescriptionThe type description for the represented type.Fields in net.bytebuddy.build with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final Map<TypeDescription, List<Throwable>> Plugin.Engine.Dispatcher.ForParallelTransformation.failedA mapping of all types that failed during transformation to the exceptions that explain the failure.private final Map<TypeDescription, List<Throwable>> Plugin.Engine.Dispatcher.ForSerialTransformation.failedA mapping of all types that failed during transformation to the exceptions that explain the failure.private final Map<TypeDescription, List<Throwable>> Plugin.Engine.Summary.failedA mapping of all types that failed during transformation to the exceptions that explain the failure.private final ElementMatcher.Junction<? super TypeDescription> Plugin.Engine.Default.ignoredTypeMatcherA matcher for types to exclude from transformation.private final ElementMatcher<? super TypeDescription> Plugin.ForElementMatcher.matcherThe element matcher to apply.private final ElementMatcher<? super TypeDescription> RenamingPlugin.matcherA matcher that determines what types to consider for renaming.private final List<TypeDescription> Plugin.Engine.Dispatcher.ForParallelTransformation.transformedA list of all types that are transformed.private final List<TypeDescription> Plugin.Engine.Dispatcher.ForSerialTransformation.transformedA list of all types that are transformed.private final List<TypeDescription> Plugin.Engine.Summary.transformedA list of all types that were transformed.Methods in net.bytebuddy.build that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionPlugin.Engine.Summary.getFailed()Returns a mapping of all types that failed during transformation to the exceptions that explain the failure.Plugin.Engine.Summary.getTransformed()Returns a list of all types that were transformed.Map<TypeDescription, byte[]> Plugin.WithInitialization.initialize(ClassFileLocator classFileLocator) Returns a mapping of classes that should be created before discovering any types.Methods in net.bytebuddy.build with parameters of type TypeDescriptionModifier and TypeMethodDescriptionAccessControllerPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.CachedReturnPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.DispatcherAnnotationPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.HashCodeAndEqualsPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.ModuleVersionPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.Plugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.Plugin.NoOp.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.RenamingPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.RepeatedAnnotationPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.voidRepeatedAnnotationPlugin.RepeatedAnnotationAppender.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.SafeVarargsPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.ToStringPlugin.apply(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassFileLocator classFileLocator) Applies this plugin.Plugin.Engine.TypeStrategy.builder(ByteBuddy byteBuddy, TypeDescription typeDescription, ClassFileLocator classFileLocator) Creates a builder for a given type.Plugin.Engine.TypeStrategy.ForEntryPoint.builder(ByteBuddy byteBuddy, TypeDescription typeDescription, ClassFileLocator classFileLocator) Creates a builder for a given type.protected abstract EqualsMethodHashCodeAndEqualsPlugin.Enhance.InvokeSuper.equalsMethod(TypeDescription instrumentedType) Resolves the equals method to use.AndroidDescriptor.getTypeScope(TypeDescription typeDescription) Provides the scope of the passedTypeDescriptioninstance.AndroidDescriptor.Trivial.getTypeScope(TypeDescription typeDescription) Provides the scope of the passedTypeDescriptioninstance.protected abstract HashCodeMethodHashCodeAndEqualsPlugin.Enhance.InvokeSuper.hashCodeMethod(TypeDescription instrumentedType, boolean typeHash, boolean subclassEquality) Resolves the hash code method to use.DispatcherAnnotationPlugin.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.HashCodeAndEqualsPlugin.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.SafeVarargsPlugin.SafeVarargsAppender.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.booleanHashCodeAndEqualsPlugin.matches(TypeDescription target) Matches a target against this element matcher.booleanModuleVersionPlugin.matches(TypeDescription target) Matches a target against this element matcher.booleanPlugin.ForElementMatcher.matches(TypeDescription target) Matches a target against this element matcher.booleanPlugin.NoOp.matches(TypeDescription target) Matches a target against this element matcher.booleanRenamingPlugin.matches(TypeDescription target) Matches a target against this element matcher.booleanToStringPlugin.matches(TypeDescription target) Matches a target against this element matcher.voidPlugin.Engine.Listener.Adapter.onComplete(TypeDescription typeDescription) Invoked upon completing handling a type that was either transformed or ignored.voidPlugin.Engine.Listener.Compound.onComplete(TypeDescription typeDescription) Invoked upon completing handling a type that was either transformed or ignored.voidPlugin.Engine.Listener.NoOp.onComplete(TypeDescription typeDescription) Invoked upon completing handling a type that was either transformed or ignored.voidPlugin.Engine.Listener.onComplete(TypeDescription typeDescription) Invoked upon completing handling a type that was either transformed or ignored.voidPlugin.Engine.Listener.StreamWriting.onComplete(TypeDescription typeDescription) Invoked upon completing handling a type that was either transformed or ignored.voidPlugin.Engine.ErrorHandler.Compound.onError(TypeDescription typeDescription, List<Throwable> throwables) Invoked after the application of all plugins was attempted if at least one error occured during handling a given type.voidPlugin.Engine.ErrorHandler.Compound.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.ErrorHandler.Enforcing.onError(TypeDescription typeDescription, List<Throwable> throwables) Invoked after the application of all plugins was attempted if at least one error occured during handling a given type.voidPlugin.Engine.ErrorHandler.Enforcing.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.ErrorHandler.onError(TypeDescription typeDescription, List<Throwable> throwables) Invoked after the application of all plugins was attempted if at least one error occured during handling a given type.voidPlugin.Engine.ErrorHandler.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.Listener.Adapter.onError(TypeDescription typeDescription, List<Throwable> throwables) Invoked after the application of all plugins was attempted if at least one error occured during handling a given type.voidPlugin.Engine.Listener.Adapter.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.Listener.Compound.onError(TypeDescription typeDescription, List<Throwable> throwables) Invoked after the application of all plugins was attempted if at least one error occured during handling a given type.voidPlugin.Engine.Listener.Compound.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.Listener.ForErrorHandler.onError(TypeDescription typeDescription, List<Throwable> throwables) voidPlugin.Engine.Listener.ForErrorHandler.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidPlugin.Engine.Listener.NoOp.onError(TypeDescription typeDescription, List<Throwable> throwables) Invoked after the application of all plugins was attempted if at least one error occured during handling a given type.voidPlugin.Engine.Listener.NoOp.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.Listener.StreamWriting.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) Invoked if an error occured during a plugin's application on a given type.voidPlugin.Engine.Listener.WithErrorsOnly.onError(TypeDescription typeDescription, List<Throwable> throwables) voidPlugin.Engine.Listener.WithErrorsOnly.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidPlugin.Engine.Listener.WithTransformationsOnly.onError(TypeDescription typeDescription, List<Throwable> throwables) voidPlugin.Engine.Listener.WithTransformationsOnly.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidPlugin.Engine.Listener.Adapter.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.Adapter.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.Compound.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.Compound.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.NoOp.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.NoOp.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.onIgnored(TypeDescription typeDescription, List<Plugin> plugins) Invoked if one or more plugins did not transform a type.voidPlugin.Engine.Listener.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.Listener.StreamWriting.onIgnored(TypeDescription typeDescription, Plugin plugin) Invoked if a type description is ignored by a given plugin.voidPlugin.Engine.ErrorHandler.Compound.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.ErrorHandler.Enforcing.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.ErrorHandler.Failing.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.ErrorHandler.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.Listener.Adapter.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.Listener.Compound.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.Listener.ForErrorHandler.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) voidPlugin.Engine.Listener.NoOp.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.Engine.Listener.StreamWriting.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) Invoked if a type transformation implied a live initializer.voidPlugin.WithPreprocessor.onPreprocess(TypeDescription typeDescription, ClassFileLocator classFileLocator) Invoked upon the discovery of a type that is not explicitly ignored.voidPlugin.Engine.Listener.Adapter.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.Adapter.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.Compound.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.Compound.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.NoOp.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.NoOp.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Invoked after a type was transformed using at least one plugin.voidPlugin.Engine.Listener.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.StreamWriting.onTransformation(TypeDescription typeDescription, Plugin plugin) Invoked after a type was transformed using a specific plugin.voidPlugin.Engine.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) voidPlugin.Engine.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription, Plugin plugin) CachedReturnPlugin.CacheFieldOffsetMapping.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Advice.ArgumentHandler argumentHandler, Advice.OffsetMapping.Sort sort) Resolves an offset mapping to a given target offset.EntryPoint.transform(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.EntryPoint.Unvalidated.transform(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer) Applies a transformation.org.objectweb.asm.MethodVisitorAccessControllerPlugin.AccessControlWrapper.wrap(TypeDescription instrumentedType, MethodDescription instrumentedMethod, org.objectweb.asm.MethodVisitor methodVisitor, Implementation.Context implementationContext, TypePool typePool, int writerFlags, int readerFlags) Wraps a method visitor.org.objectweb.asm.ClassVisitorRenamingPlugin.wrap(TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, Implementation.Context implementationContext, TypePool typePool, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, int writerFlags, int readerFlags) Applies aClassVisitorWrapperto the creation of aDynamicType.Method parameters in net.bytebuddy.build with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionprivate static voidPlugin.Engine.Target.ForFolder.doStore(File folder, Map<TypeDescription, byte[]> binaryRepresentations) Stores binary representations to a folder.Plugin.Engine.Default.ignore(ElementMatcher<? super TypeDescription> matcher) Ignores all types that are matched by this matcher or any previously registered ignore matcher.Plugin.Engine.ignore(ElementMatcher<? super TypeDescription> matcher) Ignores all types that are matched by this matcher or any previously registered ignore matcher.Plugin.Engine.Dispatcher.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.ForParallelTransformation.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.ForParallelTransformation.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.ForParallelTransformation.WithThrowawayExecutorService.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.ForSerialTransformation.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.Plugin.Engine.Dispatcher.ForSerialTransformation.Factory.make(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher.voidPlugin.Engine.Dispatcher.Materializable.ForFailedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForFailedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForRetainedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForRetainedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForTransformedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForTransformedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForUnresolvedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.ForUnresolvedElement.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.voidPlugin.Engine.Dispatcher.Materializable.materialize(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Materializes this work result and adds any results to the corresponding collection.static Plugin.Engine.SourcePlugin.Engine.Source.InMemory.ofTypes(Map<TypeDescription, byte[]> binaryRepresentations) Represents a map of type names to their binary representation as an in-memory source.static Plugin.Engine.SourcePlugin.Engine.Source.InMemory.ofTypes(Map<TypeDescription, byte[]> binaryRepresentations, Map<ClassFileVersion, Map<TypeDescription, byte[]>> versionedBinaryRepresentations) Represents a map of type names to their binary representation as an in-memory source.voidPlugin.Engine.ErrorHandler.Compound.onError(Map<TypeDescription, List<Throwable>> throwables) Invoked at the end of the build if at least one type transformation failed.voidPlugin.Engine.ErrorHandler.Enforcing.onError(Map<TypeDescription, List<Throwable>> throwables) Invoked at the end of the build if at least one type transformation failed.voidPlugin.Engine.ErrorHandler.onError(Map<TypeDescription, List<Throwable>> throwables) Invoked at the end of the build if at least one type transformation failed.voidPlugin.Engine.Listener.Adapter.onError(Map<TypeDescription, List<Throwable>> throwables) Invoked at the end of the build if at least one type transformation failed.voidPlugin.Engine.Listener.Compound.onError(Map<TypeDescription, List<Throwable>> throwables) Invoked at the end of the build if at least one type transformation failed.voidPlugin.Engine.Listener.ForErrorHandler.onError(Map<TypeDescription, List<Throwable>> throwables) voidPlugin.Engine.Listener.NoOp.onError(Map<TypeDescription, List<Throwable>> throwables) Invoked at the end of the build if at least one type transformation failed.voidPlugin.Engine.Listener.WithErrorsOnly.onError(Map<TypeDescription, List<Throwable>> throwables) voidPlugin.Engine.Listener.WithTransformationsOnly.onError(Map<TypeDescription, List<Throwable>> throwables) voidPlugin.Engine.Target.Discarding.store(Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.Discarding.store(ClassFileVersion classFileVersion, Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.ForFolder.store(Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.ForFolder.store(ClassFileVersion classFileVersion, Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.InMemory.store(Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.InMemory.store(ClassFileVersion classFileVersion, Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.Sink.ForJarOutputStream.store(Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.Sink.ForJarOutputStream.store(ClassFileVersion classFileVersion, Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.Sink.store(Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.voidPlugin.Engine.Target.Sink.store(ClassFileVersion classFileVersion, Map<TypeDescription, byte[]> binaryRepresentations) Stores the supplied binary representation of types in this sink.Constructors in net.bytebuddy.build with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedForFailedElement(Plugin.Engine.Source.Element element, TypeDescription typeDescription, List<Throwable> errored) Creates a new materializable for an element that failed to be transformed.privateIgnored(TypeDescription typeDescription) A materializable for an ignored element.protectedInitializer(TypeDescription instrumentedType, String name) Creates a new initializer.protectedPrefixingMethodVisitor(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, MethodDescription.SignatureToken token, String name, int offset, Implementation.Context.FrameGeneration frameGeneration) Creates a new prefixing method visitor.protectedCreates a new appender.privateResolved(ClassFileVersion classFileVersion, TypeDescription typeDescription) Creates a new resolved materializable.protectedWithoutProperty(TypeDescription instrumentedType, String name) Creates an initializer that always uses the access controller if it is available.protectedWithProperty(TypeDescription instrumentedType, String name, String property) Creates an initializer that uses a property to determine if the access controller should be actually used even if it is available.Constructor parameters in net.bytebuddy.build with type arguments of type TypeDescriptionModifierConstructorDescriptionprotectedDefault(ByteBuddy byteBuddy, Plugin.Engine.TypeStrategy typeStrategy, Plugin.Engine.PoolStrategy poolStrategy, ClassFileLocator classFileLocator, ClassFileVersion classFileVersion, Plugin.Engine.Listener listener, Plugin.Engine.ErrorHandler errorHandler, Plugin.Engine.Dispatcher.Factory dispatcherFactory, ElementMatcher.Junction<? super TypeDescription> ignoredTypeMatcher) Creates a new default plugin engine.protectedForElementMatcher(ElementMatcher<? super TypeDescription> matcher) Creates a new plugin that matches types using an element matcher.protectedForParallelTransformation(Executor executor, Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher that applies transformations in parallel.protectedForParallelTransformation(Executor executor, Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher that applies transformations in parallel.protectedForSerialTransformation(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a dispatcher for a serial transformation.protectedForSerialTransformation(Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a dispatcher for a serial transformation.RenamingPlugin(RenamingPlugin.Renaming renaming, ElementMatcher<? super TypeDescription> matcher) Creates a renaming plugin for the given renaming and type matcher.Summary(List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new summary.Summary(List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new summary.protectedWithThrowawayExecutorService(ExecutorService executorService, Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher that applies transformations in parallel and that closes the supplies executor service.protectedWithThrowawayExecutorService(ExecutorService executorService, Plugin.Engine.Target.Sink sink, List<TypeDescription> transformed, Map<TypeDescription, List<Throwable>> failed, List<String> unresolved) Creates a new dispatcher that applies transformations in parallel and that closes the supplies executor service. -
Uses of TypeDescription in net.bytebuddy.build.maven
Methods in net.bytebuddy.build.maven with parameters of type TypeDescriptionModifier and TypeMethodDescriptionvoidByteBuddyMojo.TransformationLogger.onError(TypeDescription typeDescription, Plugin plugin, Throwable throwable) voidByteBuddyMojo.TransformationLogger.onLiveInitializer(TypeDescription typeDescription, TypeDescription definingType) voidByteBuddyMojo.TransformationLogger.onTransformation(TypeDescription typeDescription, List<Plugin> plugins) Method parameters in net.bytebuddy.build.maven with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionvoidByteBuddyMojo.TransformationLogger.onError(Map<TypeDescription, List<Throwable>> throwables) -
Uses of TypeDescription in net.bytebuddy.description
Methods in net.bytebuddy.description with parameters of type TypeDescriptionModifier and TypeMethodDescriptionbooleanByteCodeElement.isAccessibleTo(TypeDescription typeDescription) Checks if this element is accessible from a given type.booleanByteCodeElement.isVisibleTo(TypeDescription typeDescription) Checks if this element is visible from a given type.TypeVariableSource.Visitor.NoOp.onType(TypeDescription typeDescription) Applies the visitor on a type.TypeVariableSource.Visitor.onType(TypeDescription typeDescription) Applies the visitor on a type.Method parameters in net.bytebuddy.description with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionByteCodeElement.TypeDependant.asToken(ElementMatcher<? super TypeDescription> matcher) Returns a token representative of this type dependant. -
Uses of TypeDescription in net.bytebuddy.description.annotation
Subclasses with type arguments of type TypeDescription in net.bytebuddy.description.annotationModifier and TypeClassDescriptionstatic classAnnotationValue.ForTypeDescription<U extends Class<U>>A description of aClassas a value of an annotation.Fields in net.bytebuddy.description.annotation declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionAnnotationDescription.Builder.annotationTypeThe annotation type.private final TypeDescriptionAnnotationDescription.Latent.annotationTypeThe type of the annotation.private final TypeDescriptionAnnotationValue.ForDescriptionArray.componentTypeA description of the component type when it is loaded.private final TypeDescriptionAnnotationValue.ForEnumerationDescription.WithUnknownConstant.typeDescriptionA description of the enumeration type.private final TypeDescriptionAnnotationValue.ForIncompatibleType.typeDescriptionA description of the type that does not fulfil an expectation.private final TypeDescriptionAnnotationValue.ForMissingValue.typeDescriptionThe annotation type for which a property is not defined.private final TypeDescriptionAnnotationValue.ForTypeDescription.typeDescriptionA description of the represented type.Fields in net.bytebuddy.description.annotation with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate static final Map<TypeDescription, Class<?>> AnnotationValue.ForTypeDescription.PRIMITIVE_TYPESA map of primitive types to their loaded representation.Methods in net.bytebuddy.description.annotation that return TypeDescriptionModifier and TypeMethodDescriptionAnnotationDescription.ForLoadedAnnotation.getAnnotationType()Returns a description of the annotation type of this annotation.AnnotationDescription.getAnnotationType()Returns a description of the annotation type of this annotation.AnnotationDescription.Latent.getAnnotationType()Returns a description of the annotation type of this annotation.AnnotationDescription.Latent.Loadable.getAnnotationType()Returns a description of the annotation type of this annotation.AnnotationValue.ForTypeDescription.resolve()Resolves the unloaded value of this annotation.Methods in net.bytebuddy.description.annotation that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionAnnotationValue.ForTypeDescription.filter(MethodDescription.InDefinedShape property, TypeDefinition typeDefinition) Filters this annotation value as a valid value of the provided property.static <V extends Class<V>>
AnnotationValue<TypeDescription, V> AnnotationValue.ForTypeDescription.of(TypeDescription typeDescription) Creates an annotation value for representing the given type.Methods in net.bytebuddy.description.annotation with parameters of type TypeDescriptionModifier and TypeMethodDescriptionvoidAnnotationDescription.RenderingDispatcher.appendType(StringBuilder toString, TypeDescription typeDescription) Appends the type name of the annotation being rendered.AnnotationDescription.Builder.define(String property, TypeDescription typeDescription) Returns a builder with the additional class property.AnnotationDescription.Builder.define(String property, TypeDescription enumerationType, String value) Returns a builder with the additional enumeration property.AnnotationDescription.Builder.defineAnnotationArray(String property, TypeDescription annotationType, AnnotationDescription... annotationDescription) Returns a builder with the additional annotation array property.AnnotationDescription.Builder.defineEnumerationArray(String property, TypeDescription enumerationType, String... value) Returns a builder with the additional enumeration array property.AnnotationDescription.Builder.defineEnumerationArray(String property, TypeDescription enumerationType, EnumerationDescription... value) Returns a builder with the additional enumeration array property.AnnotationDescription.Builder.defineTypeArray(String property, TypeDescription... typeDescription) Returns a builder with the additional type array property.booleanAnnotationList.AbstractBase.isAnnotationPresent(TypeDescription annotationType) Checks if this list contains an annotation of the given type.booleanAnnotationList.Empty.isAnnotationPresent(TypeDescription annotationType) Checks if this list contains an annotation of the given type.booleanAnnotationList.isAnnotationPresent(TypeDescription annotationType) Checks if this list contains an annotation of the given type.static <V extends Annotation>
AnnotationValue<AnnotationDescription, V> AnnotationValue.ForAnnotationDescription.of(TypeDescription annotationType, Map<String, ? extends AnnotationValue<?, ?>> annotationValues) Creates an annotation value instance for describing the given annotation type and values.static AnnotationValue<TypeDescription[], Class<?>[]> AnnotationValue.ForDescriptionArray.of(TypeDescription[] typeDescription) Creates a new complex array of annotation descriptions.static <W extends Annotation>
AnnotationValue<AnnotationDescription[], W[]> AnnotationValue.ForDescriptionArray.of(TypeDescription annotationType, AnnotationDescription[] annotationDescription) Creates a new complex array of annotation descriptions.static <W extends Enum<W>>
AnnotationValue<EnumerationDescription[], W[]> AnnotationValue.ForDescriptionArray.of(TypeDescription enumerationType, EnumerationDescription[] enumerationDescription) Creates a new complex array of enumeration descriptions.static <V extends Class<V>>
AnnotationValue<TypeDescription, V> AnnotationValue.ForTypeDescription.of(TypeDescription typeDescription) Creates an annotation value for representing the given type.AnnotationDescription.Builder.ofType(TypeDescription annotationType) Creates a builder for creating an annotation of the given type.AnnotationList.AbstractBase.ofType(TypeDescription annotationType) Finds the first annotation of the given type and returns it.AnnotationList.Empty.ofType(TypeDescription annotationType) Finds the first annotation of the given type and returns it.AnnotationList.ofType(TypeDescription annotationType) Finds the first annotation of the given type and returns it.abstract StringAnnotationValue.RenderingDispatcher.toSourceString(TypeDescription value) Represents the suppliedTypeDescriptionvalue as aString.Method parameters in net.bytebuddy.description.annotation with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionAnnotationList.AbstractBase.inherited(Set<? extends TypeDescription> ignoredTypes) Returns only annotations that are marked asInheritedas long as they are not contained by the set of ignored annotation types.AnnotationList.Empty.inherited(Set<? extends TypeDescription> ignoredTypes) Returns only annotations that are marked asInheritedas long as they are not contained by the set of ignored annotation types.AnnotationList.inherited(Set<? extends TypeDescription> ignoredTypes) Returns only annotations that are marked asInheritedas long as they are not contained by the set of ignored annotation types.Constructors in net.bytebuddy.description.annotation with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedBuilder(TypeDescription annotationType, Map<String, AnnotationValue<?, ?>> annotationValues) Creates a builder for an annotation description.ForDescriptionArray(Class<?> unloadedComponentType, TypeDescription componentType, List<? extends AnnotationValue<?, ?>> values) Creates a new complex array.ForIncompatibleType(TypeDescription typeDescription) Creates a new description for an annotation value that does not fulfil expectations.ForMissingValue(TypeDescription typeDescription, String property) Creates a new missing annotation value.ForTypeDescription(TypeDescription typeDescription) Creates a new annotation value that represents a type.protectedLatent(TypeDescription annotationType, Map<String, ? extends AnnotationValue<?, ?>> annotationValues) Creates a new latent annotation description.WithUnknownConstant(TypeDescription typeDescription, String value) Creates a property description for an enumeration value that does not exist for the enumeration type. -
Uses of TypeDescription in net.bytebuddy.description.enumeration
Fields in net.bytebuddy.description.enumeration declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionEnumerationDescription.Latent.enumerationTypeThe type of the enumeration.Methods in net.bytebuddy.description.enumeration that return TypeDescriptionModifier and TypeMethodDescriptionEnumerationDescription.ForLoadedEnumeration.getEnumerationType()Returns the type of this enumeration.EnumerationDescription.getEnumerationType()Returns the type of this enumeration.EnumerationDescription.Latent.getEnumerationType()Returns the type of this enumeration.Constructors in net.bytebuddy.description.enumeration with parameters of type TypeDescriptionModifierConstructorDescriptionLatent(TypeDescription enumerationType, String value) Creates a latent description of an enumeration value. -
Uses of TypeDescription in net.bytebuddy.description.field
Fields in net.bytebuddy.description.field declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionFieldDescription.Latent.declaringTypeThe type for which this field is defined.private final TypeDescriptionFieldList.ForTokens.declaringTypeThe declaring type of the represented fields.private final TypeDescriptionFieldDescription.SignatureToken.typeThe field's raw type.Methods in net.bytebuddy.description.field that return TypeDescriptionModifier and TypeMethodDescriptionFieldDescription.ForLoadedField.getDeclaringType()Returns the declaring type of this instance.FieldDescription.InDefinedShape.getDeclaringType()Returns the declaring type of this instance.FieldDescription.Latent.getDeclaringType()Returns the declaring type of this instance.FieldDescription.SignatureToken.getType()Returns the type of the represented field.Methods in net.bytebuddy.description.field with parameters of type TypeDescriptionModifier and TypeMethodDescriptionFieldDescription.Token.asSignatureToken(TypeDescription declaringType) Creates a signature token that represents the method that is represented by this token.booleanFieldDescription.AbstractBase.isAccessibleTo(TypeDescription typeDescription) Checks if this element is accessible from a given type.booleanFieldDescription.AbstractBase.isVisibleTo(TypeDescription typeDescription) Checks if this element is visible from a given type.Method parameters in net.bytebuddy.description.field with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionFieldDescription.AbstractBase.asToken(ElementMatcher<? super TypeDescription> matcher) Returns a token representative of this type dependant.FieldList.AbstractBase.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of field descriptions into a list of detached tokens.FieldList.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of field descriptions into a list of detached tokens.FieldList.Empty.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of field descriptions into a list of detached tokens.Constructors in net.bytebuddy.description.field with parameters of type TypeDescriptionModifierConstructorDescriptionForTokens(TypeDescription declaringType, List<? extends FieldDescription.Token> tokens) Creates a new field list from a list of field tokens.ForTokens(TypeDescription declaringType, FieldDescription.Token... token) Creates a new field list from a list of field tokens.Latent(TypeDescription declaringType, String name, int modifiers, TypeDescription.Generic fieldType, List<? extends AnnotationDescription> declaredAnnotations) Creates a new latent field description.Latent(TypeDescription declaringType, FieldDescription.Token token) Creates a new latent field description.SignatureToken(String name, TypeDescription type) Creates a new signature token. -
Uses of TypeDescription in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionMethodDescription.Latent.declaringTypeThe type that is declaring this method.private final TypeDescriptionMethodList.ForTokens.declaringTypeThe method's declaring type.private final TypeDescriptionMethodDescription.SignatureToken.returnTypeThe represented method's raw return type.private final TypeDescriptionMethodDescription.TypeToken.returnTypeThe represented method's raw return type.private final TypeDescriptionMethodDescription.Latent.TypeInitializer.typeDescriptionThe type for which the type initializer should be represented.Fields in net.bytebuddy.description.method with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final List<? extends TypeDescription> MethodDescription.SignatureToken.parameterTypesThe represented method's raw parameter types.private final List<? extends TypeDescription> MethodDescription.TypeToken.parameterTypesThe represented method's raw parameter types.Methods in net.bytebuddy.description.method that return TypeDescriptionModifier and TypeMethodDescriptionMethodDescription.ForLoadedConstructor.getDeclaringType()Returns the declaring type of this instance.MethodDescription.ForLoadedMethod.getDeclaringType()Returns the declaring type of this instance.MethodDescription.InDefinedShape.getDeclaringType()Returns the declaring type of this instance.MethodDescription.Latent.getDeclaringType()Returns the declaring type of this instance.MethodDescription.Latent.TypeInitializer.getDeclaringType()Returns the declaring type of this instance.MethodDescription.SignatureToken.getReturnType()Returns this token's return type.MethodDescription.TypeToken.getReturnType()Returns this token's return type.Methods in net.bytebuddy.description.method that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionMethodDescription.SignatureToken.getParameterTypes()Returns this token's parameter types.MethodDescription.TypeToken.getParameterTypes()Returns this token's parameter types.Methods in net.bytebuddy.description.method with parameters of type TypeDescriptionModifier and TypeMethodDescriptionMethodDescription.Token.asSignatureToken(TypeDescription declaringType) Creates a signature token that represents the method that is represented by this token.MethodList.AbstractBase.asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription) Returns a list of signature tokens for this list of methods.MethodList.asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription) Returns a list of signature tokens for this list of methods.MethodList.Empty.asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription) Returns a list of signature tokens for this list of methods.booleanMethodDescription.AbstractBase.isAccessibleTo(TypeDescription typeDescription) Checks if this element is accessible from a given type.private static booleanMethodDescription.AbstractBase.isAnnotationType(TypeDescription annotationType, AnnotationDescription... annotationDescription) Checks if the supplied enumeration descriptions describe the correct annotation type.private booleanMethodDescription.AbstractBase.isBootstrap(TypeDescription bootstrapped) Checks if this method is a bootstrap method while expecting the supplied type as a type representation.private static booleanMethodDescription.AbstractBase.isEnumerationType(TypeDescription enumerationType, EnumerationDescription... enumerationDescription) Checks if the supplied enumeration descriptions describe the correct enumeration type.booleanMethodDescription.AbstractBase.isInvokableOn(TypeDescription typeDescription) Asserts if this method is invokable on an instance of the given type, i.e.booleanMethodDescription.isInvokableOn(TypeDescription typeDescription) Asserts if this method is invokable on an instance of the given type, i.e.booleanMethodDescription.AbstractBase.isSpecializableFor(TypeDescription targetType) Checks if this method can be called using theINVOKESPECIALfor a given type.booleanMethodDescription.isSpecializableFor(TypeDescription typeDescription) Checks if this method can be called using theINVOKESPECIALfor a given type.booleanMethodDescription.AbstractBase.isVisibleTo(TypeDescription typeDescription) Checks if this element is visible from a given type.Method parameters in net.bytebuddy.description.method with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionMethodList.AbstractBase.asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription) Returns a list of signature tokens for this list of methods.MethodList.asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription) Returns a list of signature tokens for this list of methods.MethodList.Empty.asSignatureTokenList(ElementMatcher<? super TypeDescription> matcher, TypeDescription typeDescription) Returns a list of signature tokens for this list of methods.MethodDescription.AbstractBase.asToken(ElementMatcher<? super TypeDescription> matcher) Returns a token representative of this type dependant.ParameterDescription.AbstractBase.asToken(ElementMatcher<? super TypeDescription> matcher) Returns a token representative of this type dependant.MethodList.AbstractBase.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of method descriptions into a list of detached tokens.MethodList.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of method descriptions into a list of detached tokens.MethodList.Empty.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of method descriptions into a list of detached tokens.ParameterList.AbstractBase.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of parameter descriptions into a list of detached tokens.ParameterList.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of parameter descriptions into a list of detached tokens.ParameterList.Empty.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of parameter descriptions into a list of detached tokens.Constructors in net.bytebuddy.description.method with parameters of type TypeDescriptionModifierConstructorDescriptionForTokens(TypeDescription declaringType, List<? extends MethodDescription.Token> tokens) Creates a new list of method descriptions for a list of detached tokens.ForTokens(TypeDescription declaringType, MethodDescription.Token... token) Creates a new list of method descriptions for a list of detached tokens.Latent(TypeDescription declaringType, String internalName, int modifiers, List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic returnType, List<? extends ParameterDescription.Token> parameterTokens, List<? extends TypeDescription.Generic> exceptionTypes, List<? extends AnnotationDescription> declaredAnnotations, AnnotationValue<?, ?> defaultValue, TypeDescription.Generic receiverType) Creates a new latent method description.Latent(TypeDescription declaringType, MethodDescription.Token token) Creates a new latent method description.SignatureToken(String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a new type token.SignatureToken(String name, TypeDescription returnType, TypeDescription... parameterType) Creates a new type token.TypeInitializer(TypeDescription typeDescription) Creates a new method description representing the type initializer.TypeToken(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a new type token.Constructor parameters in net.bytebuddy.description.method with type arguments of type TypeDescriptionModifierConstructorDescriptionSignatureToken(String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a new type token.TypeToken(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a new type token. -
Uses of TypeDescription in net.bytebuddy.description.type
Classes in net.bytebuddy.description.type that implement TypeDescriptionModifier and TypeClassDescriptionstatic classAn abstract base implementation of a type description.static classAn adapter implementation of aTypeDescriptionthat describes any type that is not an array or a primitive type.static classAn implementation of a type description that delegates all properties but the type's name to a delegate.static classA projection for an array type based on an existingTypeDescription.static classA type description implementation that represents a loaded type.static classA type representation of a package description.static classA latent type description for a type without methods or fields.static classA delegating type description that always attempts to load the super types of a delegate type.Subclasses with type arguments of type TypeDescription in net.bytebuddy.description.typeModifier and TypeClassDescriptionstatic classAn abstract base implementation of a type list.static classAn implementation of an empty type list.Subinterfaces with type arguments of type TypeDescription in net.bytebuddy.description.typeModifier and TypeInterfaceDescriptioninterfaceImplementations represent a list of type descriptions.Classes in net.bytebuddy.description.type that implement interfaces with type arguments of type TypeDescriptionModifier and TypeClassDescriptionstatic classA visitor that reduces a detached generic type to its erasure.Fields in net.bytebuddy.description.type declared as TypeDescriptionModifier and TypeFieldDescriptionstatic final TypeDescriptionTypeDescription.CLASSDeprecated.private final TypeDescriptionTypeDescription.ArrayProjection.componentTypeThe base component type which is itself not an array.private final TypeDescriptionRecordComponentDescription.Latent.declaringTypeThe record component's declaring type.private final TypeDescriptionTypeDescription.Generic.Visitor.ForRawType.declaringTypeThe type description that is potentially a raw type.private final TypeDescriptionTypeDescription.Generic.Visitor.Reducing.declaringTypeThe generic type's declaring type.private final TypeDescriptionTypeDescription.Generic.Visitor.Substitutor.ForAttachment.declaringTypeThe declaring type which is filled in forTargetType.private final TypeDescriptionTypeDescription.SuperTypeLoading.delegateThe delegate type description.static final TypeDescriptionTypeDescription.OBJECTDeprecated.UseTypeDescription.ForLoadedType.of(Class)instead.private final TypeDescriptionTypeDescription.Generic.Builder.OfParameterizedType.rawTypeThe raw base type.private final TypeDescriptionTypeDescription.Generic.OfParameterizedType.Latent.rawTypeThe raw type of the described parameterized type.static final TypeDescriptionTypeDescription.STRINGDeprecated.UseTypeDescription.ForLoadedType.of(Class)instead.static final TypeDescriptionTypeDescription.THROWABLEDeprecated.UseTypeDescription.ForLoadedType.of(Class)instead.private final TypeDescriptionRecordComponentList.ForTokens.typeDescriptionThe record component's declaring type.private final TypeDescriptionTypeDescription.Generic.Builder.OfNonGenericType.typeDescriptionThe type's erasure.private final TypeDescriptionTypeDescription.Generic.OfNonGenericType.ForErasure.typeDescriptionThe represented type erasure.private final TypeDescriptionTypeDescription.Generic.OfNonGenericType.ForReifiedErasure.typeDescriptionThe represented type erasure.private final TypeDescriptionTypeDescription.Generic.OfNonGenericType.Latent.typeDescriptionThe non-generic type's raw type.private final TypeDescriptionTypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.typeDescriptionThe represented erasure.private final TypeDescriptionTypeDescription.Generic.Visitor.Assigner.Dispatcher.ForNonGenericType.typeDescriptionThe description of the type to which another type is assigned.private final TypeDescriptionTypeDescription.Generic.Visitor.Substitutor.ForReplacement.typeDescriptionThe type description to substitute.private final TypeDescriptionTypeDescription.Generic.Visitor.Substitutor.ForTokenNormalization.typeDescriptionThe type description to substitute allTargetTyperepresentations with.static final TypeDescriptionTypeDescription.UNDEFINEDRepresents any undefined property representing a type description that is instead represented asnullin order to resemble the Java reflection API which returnsnulland is intuitive to many Java developers.static final TypeDescriptionTypeDescription.VOIDDeprecated.UseTypeDescription.ForLoadedType.of(Class)instead.Fields in net.bytebuddy.description.type with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate static final Map<Class<?>, TypeDescription> TypeDescription.ForLoadedType.TYPE_CACHEA cache of type descriptions for commonly used types to avoid unnecessary allocations.private final List<? extends TypeDescription> TypeList.Explicit.typeDescriptionsThe list of type descriptions this list represents.private final ElementMatcher<? super TypeDescription> TypeDescription.Generic.Visitor.Substitutor.ForDetachment.typeMatcherA type matcher for identifying the declaring type.Methods in net.bytebuddy.description.type that return TypeDescriptionModifier and TypeMethodDescriptionTypeDescription.AbstractBase.asBoxed()Returns a description of this type that represents this type as a boxed type for primitive types, unless itsvoid.TypeDescription.asBoxed()Returns a description of this type that represents this type as a boxed type for primitive types, unless itsvoid.TypeDefinition.asErasure()Returns the erasure of this type.TypeDescription.AbstractBase.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.ForLoadedFieldType.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.ForLoadedReturnType.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.ForLoadedSuperClass.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.OfConstructorParameter.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.OfMethodParameter.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.OfRecordComponent.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazyInterfaceType.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.WithLazyNavigation.LazySuperClass.asErasure()Returns the erasure of this type.TypeDescription.Generic.LazyProjection.WithResolvedErasure.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfGenericArray.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfNonGenericType.ForErasure.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfNonGenericType.ForLoadedType.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfNonGenericType.ForReifiedErasure.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfNonGenericType.Latent.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfParameterizedType.ForLoadedType.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfParameterizedType.ForReifiedType.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfParameterizedType.Latent.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfTypeVariable.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfTypeVariable.Symbolic.asErasure()Returns the erasure of this type.TypeDescription.Generic.OfWildcardType.asErasure()Returns the erasure of this type.TypeDescription.SuperTypeLoading.ClassLoadingTypeProjection.asErasure()Returns the erasure of this type.TypeList.Generic.OfConstructorExceptionTypes.TypeProjection.asErasure()Returns the erasure of this type.TypeList.Generic.OfLoadedInterfaceTypes.TypeProjection.asErasure()Returns the erasure of this type.TypeList.Generic.OfMethodExceptionTypes.TypeProjection.asErasure()Returns the erasure of this type.TypeDescription.AbstractBase.asUnboxed()Returns a description of this type that represents this type as an unboxed type for boxing types, unless itsVoid.TypeDescription.asUnboxed()Returns a description of this type that represents this type as an unboxed type for boxing types, unless itsVoid.protected abstract TypeDescriptionTypeDescription.AbstractBase.OfSimpleType.WithDelegation.delegate()Returns the delegate type description to this type instance.TypeList.Explicit.get(int index) TypeList.ForLoadedTypes.get(int index) TypeDescription.AbstractBase.OfSimpleType.getComponentType()Returns the component type of this type.TypeDescription.ArrayProjection.getComponentType()Returns the component type of this type.TypeDescription.ForLoadedType.getComponentType()Returns the component type of this type.TypeDescription.getComponentType()Returns the component type of this type.TypeDescription.SuperTypeLoading.getComponentType()Returns the component type of this type.RecordComponentDescription.ForLoadedRecordComponent.getDeclaringType()Returns the declaring type of this instance.RecordComponentDescription.InDefinedShape.getDeclaringType()Returns the declaring type of this instance.RecordComponentDescription.Latent.getDeclaringType()Returns the declaring type of this instance.TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaringType()Returns the declaring type of this instance.TypeDescription.ArrayProjection.getDeclaringType()Returns the declaring type of this instance.TypeDescription.ForLoadedType.getDeclaringType()Returns the declaring type of this instance.TypeDescription.ForPackageDescription.getDeclaringType()Returns the declaring type of this instance.TypeDescription.getDeclaringType()Returns the declaring type of this instance.TypeDescription.Latent.getDeclaringType()Returns the declaring type of this instance.TypeDescription.SuperTypeLoading.getDeclaringType()Returns the declaring type of this instance.TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.ArrayProjection.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.ForLoadedType.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.ForPackageDescription.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.Latent.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.SuperTypeLoading.getEnclosingType()Returns a description of this type's enclosing type if any.TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getNestHost()Returns the nest host of this type.TypeDescription.ArrayProjection.getNestHost()Returns the nest host of this type.TypeDescription.ForLoadedType.getNestHost()Returns the nest host of this type.TypeDescription.ForPackageDescription.getNestHost()Returns the nest host of this type.TypeDescription.getNestHost()Returns the nest host of this type.TypeDescription.Latent.getNestHost()Returns the nest host of this type.TypeDescription.SuperTypeLoading.getNestHost()Returns the nest host of this type.static TypeDescriptionTypeDescription.ArrayProjection.of(TypeDescription componentType) Creates an array projection of an arity of one.static TypeDescriptionTypeDescription.ArrayProjection.of(TypeDescription componentType, int arity) Creates an array projection.static TypeDescriptionReturns a new immutable type description for a loaded type.protected static TypeDescriptionResolves a lazy proxy for a loaded type as a type description.TypeDescription.Generic.Visitor.Reducing.onGenericArray(TypeDescription.Generic genericArray) Visits a generic array type (TypeDefinition.Sort.GENERIC_ARRAY).TypeDescription.Generic.Visitor.Reducing.onNonGenericType(TypeDescription.Generic typeDescription) Visits a non-generic type (TypeDefinition.Sort.NON_GENERIC).TypeDescription.Generic.Visitor.Reducing.onParameterizedType(TypeDescription.Generic parameterizedType) Visits a parameterized type (TypeDefinition.Sort.PARAMETERIZED).TypeDescription.Generic.Visitor.Reducing.onTypeVariable(TypeDescription.Generic typeVariable) Visits a type variable (TypeDefinition.Sort.VARIABLE,TypeDefinition.Sort.VARIABLE_SYMBOLIC).TypeDescription.Generic.Visitor.Reducing.onWildcard(TypeDescription.Generic wildcard) Visits a wildcard (TypeDefinition.Sort.WILDCARD).Methods in net.bytebuddy.description.type with parameters of type TypeDescriptionModifier and TypeMethodDescriptionprotected abstract voidTypeDescription.Generic.OfParameterizedType.RenderingDelegate.apply(StringBuilder stringBuilder, TypeDescription erasure, TypeDescription.Generic ownerType) Applies this rendering delegate.static TypeList.GenericTypeList.Generic.ForDetachedTypes.attachVariables(TypeDescription typeDescription, List<? extends TypeVariableToken> detachedTypeVariables) Creates a list of type variables that are attached to the provided type.booleanPackageDescription.AbstractBase.contains(TypeDescription typeDescription) Checks if this package contains the provided type.booleanPackageDescription.contains(TypeDescription typeDescription) Checks if this package contains the provided type.booleanTypeDescription.AbstractBase.isAccessibleTo(TypeDescription typeDescription) Checks if this element is accessible from a given type.private static booleanTypeDescription.AbstractBase.isAssignable(TypeDescription sourceType, TypeDescription targetType) Checks if a specific type is assignable to another type where the source type must be a super type of the target type.booleanTypeDescription.AbstractBase.isAssignableFrom(TypeDescription typeDescription) Checks if this type is assignable from the type described by this instance, for example forclass Fooandclass Bar extends Foo, this method would returntrueforFoo.class.isAssignableFrom(Bar.class).booleanTypeDescription.ForLoadedType.isAssignableFrom(TypeDescription typeDescription) booleanTypeDescription.isAssignableFrom(TypeDescription typeDescription) Checks if this type is assignable from the type described by this instance, for example forclass Fooandclass Bar extends Foo, this method would returntrueforFoo.class.isAssignableFrom(Bar.class).booleanTypeDescription.AbstractBase.isAssignableTo(TypeDescription typeDescription) Checks if this type is assignable from the type described by this instance, for example forclass Fooandclass Bar extends Foo, this method would returntrueforBar.class.isAssignableFrom(Foo.class).booleanTypeDescription.ForLoadedType.isAssignableTo(TypeDescription typeDescription) booleanTypeDescription.isAssignableTo(TypeDescription typeDescription) Checks if this type is assignable from the type described by this instance, for example forclass Fooandclass Bar extends Foo, this method would returntrueforBar.class.isAssignableFrom(Foo.class).booleanTypeDescription.AbstractBase.isInHierarchyWith(TypeDescription typeDescription) Returnstrueif this type and the supplied type are in a type hierarchy with each other, i.e.booleanTypeDescription.ForLoadedType.isInHierarchyWith(TypeDescription typeDescription) booleanTypeDescription.isInHierarchyWith(TypeDescription typeDescription) Returnstrueif this type and the supplied type are in a type hierarchy with each other, i.e.booleanTypeDescription.AbstractBase.isNestMateOf(TypeDescription typeDescription) Checks if this type and the supplied type are members of the same nest group.booleanTypeDescription.ForLoadedType.isNestMateOf(TypeDescription typeDescription) booleanTypeDescription.isNestMateOf(TypeDescription typeDescription) Checks if this type and the supplied type are members of the same nest group.booleanTypeDescription.AbstractBase.isSamePackage(TypeDescription typeDescription) Checks if two types are defined in the same package.booleanTypeDescription.isSamePackage(TypeDescription typeDescription) Checks if two types are defined in the same package.booleanTypeDescription.AbstractBase.isVisibleTo(TypeDescription typeDescription) Checks if this element is visible from a given type.static TypeDescriptionTypeDescription.ArrayProjection.of(TypeDescription componentType) Creates an array projection of an arity of one.static TypeDescriptionTypeDescription.ArrayProjection.of(TypeDescription componentType, int arity) Creates an array projection.protected static TypeDescription.GenericTypeDescription.Generic.OfNonGenericType.ForReifiedErasure.of(TypeDescription typeDescription) Creates a new generic type representation for an erasure where any generified type is reified.static TypeDescription.GenericTypeDescription.Generic.OfParameterizedType.ForGenerifiedErasure.of(TypeDescription typeDescription) Represents the supplied type description as a generified erasure if it is generified or as a non-generic type if not so.TypeDescription.Generic.Visitor.Substitutor.ForAttachment.of(TypeDescription typeDescription) Attaches all types to the given type description.TypeDescription.Generic.Visitor.Substitutor.ForTypeVariableBinding.TypeVariableSubstitutor.onType(TypeDescription typeDescription) Applies the visitor on a type.TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType, Collection<? extends TypeDefinition> parameters) Creates a parameterized type without an owner type or with a non-generic owner type.TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType, TypeDefinition... parameter) Creates a parameterized type without an owner type or with a non-generic owner type.TypeDescription.Generic.Builder.parameterizedType(TypeDescription rawType, TypeDescription.Generic ownerType, Collection<? extends TypeDefinition> parameters) Creates a parameterized type.TypeDescription.Generic.Builder.rawType(TypeDescription type) Creates a raw type of a type description.TypeDescription.Generic.Builder.rawType(TypeDescription type, TypeDescription.Generic ownerType) Creates a raw type of a type description.Method parameters in net.bytebuddy.description.type with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionRecordComponentDescription.AbstractBase.asToken(ElementMatcher<? super TypeDescription> matcher) Resolves this record component to a token where all types are detached.RecordComponentDescription.asToken(ElementMatcher<? super TypeDescription> matcher) Resolves this record component to a token where all types are detached.RecordComponentList.AbstractBase.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of record component descriptions into a list of detached tokens.RecordComponentList.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of record component descriptions into a list of detached tokens.RecordComponentList.Empty.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms the list of record component descriptions into a list of detached tokens.TypeList.Generic.AbstractBase.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms a list of attached type variables into their tokenized form.TypeList.Generic.asTokenList(ElementMatcher<? super TypeDescription> visitor) Transforms a list of attached type variables into their tokenized form.TypeList.Generic.Empty.asTokenList(ElementMatcher<? super TypeDescription> matcher) Transforms a list of attached type variables into their tokenized form.static TypeVariableTokenTypeVariableToken.of(TypeDescription.Generic typeVariable, ElementMatcher<? super TypeDescription> matcher) Transforms a type variable into a type variable token with its bounds detached.protected TypeListTypeList.AbstractBase.wrap(List<TypeDescription> values) Constructors in net.bytebuddy.description.type with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedArrayProjection(TypeDescription componentType, int arity) Creates a new array projection.Explicit(TypeDescription... typeDescription) Creates an immutable wrapper.protectedForAttachment(TypeDescription declaringType, TypeVariableSource typeVariableSource) Creates a visitor for attaching type variables.ForErasure(TypeDescription typeDescription) Creates a new description of a non-generic type as an erasure.protectedForGenerifiedErasure(TypeDescription typeDescription) Creates a new generified erasure.protectedForNonGenericType(TypeDescription typeDescription) Creates a new dispatcher of a non-generic type.ForRawType(TypeDescription declaringType) Creates a visitor for representing declared types of a potentially raw type.protectedForReifiedErasure(TypeDescription typeDescription) Creates a new reified non-generic type.ForReplacement(TypeDescription typeDescription) Creates a new substitutor for a type description replacement.ForTokenNormalization(TypeDescription typeDescription) Creates a new token normalization visitor.ForTokens(TypeDescription typeDescription, List<? extends RecordComponentDescription.Token> tokens) Creates a new list of record components that are described as tokens.ForTokens(TypeDescription typeDescription, RecordComponentDescription.Token... token) Creates a new list of record components that are described as tokens.Latent(TypeDescription declaringType, String name, TypeDescription.Generic type, List<? extends AnnotationDescription> annotations) Creates a new latent record component.Latent(TypeDescription declaringType, RecordComponentDescription.Token token) Creates a new latent record component.Latent(TypeDescription typeDescription, AnnotationSource annotationSource) Creates a non-generic type with an implicit owner type.protectedLatent(TypeDescription typeDescription, TypeDescription.Generic declaringType, AnnotationSource annotationSource) Creates a non-generic type.privateLatent(TypeDescription typeDescription, TypeDescription declaringType, AnnotationSource annotationSource) Creates a non-generic type with a raw owner type.Latent(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameters, AnnotationSource annotationSource) Creates a description of a latent parameterized type.protectedOfNonGenericType(TypeDescription typeDescription) Creates a builder for a non-generic type.protectedOfNonGenericType(TypeDescription typeDescription, TypeDescription ownerType) Creates a builder for a non-generic type.protectedOfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType) Creates a builder for a non-generic type.protectedOfNonGenericType(TypeDescription typeDescription, TypeDescription.Generic ownerType, List<? extends AnnotationDescription> annotations) Creates a builder for a non-generic type.protectedOfParameterizedType(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes) Creates a builder for a parameterized type.protectedOfParameterizedType(TypeDescription rawType, TypeDescription.Generic ownerType, List<? extends TypeDescription.Generic> parameterTypes, List<? extends AnnotationDescription> annotations) Creates a builder for a parameterized type.Reducing(TypeDescription declaringType, List<? extends TypeVariableToken> typeVariableTokens) Creates a new reducing type visitor.Reducing(TypeDescription declaringType, TypeVariableToken... typeVariableToken) Creates a new reducing type visitor.SuperTypeLoading(TypeDescription delegate, ClassLoader classLoader) Creates a super type loading type description.SuperTypeLoading(TypeDescription delegate, ClassLoader classLoader, TypeDescription.SuperTypeLoading.ClassLoadingDelegate classLoadingDelegate) Creates a super type loading type description.Constructor parameters in net.bytebuddy.description.type with type arguments of type TypeDescriptionModifierConstructorDescriptionExplicit(List<? extends TypeDescription> typeDescriptions) Creates an immutable wrapper.ForDetachment(ElementMatcher<? super TypeDescription> typeMatcher) Creates a visitor for detaching a type. -
Uses of TypeDescription in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as TypeDescriptionModifier and TypeFieldDescriptionstatic final TypeDescriptionTargetType.DESCRIPTIONA description of theTargetType.private final TypeDescriptionTransformer.ForField.TransformedField.instrumentedTypeThe instrumented type for which this field is transformed.private final TypeDescriptionTransformer.ForMethod.TransformedMethod.instrumentedTypeThe instrumented type for which this method is transformed.private final TypeDescriptionDynamicType.Builder.AbstractBase.Adapter.InnerTypeDefinitionForTypeAdapter.typeDescriptionA description of the type that is the defined outer type.protected final TypeDescriptionDynamicType.Default.typeDescriptionA type description of this dynamic type.Fields in net.bytebuddy.dynamic with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final Map<TypeDescription, Class<?>> DynamicType.Default.Loaded.loadedTypesThe loaded types for the given loaded dynamic type.Methods in net.bytebuddy.dynamic that return TypeDescriptionModifier and TypeMethodDescriptionDynamicType.Default.getTypeDescription()Returns a description of this dynamic type.DynamicType.getTypeDescription()Returns a description of this dynamic type.static TypeDescriptionTargetType.resolve(TypeDescription typeDescription, TypeDescription targetType) Resolves the given type description to the supplied target type if it represents theTargetTypeplaceholder.DynamicType.Builder.AbstractBase.Adapter.toTypeDescription()Returns aTypeDescriptionfor the currently built type.DynamicType.Builder.AbstractBase.Delegator.toTypeDescription()Returns aTypeDescriptionfor the currently built type.DynamicType.Builder.toTypeDescription()Returns aTypeDescriptionfor the currently built type.Methods in net.bytebuddy.dynamic that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionMap<TypeDescription, Class<?>> DynamicType.Default.Loaded.getAllLoaded()Returns all loaded types that are implied by this dynamic type.Map<TypeDescription, Class<?>> DynamicType.Loaded.getAllLoaded()Returns all loaded types that are implied by this dynamic type.DynamicType.AbstractBase.getAllTypeDescriptions()Returns a set of all types that are represented by this dynamic type.DynamicType.getAllTypeDescriptions()Returns a set of all types that are represented by this dynamic type.Map<TypeDescription, byte[]> DynamicType.AbstractBase.getAllTypes()Returns all types that are implied by this dynamic type.Map<TypeDescription, byte[]> DynamicType.getAllTypes()Returns all types that are implied by this dynamic type.DynamicType.AbstractBase.getAuxiliaryTypeDescriptions()Returns a set of all auxiliary types that are represented by this dynamic type.DynamicType.getAuxiliaryTypeDescriptions()Returns a set of all auxiliary types that are represented by this dynamic type.Map<TypeDescription, byte[]> DynamicType.AbstractBase.getAuxiliaryTypes()Returns a map of all auxiliary types that are required for making use of the main type.Map<TypeDescription, byte[]> DynamicType.getAuxiliaryTypes()Returns a map of all auxiliary types that are required for making use of the main type.Map<TypeDescription, Class<?>> DynamicType.Default.Loaded.getLoadedAuxiliaryTypes()Returns a map of all loaded auxiliary types to this dynamic type.Map<TypeDescription, Class<?>> DynamicType.Loaded.getLoadedAuxiliaryTypes()Returns a map of all loaded auxiliary types to this dynamic type.DynamicType.AbstractBase.getLoadedTypeInitializers()Returns a map of all loaded type initializers for the main type and all auxiliary types, if any.DynamicType.getLoadedTypeInitializers()Returns a map of all loaded type initializers for the main type and all auxiliary types, if any.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Active.Resolved.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Disabled.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Lazy.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Passive.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.<S extends ClassLoader>
Map<TypeDescription, Class<?>> TypeResolutionStrategy.Resolved.initialize(DynamicType dynamicType, S classLoader, ClassLoadingStrategy<? super S> classLoadingStrategy) Loads and initializes a dynamic type.Saves a dynamic type in a given folder using the Java class file format while respecting the naming conventions for saving compiled Java classes.Saves a dynamic type in a given folder using the Java class file format while respecting the naming conventions for saving compiled Java classes.Methods in net.bytebuddy.dynamic with parameters of type TypeDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.declaredTypes(TypeDescription... type) Defines this type as an the outer type of the supplied types.DynamicType.Builder.declaredTypes(TypeDescription... type) Defines this type as an the outer type of the supplied types.DynamicType.Builder.AbstractBase.Adapter.innerTypeOf(TypeDescription type) Defines this type as an inner type of the supplied type.DynamicType.Builder.AbstractBase.Delegator.innerTypeOf(TypeDescription type) Defines this type as an inner type of the supplied type.DynamicType.Builder.innerTypeOf(TypeDescription type) Defines this type as an inner type of the supplied type.DynamicType.Builder.ModuleDefinition.AbstractBase.mainClass(TypeDescription typeDescription) Specifies the main class of the module being defined.DynamicType.Builder.ModuleDefinition.mainClass(TypeDescription typeDescription) Specifies the main class of the module being defined.DynamicType.Builder.AbstractBase.Adapter.nestHost(TypeDescription type) Defines this type as a nest member of the supplied type as a nest host.DynamicType.Builder.AbstractBase.Delegator.nestHost(TypeDescription type) Defines this type as a nest member of the supplied type as a nest host.DynamicType.Builder.nestHost(TypeDescription type) Defines this type as a nest member of the supplied type as a nest host.DynamicType.Builder.AbstractBase.nestMembers(TypeDescription... type) Defines this type as a nest host for the supplied types.DynamicType.Builder.nestMembers(TypeDescription... type) Defines this type as a nest host for the supplied types.DynamicType.Builder.AbstractBase.permittedSubclass(TypeDescription... type) Defines this type to allow the supplied permitted subclasses additionally to any prior permitted subclasses.DynamicType.Builder.permittedSubclass(TypeDescription... type) Defines this type to allow the supplied permitted subclasses additionally to any prior permitted subclasses.DynamicType.Builder.ModuleDefinition.AbstractBase.provides(TypeDescription service, Collection<TypeDescription> implementations) Specifies service implementations that are provided by the module being defined.DynamicType.Builder.ModuleDefinition.AbstractBase.provides(TypeDescription service, TypeDescription... implementation) Specifies service implementations that are provided by the module being defined.DynamicType.Builder.ModuleDefinition.provides(TypeDescription service, Collection<TypeDescription> implementations) Specifies service implementations that are provided by the module being defined.DynamicType.Builder.ModuleDefinition.provides(TypeDescription service, TypeDescription... implementation) Specifies service implementations that are provided by the module being defined.DynamicType.Builder.AbstractBase.require(TypeDescription type, byte[] binaryRepresentation) Explicitly requires another dynamic type for the creation of this type.DynamicType.Builder.AbstractBase.require(TypeDescription type, byte[] binaryRepresentation, LoadedTypeInitializer typeInitializer) Explicitly requires another dynamic type for the creation of this type.DynamicType.Builder.require(TypeDescription type, byte[] binaryRepresentation) Explicitly requires another dynamic type for the creation of this type.DynamicType.Builder.require(TypeDescription type, byte[] binaryRepresentation, LoadedTypeInitializer typeInitializer) Explicitly requires another dynamic type for the creation of this type.static TypeDescriptionTargetType.resolve(TypeDescription typeDescription, TypeDescription targetType) Resolves the given type description to the supplied target type if it represents theTargetTypeplaceholder.Transformer.Compound.transform(TypeDescription instrumentedType, S target) Transforms the supplied target.Transformer.ForField.FieldModifierTransformer.transform(TypeDescription instrumentedType, FieldDescription.Token target) Transforms the supplied target.Transformer.ForField.transform(TypeDescription instrumentedType, FieldDescription fieldDescription) Transforms the supplied target.Transformer.ForMethod.MethodModifierTransformer.transform(TypeDescription instrumentedType, MethodDescription.Token target) Transforms the supplied target.Transformer.ForMethod.transform(TypeDescription instrumentedType, MethodDescription methodDescription) Transforms the supplied target.Transformer.NoOp.transform(TypeDescription instrumentedType, Object target) Transforms the supplied target.Transformer.transform(TypeDescription instrumentedType, T target) Transforms the supplied target.DynamicType.Builder.ModuleDefinition.AbstractBase.uses(TypeDescription... service) Specifies services that are used by the module being defined.DynamicType.Builder.ModuleDefinition.uses(TypeDescription... service) Specifies services that are used by the module being defined.Method parameters in net.bytebuddy.dynamic with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.declaredTypes(Collection<? extends TypeDescription> types) Defines this type as an the outer type of the supplied types.DynamicType.Builder.AbstractBase.Delegator.declaredTypes(Collection<? extends TypeDescription> types) Defines this type as an the outer type of the supplied types.DynamicType.Builder.declaredTypes(Collection<? extends TypeDescription> types) Defines this type as an the outer type of the supplied types.DynamicType.Builder.AbstractBase.Adapter.nestMembers(Collection<? extends TypeDescription> types) Defines this type as a nest host for the supplied types.DynamicType.Builder.AbstractBase.Delegator.nestMembers(Collection<? extends TypeDescription> types) Defines this type as a nest host for the supplied types.DynamicType.Builder.nestMembers(Collection<? extends TypeDescription> types) Defines this type as a nest host for the supplied types.static ClassFileLocatorClassFileLocator.Simple.of(Map<TypeDescription, byte[]> binaryRepresentations) Creates a class file locator that represents all types of a dynamic type.DynamicType.Builder.AbstractBase.Adapter.permittedSubclass(Collection<? extends TypeDescription> types) Defines this type to allow the supplied permitted subclasses additionally to any prior permitted subclasses.DynamicType.Builder.AbstractBase.Delegator.permittedSubclass(Collection<? extends TypeDescription> types) Defines this type to allow the supplied permitted subclasses additionally to any prior permitted subclasses.DynamicType.Builder.permittedSubclass(Collection<? extends TypeDescription> types) Defines this type to allow the supplied permitted subclasses additionally to any prior permitted subclasses.DynamicType.Builder.ModuleDefinition.AbstractBase.provides(TypeDescription service, Collection<TypeDescription> implementations) Specifies service implementations that are provided by the module being defined.DynamicType.Builder.ModuleDefinition.provides(TypeDescription service, Collection<TypeDescription> implementations) Specifies service implementations that are provided by the module being defined.private DynamicType.Builder.ModuleDefinition<U> DynamicType.Builder.ModuleDefinition.AbstractBase.uses(List<TypeDescription> services) Includes the provided type in the usage of the module description.Constructors in net.bytebuddy.dynamic with parameters of type TypeDescriptionModifierConstructorDescriptionDefault(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes) Creates a new dynamic type.protectedInnerTypeDefinitionForTypeAdapter(TypeDescription typeDescription) Creates a new adapter for an inner type definition for an outer type.protectedLoaded(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, Map<TypeDescription, Class<?>> loadedTypes) Creates a new representation of a loaded dynamic type.protectedTransformedField(TypeDescription instrumentedType, TypeDefinition declaringType, FieldDescription.Token token, FieldDescription.InDefinedShape fieldDescription) Creates a new transformed field.protectedTransformedMethod(TypeDescription instrumentedType, TypeDefinition declaringType, MethodDescription.Token token, MethodDescription.InDefinedShape methodDescription) Creates a new transformed method.Unloaded(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, TypeResolutionStrategy.Resolved typeResolutionStrategy) Creates a new unloaded representation of a dynamic type.Constructor parameters in net.bytebuddy.dynamic with type arguments of type TypeDescriptionModifierConstructorDescriptionprotectedLoaded(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, List<? extends DynamicType> auxiliaryTypes, Map<TypeDescription, Class<?>> loadedTypes) Creates a new representation of a loaded dynamic type. -
Uses of TypeDescription in net.bytebuddy.dynamic.loading
Methods in net.bytebuddy.dynamic.loading that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionMap<TypeDescription, Class<?>> ClassInjector.AbstractBase.inject(Map<? extends TypeDescription, byte[]> types) Injects the given types into the represented class loader.Map<TypeDescription, Class<?>> ClassInjector.AbstractBase.inject(Set<? extends TypeDescription> types, ClassFileLocator classFileLocator) Injects the given types into the represented class loader.Map<TypeDescription, Class<?>> ClassInjector.inject(Map<? extends TypeDescription, byte[]> types) Injects the given types into the represented class loader.Map<TypeDescription, Class<?>> ClassInjector.inject(Set<? extends TypeDescription> types, ClassFileLocator classFileLocator) Injects the given types into the represented class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given set of class descriptions and their binary representations using a child-first class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations using a child-first class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassLoaderDecorator.Factory classLoaderDecoratorFactory, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations using a child-first class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given set of class descriptions and their binary representations.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassLoaderDecorator.Factory classLoaderDecoratorFactory, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations.Map<TypeDescription, Class<?>> ClassLoadingStrategy.Default.InjectionDispatcher.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.Default.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.Default.WrappingDispatcher.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.ForBootstrapInjection.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.ForJnaInjection.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.ForUnsafeInjection.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.load(T classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.UsingLookup.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassReloadingStrategy.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> InjectionClassLoader.Strategy.load(InjectionClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Methods in net.bytebuddy.dynamic.loading with parameters of type TypeDescriptionModifier and TypeMethodDescriptionClassLoaderDecorator.apply(TypeDescription typeDescription) Applies this decorator to resolve a class loader for the given type.ClassLoaderDecorator.NoOp.apply(TypeDescription typeDescription) Applies this decorator to resolve a class loader for the given type.ModuleLayerFromSingleClassLoaderDecorator.apply(TypeDescription typeDescription) Applies this decorator to resolve a class loader for the given type.booleanClassLoaderDecorator.isSkipped(TypeDescription typeDescription) Determines if a type should be skipped from class loader decoration.booleanClassLoaderDecorator.NoOp.isSkipped(TypeDescription typeDescription) Determines if a type should be skipped from class loader decoration.booleanModuleLayerFromSingleClassLoaderDecorator.isSkipped(TypeDescription typeDescription) Determines if a type should be skipped from class loader decoration.Method parameters in net.bytebuddy.dynamic.loading with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionMap<TypeDescription, Class<?>> ClassInjector.AbstractBase.inject(Map<? extends TypeDescription, byte[]> types) Injects the given types into the represented class loader.Map<TypeDescription, Class<?>> ClassInjector.AbstractBase.inject(Set<? extends TypeDescription> types, ClassFileLocator classFileLocator) Injects the given types into the represented class loader.Map<TypeDescription, Class<?>> ClassInjector.inject(Map<? extends TypeDescription, byte[]> types) Injects the given types into the represented class loader.Map<TypeDescription, Class<?>> ClassInjector.inject(Set<? extends TypeDescription> types, ClassFileLocator classFileLocator) Injects the given types into the represented class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given set of class descriptions and their binary representations using a child-first class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations using a child-first class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.ChildFirst.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassLoaderDecorator.Factory classLoaderDecoratorFactory, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations using a child-first class loader.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given set of class descriptions and their binary representations.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations.static Map<TypeDescription, Class<?>> ByteArrayClassLoader.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types, ProtectionDomain protectionDomain, ByteArrayClassLoader.PersistenceHandler persistenceHandler, PackageDefinitionStrategy packageDefinitionStrategy, ClassLoaderDecorator.Factory classLoaderDecoratorFactory, boolean forbidExisting, boolean sealed) Loads a given set of class descriptions and their binary representations.Map<TypeDescription, Class<?>> ClassLoadingStrategy.Default.InjectionDispatcher.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.Default.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.Default.WrappingDispatcher.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.ForBootstrapInjection.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.ForJnaInjection.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.ForUnsafeInjection.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.load(T classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassLoadingStrategy.UsingLookup.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> ClassReloadingStrategy.load(ClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation.Map<TypeDescription, Class<?>> InjectionClassLoader.Strategy.load(InjectionClassLoader classLoader, Map<TypeDescription, byte[]> types) Loads a given collection of classes given their binary representation. -
Uses of TypeDescription in net.bytebuddy.dynamic.scaffold
Subinterfaces of TypeDescription in net.bytebuddy.dynamic.scaffoldModifier and TypeInterfaceDescriptioninterfaceImplementations of this interface represent an instrumented type that is subject to change.static interfaceImplementations represent anInstrumentedTypewith a flexible name.Classes in net.bytebuddy.dynamic.scaffold that implement TypeDescriptionModifier and TypeClassDescriptionstatic classA default implementation of an instrumented type.static classA frozen representation of an instrumented type of which the structure must not be modified.Fields in net.bytebuddy.dynamic.scaffold declared as TypeDescriptionModifier and TypeFieldDescriptionprotected final TypeDescriptionFieldLocator.AbstractBase.accessingTypeThe type accessing the field.private final TypeDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.bridgeTypeThe type on which the bridge method is invoked.private final TypeDescriptionInstrumentedType.Default.declaringTypeThe declaring type of the instrumented type ornullif no such type exists.private final TypeDescriptionInstrumentedType.Default.enclosingTypeThe enclosing type of the instrumented type ornullif no such type exists.private final TypeDescriptionFieldRegistry.Default.Compiled.instrumentedTypeThe instrumented type for which this registry was compiled for.private final TypeDescriptionMethodRegistry.Default.Compiled.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodRegistry.Default.Prepared.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodRegistry.Handler.ForVisibilityBridge.Compiled.instrumentedTypeThe instrumented type.private final TypeDescriptionRecordComponentRegistry.Default.Compiled.instrumentedTypeThe instrumented type for which this registry was compiled for.protected final TypeDescriptionTypeInitializer.Drain.Default.instrumentedTypeThe instrumented type.private final TypeDescriptionTypeWriter.Default.ClassDumpAction.instrumentedTypeThe instrumented type.private final TypeDescriptionTypeWriter.Default.ForInlining.WithDecorationOnly.LazyFieldList.instrumentedTypeThe instrumented type.protected final TypeDescriptionTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.instrumentedTypeThe instrumented type.protected final TypeDescriptionTypeWriter.Default.instrumentedTypeThe instrumented type to be created.private final TypeDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.instrumentedTypeThe instrumented type defining the bridge target.private final TypeDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.instrumentedTypeThe instrumented type defining the bridge target.private final TypeDescriptionTypeWriter.MethodPool.Record.AccessBridgeWrapper.instrumentedTypeThe instrumented type that defines the bridge methods and the bridge target.private final TypeDescriptionTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.instrumentedTypeThe instrumented type.private final TypeDescriptionInstrumentedType.Default.nestHostThe nest host of this instrumented type or a description ofTargetTypeif this type is its own nest host.protected final TypeDescriptionTypeWriter.Default.ForInlining.originalTypeThe original type's description.private final TypeDescriptionFieldLocator.ForClassHierarchy.typeDescriptionThe type for which to look up a field within its class hierarchy.private final TypeDescriptionFieldLocator.ForExactType.Factory.typeDescriptionThe type for which to locate a field.private final TypeDescriptionFieldLocator.ForExactType.typeDescriptionThe type for which to look up fields.private final TypeDescriptionInstrumentedType.Frozen.typeDescriptionThe represented type description.Fields in net.bytebuddy.dynamic.scaffold with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final List<? extends TypeDescription> InstrumentedType.Default.declaredTypesA list of types that are declared by this type.private final LinkedHashMap<String, TypeDescription> TypeWriter.Default.ForInlining.WithFullProcessing.RedefinitionClassVisitor.declaredTypesA mapping of the internal names of all declared types to their description.private final Map<TypeDescription, MethodGraph> MethodGraph.Linked.Delegation.interfaceGraphsA mapping of method graphs of the represented type's directly implemented interfaces to their graph representatives.private final List<? extends TypeDescription> InstrumentedType.Default.nestMembersA list of all members of this types nest group excluding this type.private final List<? extends TypeDescription> InstrumentedType.Default.permittedSubclassesA list of permitted subclasses ornullif this type is not sealed.Methods in net.bytebuddy.dynamic.scaffold that return TypeDescriptionModifier and TypeMethodDescriptionInstrumentedType.Default.getDeclaringType()Returns the declaring type of this instance.InstrumentedType.Frozen.getDeclaringType()Returns the declaring type of this instance.TypeWriter.MethodPool.Record.AccessBridgeWrapper.AccessorBridge.getDeclaringType()Returns the declaring type of this instance.TypeWriter.MethodPool.Record.AccessBridgeWrapper.BridgeTarget.getDeclaringType()Returns the declaring type of this instance.TypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.VisibilityBridge.getDeclaringType()Returns the declaring type of this instance.InstrumentedType.Default.getEnclosingType()Returns a description of this type's enclosing type if any.InstrumentedType.Frozen.getEnclosingType()Returns a description of this type's enclosing type if any.MethodRegistry.Compiled.getInstrumentedType()Returns the instrumented type that is to be created.MethodRegistry.Default.Compiled.getInstrumentedType()Returns the instrumented type that is to be created.MethodRegistry.Default.Prepared.getInstrumentedType()Returns the fully prepared instrumented type.MethodRegistry.Prepared.getInstrumentedType()Returns the fully prepared instrumented type.InstrumentedType.Default.getNestHost()Returns the nest host of this type.InstrumentedType.Frozen.getNestHost()Returns the nest host of this type.InstrumentedType.Default.validated()Validates the instrumented type to define a legal Java type.InstrumentedType.Frozen.validated()Validates the instrumented type to define a legal Java type.InstrumentedType.validated()Validates the instrumented type to define a legal Java type.Methods in net.bytebuddy.dynamic.scaffold with parameters of type TypeDescriptionModifier and TypeMethodDescriptionprotected MethodRegistry.Default.Prepared.EntryMethodRegistry.Default.Entry.asPreparedEntry(TypeDescription instrumentedType, MethodDescription methodDescription, Set<MethodDescription.TypeToken> methodTypes, Visibility visibility) Transforms this entry into a prepared state.protected MethodRegistry.Default.Prepared.EntryMethodRegistry.Default.Entry.asPreparedEntry(TypeDescription instrumentedType, MethodDescription methodDescription, Visibility visibility) Transforms this entry into a prepared state.protected TypeWriter.FieldPool.RecordFieldRegistry.Default.Compiled.Entry.bind(TypeDescription instrumentedType, FieldDescription fieldDescription) Binds this entry to the provided field description.protected TypeWriter.MethodPool.RecordMethodRegistry.Default.Compiled.Entry.bind(TypeDescription instrumentedType, boolean supportsBridges) Transforms this entry into a method record.protected TypeWriter.RecordComponentPool.RecordRecordComponentRegistry.Default.Compiled.Entry.bind(TypeDescription instrumentedType, RecordComponentDescription recordComponentDescription) Binds this entry to the provided record component description.FieldRegistry.compile(TypeDescription instrumentedType) Prepares the field registry for a given instrumented type.FieldRegistry.Default.compile(TypeDescription instrumentedType) Prepares the field registry for a given instrumented type.MethodGraph.Compiler.AbstractBase.compile(TypeDescription typeDescription) Deprecated.MethodGraph.Compiler.AbstractBase.compile(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.MethodGraph.Compiler.compile(TypeDefinition typeDefinition, TypeDescription viewPoint) Compiles the given type into a method graph.MethodGraph.Compiler.compile(TypeDescription typeDescription) Deprecated.MethodGraph.Compiler.compile(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.MethodGraph.Compiler.Default.compile(TypeDefinition typeDefinition, TypeDescription viewPoint) Compiles the given type into a method graph.MethodGraph.Compiler.ForDeclaredMethods.compile(TypeDefinition typeDefinition, TypeDescription viewPoint) Compiles the given type into a method graph.MethodGraph.Compiler.ForDeclaredMethods.compile(TypeDescription typeDescription) Deprecated.MethodGraph.Compiler.ForDeclaredMethods.compile(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.MethodGraph.Empty.compile(TypeDefinition typeDefinition, TypeDescription viewPoint) Compiles the given type into a method graph.MethodGraph.Empty.compile(TypeDescription typeDescription) Deprecated.MethodGraph.Empty.compile(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.RecordComponentRegistry.compile(TypeDescription instrumentedType) Prepares the record component registry for a given instrumented type.RecordComponentRegistry.Default.compile(TypeDescription instrumentedType) Prepares the record component registry for a given instrumented type.voidTypeWriter.Default.ClassDumpAction.Dispatcher.Disabled.dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation) Dumps a class file to the file system.voidTypeWriter.Default.ClassDumpAction.Dispatcher.dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation) Dumps a class file to the file system.voidTypeWriter.Default.ClassDumpAction.Dispatcher.Enabled.dump(TypeDescription instrumentedType, boolean original, byte[] binaryRepresentation) Dumps a class file to the file system.static <U> TypeWriter<U> TypeWriter.Default.forDecoration(TypeDescription instrumentedType, ClassFileVersion classFileVersion, List<? extends DynamicType> auxiliaryTypes, List<? extends MethodDescription> methods, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, ClassFileLocator classFileLocator) Creates a type writer for decorating a type.static <U> TypeWriter<U> TypeWriter.Default.forRebasing(MethodRegistry.Prepared methodRegistry, List<? extends DynamicType> auxiliaryTypes, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver) Creates a type writer for rebasing a type.static <U> TypeWriter<U> TypeWriter.Default.forRedefinition(MethodRegistry.Prepared methodRegistry, List<? extends DynamicType> auxiliaryTypes, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, ClassFileVersion classFileVersion, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a type writer for redefining a type.MethodGraph.Empty.getInterfaceGraph(TypeDescription typeDescription) Returns a graph representing the view on this represented type's directly implemented interface type.MethodGraph.Linked.Delegation.getInterfaceGraph(TypeDescription typeDescription) Returns a graph representing the view on this represented type's directly implemented interface type.MethodGraph.Linked.getInterfaceGraph(TypeDescription typeDescription) Returns a graph representing the view on this represented type's directly implemented interface type.FieldLocator.AbstractBase.locate(String name, TypeDescription type) Locates a field with the given name and type and throws an exception if no such type exists.FieldLocator.locate(String name, TypeDescription type) Locates a field with the given name and type and throws an exception if no such type exists.FieldLocator.NoOp.locate(String name, TypeDescription type) Locates a field with the given name and type and throws an exception if no such type exists.FieldLocator.Factory.make(TypeDescription typeDescription) Creates a field locator for a given type.FieldLocator.ForClassHierarchy.Factory.make(TypeDescription typeDescription) Creates a field locator for a given type.FieldLocator.ForExactType.Factory.make(TypeDescription typeDescription) Creates a field locator for a given type.FieldLocator.ForTopLevelType.Factory.make(TypeDescription typeDescription) Creates a field locator for a given type.FieldLocator.NoOp.make(TypeDescription typeDescription) Creates a field locator for a given type.TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.of(boolean enabled, org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool methodPool, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Resolves an initialization handler.static TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.AccessBridgeWrapper.of(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender) Wraps the given record in an accessor bridge wrapper if necessary.static TypeWriter.MethodPool.RecordTypeWriter.MethodPool.Record.ForDefinedMethod.OfVisibilityBridge.of(TypeDescription instrumentedType, MethodDescription bridgeTarget, MethodAttributeAppender attributeAppender) Creates a record for a visibility bridge.InstrumentedType.Factory.represent(TypeDescription typeDescription) Creates an instrumented type that represents the provided type.ElementMatcher<? super FieldDescription> FieldRegistry.Default.Entry.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super MethodDescription> MethodRegistry.Default.Entry.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super RecordComponentDescription> RecordComponentRegistry.Default.Entry.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.InstrumentedType.Default.withDeclaringType(TypeDescription declaringType) Creates a new instrumented type that is declared by the supplied type.InstrumentedType.Frozen.withDeclaringType(TypeDescription declaringType) Creates a new instrumented type that is declared by the supplied type.InstrumentedType.withDeclaringType(TypeDescription declaringType) Creates a new instrumented type that is declared by the supplied type.InstrumentedType.WithFlexibleName.withDeclaringType(TypeDescription declaringType) Creates a new instrumented type that is declared by the supplied type.private static TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithDrainTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.withDrain(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool methodPool, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Resolves an initialization handler with a drain.InstrumentedType.Default.withEnclosingType(TypeDescription enclosingType) Creates a new instrumented type with the supplied enclosing type.InstrumentedType.Frozen.withEnclosingType(TypeDescription enclosingType) Creates a new instrumented type with the supplied enclosing type.InstrumentedType.withEnclosingType(TypeDescription enclosingType) Creates a new instrumented type with the supplied enclosing type.InstrumentedType.WithFlexibleName.withEnclosingType(TypeDescription enclosingType) Creates a new instrumented type with the supplied enclosing type.InstrumentedType.Default.withNestHost(TypeDescription nestHost) Creates a new instrumented type with the supplied nest host.InstrumentedType.Frozen.withNestHost(TypeDescription nestHost) Creates a new instrumented type with the supplied nest host.InstrumentedType.WithFlexibleName.withNestHost(TypeDescription nestHost) Creates a new instrumented type with the supplied nest host.InstrumentedType.withNestHost(TypeDescription nestHost) Creates a new instrumented type with the supplied nest host.private static TypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.WithoutDrainTypeWriter.Default.ForInlining.WithFullProcessing.InitializationHandler.Appending.withoutDrain(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool methodPool, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Resolves an initialization handler without a drain.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAbstractBase(TypeDescription accessingType) Creates a new field locator.protectedAccessBridgeWrapper(TypeWriter.MethodPool.Record delegate, TypeDescription instrumentedType, MethodDescription bridgeTarget, Set<MethodDescription.TypeToken> bridgeTypes, MethodAttributeAppender attributeAppender) Creates a wrapper for adding accessor bridges.protectedAccessorBridge(MethodDescription bridgeTarget, MethodDescription.TypeToken bridgeType, TypeDescription instrumentedType) Creates a new accessor bridge method.protectedAppending(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Creates a new appending initialization handler.protectedBridgeTarget(MethodDescription bridgeTarget, TypeDescription instrumentedType) Creates a new bridge target.protectedClassDumpAction(String target, TypeDescription instrumentedType, boolean original, long suffix, byte[] binaryRepresentation) Creates a new class dump action.protectedCompiled(TypeDescription instrumentedType, List<FieldRegistry.Default.Compiled.Entry> entries) Creates a new compiled field registry.protectedCompiled(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.protectedCompiled(TypeDescription instrumentedType) Creates a new compiled handler for a visibility bridge.protectedCompiled(TypeDescription instrumentedType, List<RecordComponentRegistry.Default.Compiled.Entry> entries) Creates a new compiled record component registry.protectedCreating(TypeDescription instrumentedType, TypeWriter.MethodPool methodPool, AnnotationValueFilter.Factory annotationValueFilterFactory) Creates a new creating initialization handler.protectedDefault(String name, int modifiers, ModuleDescription moduleDescription, List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic superClass, List<? extends TypeDescription.Generic> interfaceTypes, List<? extends FieldDescription.Token> fieldTokens, Map<String, Object> auxiliaryFieldValues, List<? extends MethodDescription.Token> methodTokens, List<? extends RecordComponentDescription.Token> recordComponentTokens, List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, List<? extends TypeDescription> declaredTypes, List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, List<? extends TypeDescription> nestMembers) Creates a new instrumented type.Default(TypeDescription instrumentedType, TypeWriter.MethodPool methodPool, AnnotationValueFilter.Factory annotationValueFilterFactory) Creates a new default type initializer drain.protectedDefault(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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool) Creates a new default type writer.Factory(TypeDescription typeDescription) Creates a new factory for a field locator that locates a field for an exact type.ForClassHierarchy(TypeDescription typeDescription) Creates a field locator that looks up fields that are declared within a class's class hierarchy.ForClassHierarchy(TypeDescription typeDescription, TypeDescription accessingType) Creates a field locator that looks up fields that are declared within a class's class hierarchy.protectedForCreation(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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool) Creates a new default type writer for creating a new type that is not based on an existing class file.ForExactType(TypeDescription typeDescription) Creates a new field locator for locating fields from a declared type.ForExactType(TypeDescription typeDescription, TypeDescription accessingType) Creates a new field locator for locating fields from a declared type.protectedForInlining(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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator) Creates a new inlining type writer.protectedForTopLevelType(TypeDescription typeDescription) Creates a new type locator for a top-level type.protectedFrozen(TypeDescription typeDescription, LoadedTypeInitializer loadedTypeInitializer) Creates a new frozen representation of an instrumented type.protectedLazyFieldList(TypeDescription instrumentedType) Creates a lazy field list.protectedOfVisibilityBridge(MethodDescription visibilityBridge, MethodDescription bridgeTarget, TypeDescription bridgeType, MethodAttributeAppender attributeAppender) Creates a new record for a visibility bridge.protectedPrepared(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.protectedVisibilityBridge(TypeDescription instrumentedType, MethodDescription bridgeTarget) Creates a new visibility bridge.protectedWithActiveRecord(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Creates a new appending initialization handler with a drain and with an active record.protectedWithActiveRecord(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Creates a new appending initialization handler without a drain and with an active record.protectedWithDecorationOnly(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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, ClassFileLocator classFileLocator) Creates a new inlining type writer that only applies a decoration.protectedWithDrain(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Creates a new appending initialization handler with a drain.protectedWithFullProcessing(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, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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.protectedWithoutActiveRecord(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Creates a new appending initialization handler with a drain and without an active record.protectedWithoutActiveRecord(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory) Creates a new appending initialization handler without a drain and without an active record.protectedWithoutDrain(org.objectweb.asm.MethodVisitor methodVisitor, TypeDescription instrumentedType, TypeWriter.MethodPool.Record record, AnnotationValueFilter.Factory annotationValueFilterFactory, boolean requireFrames, boolean expandFrames) Creates a new appending initialization handler without a drain.Constructor parameters in net.bytebuddy.dynamic.scaffold with type arguments of type TypeDescriptionModifierConstructorDescriptionDelegation(MethodGraph methodGraph, MethodGraph superClassGraph, Map<TypeDescription, MethodGraph> interfaceGraphs) Creates a new delegation method graph. -
Uses of TypeDescription in net.bytebuddy.dynamic.scaffold.inline
Fields in net.bytebuddy.dynamic.scaffold.inline declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionDecoratingDynamicTypeBuilder.instrumentedTypeThe instrumented type to decorate.private final TypeDescriptionMethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.instrumentedTypeThe instrumented type.private final TypeDescriptionRebaseImplementationTarget.RebasedMethodInvocation.instrumentedTypeThe instrumented type on which the method should be invoked on.protected final TypeDescriptionAbstractInliningDynamicTypeBuilder.originalTypeThe original type that is being redefined or rebased.private final TypeDescriptionMethodRebaseResolver.Resolution.ForRebasedConstructor.placeholderTypeThe placeholder type that is prepended to the constructor signature.private final TypeDescriptionMethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.placeholderTypeThe placeholder type that is used to distinguish the constructor's signature.Methods in net.bytebuddy.dynamic.scaffold.inline that return TypeDescriptionModifier and TypeMethodDescriptionMethodRebaseResolver.Resolution.ForRebasedConstructor.RebasedConstructor.getDeclaringType()Returns the declaring type of this instance.MethodRebaseResolver.Resolution.ForRebasedMethod.RebasedMethod.getDeclaringType()Returns the declaring type of this instance.RebaseImplementationTarget.getOriginType()Identifies the origin type of an implementation.RebaseImplementationTarget.RebasedMethodInvocation.getTypeDescription()Returns the target type the represented method is invoked on.DecoratingDynamicTypeBuilder.toTypeDescription()Returns aTypeDescriptionfor the currently built type.Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type TypeDescriptionModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.innerTypeOf(TypeDescription type) Defines this type as an inner type of the supplied type.static MethodRebaseResolverMethodRebaseResolver.Default.make(TypeDescription instrumentedType, Set<? extends MethodDescription.SignatureToken> rebaseables, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, MethodNameTransformer methodNameTransformer) Creates a new method rebase resolver.RebaseImplementationTarget.Factory.make(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, ClassFileVersion classFileVersion) Creates an implementation target.DecoratingDynamicTypeBuilder.nestHost(TypeDescription type) Defines this type as a nest member of the supplied type as a nest host.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.MethodRebaseResolver.Resolution.ForRebasedConstructor.of(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType) Resolves a constructor rebasement.MethodRebaseResolver.Resolution.ForRebasedMethod.of(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer) Resolves a rebasement for the provided method.protected static Implementation.TargetRebaseImplementationTarget.of(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, ClassFileVersion classFileVersion, MethodRebaseResolver methodRebaseResolver) Creates a new rebase implementation target.protected static Implementation.SpecialMethodInvocationRebaseImplementationTarget.RebasedMethodInvocation.of(MethodDescription.InDefinedShape resolvedMethod, TypeDescription instrumentedType, TypeList prependedParameters) Creates a special method invocation for the given method.ElementMatcher<? super MethodDescription> InliningImplementationMatcher.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionDecoratingDynamicTypeBuilder.declaredTypes(Collection<? extends TypeDescription> types) Defines this type as an the outer type of the supplied types.DecoratingDynamicTypeBuilder.nestMembers(Collection<? extends TypeDescription> types) Defines this type as a nest host for the supplied types.DecoratingDynamicTypeBuilder.permittedSubclass(Collection<? extends TypeDescription> types) Defines this type to allow the supplied permitted subclasses additionally to any prior permitted subclasses.Constructors in net.bytebuddy.dynamic.scaffold.inline with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAbstractInliningDynamicTypeBuilder(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.protectedDecoratingDynamicTypeBuilder(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.protectedForRebasedConstructor(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType) Creates a new resolution for a rebased constructor.protectedRebasedConstructor(MethodDescription.InDefinedShape methodDescription, TypeDescription placeholderType) Creates a new rebased constructor.protectedRebasedMethod(TypeDescription instrumentedType, MethodDescription.InDefinedShape methodDescription, MethodNameTransformer methodNameTransformer) Creates a new rebased method.protectedRebasedMethodInvocation(MethodDescription.InDefinedShape methodDescription, TypeDescription instrumentedType, StackManipulation stackManipulation, TypeList prependedParameters) Creates a new rebased method invocation.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.protectedRebaseDynamicTypeBuilder(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.protectedRebaseImplementationTarget(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation, Map<MethodDescription.SignatureToken, MethodRebaseResolver.Resolution> rebaseableMethods) Creates a rebase implementation target.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.protectedRedefinitionDynamicTypeBuilder(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 TypeDescription in net.bytebuddy.dynamic.scaffold.subclass
Methods in net.bytebuddy.dynamic.scaffold.subclass with parameters of type TypeDescriptionModifier and TypeMethodDescriptionprotected abstract List<MethodDescription.Token> ConstructorStrategy.Default.doExtractConstructors(TypeDescription instrumentedType) Extracts the relevant method tokens of the instrumented type's constructors.ConstructorStrategy.Default.extractConstructors(TypeDescription instrumentedType) Extracts constructors for a given super type.ConstructorStrategy.Default.WithMethodAttributeAppenderFactory.extractConstructors(TypeDescription instrumentedType) Extracts constructors for a given super type.ConstructorStrategy.extractConstructors(TypeDescription instrumentedType) Extracts constructors for a given super type.ConstructorStrategy.ForDefaultConstructor.extractConstructors(TypeDescription instrumentedType) Extracts constructors for a given super type.protected abstract TypeDefinitionSubclassImplementationTarget.OriginTypeResolver.identify(TypeDescription typeDescription) Identifies the origin type to a given type description.ConstructorStrategy.Default.inject(TypeDescription instrumentedType, MethodRegistry methodRegistry) Returns a method registry that is capable of creating byte code for the constructors that were provided by theConstructorStrategy.extractConstructors(TypeDescription)method of this instance.ConstructorStrategy.Default.WithMethodAttributeAppenderFactory.inject(TypeDescription instrumentedType, MethodRegistry methodRegistry) Returns a method registry that is capable of creating byte code for the constructors that were provided by theConstructorStrategy.extractConstructors(TypeDescription)method of this instance.ConstructorStrategy.ForDefaultConstructor.inject(TypeDescription instrumentedType, MethodRegistry methodRegistry) Returns a method registry that is capable of creating byte code for the constructors that were provided by theConstructorStrategy.extractConstructors(TypeDescription)method of this instance.ConstructorStrategy.inject(TypeDescription instrumentedType, MethodRegistry methodRegistry) Returns a method registry that is capable of creating byte code for the constructors that were provided by theConstructorStrategy.extractConstructors(TypeDescription)method of this instance.SubclassImplementationTarget.Factory.make(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, ClassFileVersion classFileVersion) Creates an implementation target.ElementMatcher<? super MethodDescription> SubclassDynamicTypeBuilder.InstrumentableMatcher.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.Constructors in net.bytebuddy.dynamic.scaffold.subclass with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedSubclassImplementationTarget(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation, SubclassImplementationTarget.OriginTypeResolver originTypeResolver) Creates a new subclass implementation target. -
Uses of TypeDescription in net.bytebuddy.implementation
Fields in net.bytebuddy.implementation declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionImplementation.Context.Default.FieldCacheEntry.fieldTypeThe field type that is represented by this field cache entry.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance.fieldTypeThe type of the static field.private final TypeDescriptionEqualsMethod.Appender.instrumentedTypeThe instrumented type.private final TypeDescriptionFieldAccessor.ForSetter.Appender.instrumentedTypeThe instrumented type.private final TypeDescriptionFixedValue.ForThisValue.Appender.instrumentedTypeThe instrumented type.private final TypeDescriptionImplementation.Context.Default.AccessorMethod.instrumentedTypeThe instrumented type.private final TypeDescriptionImplementation.Context.Default.CacheValueField.instrumentedTypeThe instrumented type.private final TypeDescriptionImplementation.Context.Default.FieldGetter.instrumentedTypeThe instrumented type.private final TypeDescriptionImplementation.Context.Default.FieldSetter.instrumentedTypeThe instrumented type.protected final TypeDescriptionImplementation.Context.ExtractableView.AbstractBase.instrumentedTypeThe instrumented type.protected final TypeDescriptionImplementation.Target.AbstractBase.instrumentedTypeThe instrumented type.private final TypeDescriptionInvocationHandlerAdapter.ForInstance.Appender.instrumentedTypeThe instrumented type for which the methods are being intercepted.private final TypeDescriptionInvokeDynamic.Appender.instrumentedTypeThe instrumented type of the current implementation.private final TypeDescriptionMethodCall.ArgumentLoader.ForInstrumentedType.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.ArgumentLoader.ForThisReference.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.MethodInvoker.ForContextualInvocation.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.MethodInvoker.ForDefaultMethodInvocation.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.MethodInvoker.ForSuperMethodInvocation.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.MethodLocator.ForElementMatcher.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.TargetHandler.ForConstructingInvocation.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.TargetHandler.ForSelfOrStaticInvocation.instrumentedTypeThe instrumented type.private final TypeDescriptionMethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved.instrumentedTypeThe instrumented type.private final TypeDescriptionFixedValue.ForConstantValue.loadedTypeThe type of the fixed value.private final TypeDescriptionFixedValue.ForOriginType.Appender.originTypeThe instrumented type.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.primitiveTypeThe primitive type that can be stored on the constant pool.private final TypeDescriptionInvokeDynamic.InvocationProvider.Default.Target.returnTypeThe return type to be requested from the bootstrapping method.private final TypeDescriptionInvokeDynamic.InvocationProvider.Target.Resolved.Simple.returnTypeThe requested return type.private final TypeDescriptionExceptionMethod.ConstructionDelegate.ForDefaultConstructor.throwableTypeThe type of the exception that is to be thrown.private final TypeDescriptionExceptionMethod.ConstructionDelegate.ForStringConstructor.throwableTypeThe type of the exception that is to be thrown.private final TypeDescriptionImplementation.SpecialMethodInvocation.Simple.typeDescriptionThe type description that is represented by this legal special method invocation.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstant.typeDescriptionThe type that is represented by this constant.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ForField.WithExplicitType.typeDescriptionThe explicit type.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.WithExplicitType.typeDescriptionThe explicit type.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue.typeDescriptionThe type to be represented by thenullvalue.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance.typeDescriptionThe type as which the intercepted instance should be loaded onto the operand stack.private final TypeDescriptionInvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType.typeDescriptionThe requested return type.private final TypeDescriptionMethodCall.MethodInvoker.ForVirtualInvocation.Factory.typeDescriptionThe type on which the virtual method is invoked.private final TypeDescriptionMethodCall.MethodInvoker.ForVirtualInvocation.typeDescriptionThe type description to virtually invoke the method upon.private final TypeDescriptionMethodCall.TargetHandler.Simple.typeDescriptionThe type resolved by the stack manipulation.private final TypeDescriptionMethodDelegation.ImplementationDelegate.Compiled.ForConstruction.typeDescriptionThe type to be constructed.private final TypeDescriptionMethodDelegation.ImplementationDelegate.ForConstruction.typeDescriptionThe type being constructed.private final TypeDescriptionInvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.wrapperTypeThe wrapper type that is to be represented.Fields in net.bytebuddy.implementation with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final List<TypeDescription> InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple.loadedTypesA list of all types of the arguments that were loaded onto the operand stack.private final Set<TypeDescription> DefaultMethodCall.Appender.nonPrioritizedInterfacesThe relevant non-prioritized interfaces to be considered by this appender.private final List<TypeDescription> InvokeDynamic.InvocationProvider.Target.Resolved.Simple.parameterTypesThe types of the values on the operand stack.private final List<TypeDescription> DefaultMethodCall.Appender.prioritizedInterfacesThe relevant prioritized interfaces to be considered by this appender.private final List<TypeDescription> DefaultMethodCall.prioritizedInterfacesA list of prioritized interfaces in the order in which a method should be attempted to be called.Methods in net.bytebuddy.implementation that return TypeDescriptionModifier and TypeMethodDescriptionImplementation.Context.Default.AccessorMethod.getDeclaringType()Returns the declaring type of this instance.Implementation.Context.Default.CacheValueField.getDeclaringType()Returns the declaring type of this instance.Implementation.Context.Default.FieldGetter.getDeclaringType()Returns the declaring type of this instance.Implementation.Context.Default.FieldSetter.getDeclaringType()Returns the declaring type of this instance.protected TypeDescriptionImplementation.Context.Default.FieldCacheEntry.getFieldType()Returns the field type that is represented by this field cache entry.Implementation.Context.ExtractableView.AbstractBase.getInstrumentedType()Returns the instrumented type of the current implementation.Implementation.Context.getInstrumentedType()Returns the instrumented type of the current implementation.Implementation.Target.AbstractBase.getInstrumentedType()Returns a description of the instrumented type.Implementation.Target.getInstrumentedType()Returns a description of the instrumented type.InvokeDynamic.InvocationProvider.Target.Resolved.getReturnType()Returns the requested return type.InvokeDynamic.InvocationProvider.Target.Resolved.Simple.getReturnType()Returns the requested return type.Implementation.SpecialMethodInvocation.getTypeDescription()Returns the target type the represented method is invoked on.Implementation.SpecialMethodInvocation.Illegal.getTypeDescription()Returns the target type the represented method is invoked on.Implementation.SpecialMethodInvocation.Simple.getTypeDescription()Returns the target type the represented method is invoked on.MethodCall.TargetHandler.ForConstructingInvocation.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.ForField.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.ForMethodCall.Resolved.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.ForMethodParameter.Resolved.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.ForSelfOrStaticInvocation.Resolved.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.ForValue.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.Resolved.getTypeDescription()Returns the target's type description.MethodCall.TargetHandler.Simple.getTypeDescription()Returns the target's type description.Implementation.Context.Default.register(AuxiliaryType auxiliaryType) Registers an auxiliary type as required for the current implementation.Implementation.Context.Disabled.register(AuxiliaryType auxiliaryType) Registers an auxiliary type as required for the current implementation.Implementation.Context.register(AuxiliaryType auxiliaryType) Registers an auxiliary type as required for the current implementation.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForExplicitType.resolve(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod.resolve(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.InvokeDynamic.InvocationProvider.ReturnTypeProvider.resolve(MethodDescription methodDescription) Resolves the return type that is requested from the bootstrap method.Methods in net.bytebuddy.implementation that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionprivate List<TypeDescription> DefaultMethodCall.filterRelevant(TypeDescription typeDescription) Filters the relevant prioritized interfaces for a given type, i.e.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.getLoadedTypes()Returns a list of all types of the arguments that were loaded onto the operand stack.InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved.Simple.getLoadedTypes()Returns a list of all types of the arguments that were loaded onto the operand stack.InvokeDynamic.InvocationProvider.Target.Resolved.getParameterTypes()Returns the types of the values on the operand stack.InvokeDynamic.InvocationProvider.Target.Resolved.Simple.getParameterTypes()Returns the types of the values on the operand stack.Methods in net.bytebuddy.implementation with parameters of type TypeDescriptionModifier and TypeMethodDescriptionprotected abstract Implementation.SpecialMethodInvocationImplementation.Target.AbstractBase.DefaultMethodInvocation.apply(MethodGraph.Node node, TypeDescription targetType) Resolves a default method invocation for a given node.abstract InvokeDynamicInvokeDynamic.WithImplicitType.as(TypeDescription typeDescription) Represents the last value as an instance of the given type.InvokeDynamic.WithImplicitType.OfArgument.as(TypeDescription typeDescription) InvokeDynamic.WithImplicitType.OfField.as(TypeDescription typeDescription) InvokeDynamic.WithImplicitType.OfInstance.as(TypeDescription typeDescription) Implementation.Context.cache(StackManipulation fieldValue, TypeDescription fieldType) Caches a single value by storing it in form of aprivate,finalandstaticfield.Implementation.Context.Default.cache(StackManipulation fieldValue, TypeDescription fieldType) Caches a single value by storing it in form of aprivate,finalandstaticfield.Implementation.Context.Disabled.cache(StackManipulation fieldValue, TypeDescription fieldType) Caches a single value by storing it in form of aprivate,finalandstaticfield.MethodDelegation.ImplementationDelegate.compile(TypeDescription instrumentedType) Compiles this implementation delegate.MethodDelegation.ImplementationDelegate.ForConstruction.compile(TypeDescription instrumentedType) Compiles this implementation delegate.MethodDelegation.ImplementationDelegate.ForField.compile(TypeDescription instrumentedType) Compiles this implementation delegate.MethodDelegation.ImplementationDelegate.ForMethodReturn.compile(TypeDescription instrumentedType) Compiles this implementation delegate.MethodDelegation.ImplementationDelegate.ForStaticMethod.compile(TypeDescription instrumentedType) Compiles this implementation delegate.private List<TypeDescription> DefaultMethodCall.filterRelevant(TypeDescription typeDescription) Filters the relevant prioritized interfaces for a given type, i.e.FieldAccessor.ForImplicitProperty.in(TypeDescription typeDescription) Determines that a field should only be considered when it was defined in a given type.FieldAccessor.OwnerTypeLocatable.in(TypeDescription typeDescription) Determines that a field should only be considered when it was defined in a given type.protected abstract TFieldAccessor.ForSetter.initialize(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.protected VoidFieldAccessor.ForSetter.OfConstantValue.initialize(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.protected VoidFieldAccessor.ForSetter.OfDefaultValue.initialize(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.protected FieldAccessor.FieldLocation.PreparedFieldAccessor.ForSetter.OfFieldValue.initialize(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.protected VoidFieldAccessor.ForSetter.OfParameterValue.initialize(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.protected FieldDescription.InDefinedShapeFieldAccessor.ForSetter.OfReferenceValue.initialize(TypeDescription instrumentedType) Initializes a value to be used during method instrumentation.InvokeDynamic.WithImplicitTarget.invoke(String methodName, TypeDescription returnType) Requests the bootstrap method to bind a method with the given return type.InvokeDynamic.WithImplicitTarget.invoke(TypeDescription returnType) Requests the bootstrap method to bind a method with the given return type.Implementation.Target.AbstractBase.invokeDefault(MethodDescription.SignatureToken token, TypeDescription targetType) Creates a special method invocation for invoking a default method.Implementation.Target.invokeDefault(MethodDescription.SignatureToken token, TypeDescription targetType) Creates a special method invocation for invoking a default method.Implementation.Context.Default.Factory.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion) Deprecated.Implementation.Context.Default.Factory.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new implementation context.Implementation.Context.Default.Factory.WithFixedSuffix.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion) Deprecated.Implementation.Context.Default.Factory.WithFixedSuffix.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new implementation context.Implementation.Context.Disabled.Factory.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion) Deprecated.Implementation.Context.Disabled.Factory.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new implementation context.Implementation.Context.Factory.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion) Implementation.Context.Factory.make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new implementation context.Implementation.Target.Factory.make(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, ClassFileVersion classFileVersion) Creates an implementation target.MethodCall.MethodInvoker.Factory.make(TypeDescription instrumentedType) Creates a method invoker.MethodCall.MethodInvoker.ForContextualInvocation.Factory.make(TypeDescription instrumentedType) Creates a method invoker.MethodCall.MethodInvoker.ForDefaultMethodInvocation.Factory.make(TypeDescription instrumentedType) Creates a method invoker.MethodCall.MethodInvoker.ForSuperMethodInvocation.Factory.make(TypeDescription instrumentedType) Creates a method invoker.MethodCall.MethodInvoker.ForVirtualInvocation.Factory.make(TypeDescription instrumentedType) Creates a method invoker.MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType.make(TypeDescription instrumentedType) Creates a method invoker.MethodCall.MethodLocator.Factory.make(TypeDescription instrumentedType) Creates a method locator for a given instrumented type.MethodCall.MethodLocator.ForElementMatcher.Factory.make(TypeDescription instrumentedType) Creates a method locator for a given instrumented type.MethodCall.MethodLocator.ForExplicitMethod.make(TypeDescription instrumentedType) Creates a method locator for a given instrumented type.MethodCall.MethodLocator.ForInstrumentedMethod.make(TypeDescription instrumentedType) Creates a method locator for a given instrumented type.MethodCall.TerminationHandler.Factory.make(TypeDescription instrumentedType) Creates a termination handler for a given instrumented type.MethodCall.TerminationHandler.FieldSetting.Explicit.make(TypeDescription instrumentedType) Creates a termination handler for a given instrumented type.MethodCall.TerminationHandler.FieldSetting.Implicit.make(TypeDescription instrumentedType) Creates a termination handler for a given instrumented type.MethodCall.TerminationHandler.Simple.make(TypeDescription instrumentedType) Creates a termination handler for a given instrumented type.Implementation.SpecialMethodInvocation.Simple.of(MethodDescription methodDescription, TypeDescription typeDescription) Creates a special method invocation for a given invocation target.protected static MethodDelegation.ImplementationDelegateMethodDelegation.ImplementationDelegate.ForConstruction.of(TypeDescription typeDescription, MethodList<?> methods, MethodDelegationBinder methodDelegationBinder) Creates an implementation delegate for constructing a new instance.protected static StackManipulationToStringMethod.ValueConsumer.of(TypeDescription typeDescription) Resolves an appropriate value resolver for a given type.MethodCall.WithoutSpecifiedTarget.on(StackManipulation stackManipulation, TypeDescription typeDescription) Invokes the specified method on an instance that is loaded by the provided stack manipulation.FieldAccessor.FieldLocation.Absolute.prepare(TypeDescription instrumentedType) A prepared field location.FieldAccessor.FieldLocation.prepare(TypeDescription instrumentedType) A prepared field location.FieldAccessor.FieldLocation.Relative.prepare(TypeDescription instrumentedType) A prepared field location.static ImplementationDefaultMethodCall.prioritize(TypeDescription... prioritizedInterface) Creates aDefaultMethodCallimplementation which searches the given list of interface types for a suitable default method in their order.protected abstract StackManipulationEqualsMethod.SuperClassCheck.resolve(TypeDescription instrumentedType) Resolves a stack manipulation for the required super class check.protected abstract StackManipulationEqualsMethod.TypeCompatibilityCheck.resolve(TypeDescription instrumentedType) Resolves a stack manipulation for the required type compatibility check.protected StackManipulationFieldAccessor.ForSetter.OfConstantValue.resolve(Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfDefaultValue.resolve(Void initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfFieldValue.resolve(FieldAccessor.FieldLocation.Prepared target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfParameterValue.resolve(Void unused, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected StackManipulationFieldAccessor.ForSetter.OfReferenceValue.resolve(FieldDescription.InDefinedShape target, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.protected abstract StackManipulationFieldAccessor.ForSetter.resolve(T initialized, FieldDescription fieldDescription, TypeDescription instrumentedType, MethodDescription instrumentedMethod) Resolves the stack manipulation to load the value being set.HashCodeMethod.OffsetProvider.ForDynamicTypeHash.resolve(TypeDescription instrumentedType) Resolves this offset provider for a given instrumented type.HashCodeMethod.OffsetProvider.ForFixedValue.resolve(TypeDescription instrumentedType) Resolves this offset provider for a given instrumented type.HashCodeMethod.OffsetProvider.ForStaticTypeHash.resolve(TypeDescription instrumentedType) Resolves this offset provider for a given instrumented type.HashCodeMethod.OffsetProvider.ForSuperMethodCall.resolve(TypeDescription instrumentedType) Resolves this offset provider for a given instrumented type.HashCodeMethod.OffsetProvider.resolve(TypeDescription instrumentedType) Resolves this offset provider for a given instrumented type.InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper.WrappingArgumentProvider.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForBooleanConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForByteConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForCharacterConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForClassConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForDoubleConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForEnumerationValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForField.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForFloatConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInstance.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForIntegerConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParameters.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForJavaConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForLongConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForMethodParameter.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForNullValue.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForShortConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForStringConstant.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.ForThisInstance.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.ArgumentProvider.resolve(TypeDescription instrumentedType, MethodDescription instrumentedMethod, Assigner assigner, Assigner.Typing typing) Resolves an argument provider.InvokeDynamic.InvocationProvider.Default.Target.resolve(TypeDescription instrumentedType, Assigner assigner, Assigner.Typing typing) Resolves the target.InvokeDynamic.InvocationProvider.Target.resolve(TypeDescription instrumentedType, Assigner assigner, Assigner.Typing typing) Resolves the target.protected abstract StackManipulationInvokeDynamic.TerminationHandler.resolve(MethodDescription interceptedMethod, TypeDescription returnType, Assigner assigner, Assigner.Typing typing) Returns a stack manipulation that handles the method return.MethodCall.MethodLocator.ForElementMatcher.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.ForExplicitMethod.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.ForInstrumentedMethod.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.MethodLocator.resolve(TypeDescription targetType, MethodDescription instrumentedMethod) Resolves the method to be invoked.MethodCall.TargetHandler.ForField.Location.ForExplicitField.resolve(TypeDescription instrumentedType) Resolves the field to invoke the method upon.MethodCall.TargetHandler.ForField.Location.ForImplicitField.resolve(TypeDescription instrumentedType) Resolves the field to invoke the method upon.MethodCall.TargetHandler.ForField.Location.resolve(TypeDescription instrumentedType) Resolves the field to invoke the method upon.protected abstract FieldDescriptionMethodDelegation.ImplementationDelegate.ForField.resolve(TypeDescription instrumentedType) Resolves the field to which is delegated.protected FieldDescriptionMethodDelegation.ImplementationDelegate.ForField.WithInstance.resolve(TypeDescription instrumentedType) protected FieldDescriptionMethodDelegation.ImplementationDelegate.ForField.WithLookup.resolve(TypeDescription instrumentedType) ToStringMethod.PrefixResolver.ForFixedValue.resolve(TypeDescription instrumentedType) Resolves the prefixed value.ToStringMethod.PrefixResolver.resolve(TypeDescription instrumentedType) Resolves the prefixed value.FieldAccessor.ForImplicitProperty.setsValue(TypeDescription typeDescription) Defines a setter of a given class constant value for the described field.FieldAccessor.PropertyConfigurable.setsValue(TypeDescription typeDescription) Defines a setter of a given class constant value for the described field.static ImplementationExceptionMethod.throwing(TypeDescription throwableType) Creates an implementation that creates a new instance of the givenThrowabletype on each method invocation which is then thrown immediately.static ImplementationExceptionMethod.throwing(TypeDescription throwableType, String message) Creates an implementation that creates a new instance of the givenThrowabletype on each method invocation which is then thrown immediately.static MethodDelegationMethodDelegation.to(TypeDescription typeDescription) Delegates any intercepted method to invoke astaticmethod that is declared by the supplied type.MethodDelegation.WithCustomProperties.to(TypeDescription typeDescription) Delegates any intercepted method to invoke astaticmethod that is declared by the supplied type.static MethodDelegationMethodDelegation.toConstructor(TypeDescription typeDescription) Delegates any intercepted method to invoke a constructor of the supplied type.MethodDelegation.WithCustomProperties.toConstructor(TypeDescription typeDescription) Delegates any intercepted method to invoke a constructor of the supplied type.FixedValue.value(TypeDescription type) Returns the given type in form of a loaded type.MethodCall.with(TypeDescription... typeDescription) Defines the given types to be provided as arguments to the invoked method where the represented types are stored in the generated class's constant pool.InvokeDynamic.AbstractDelegator.withNullValue(TypeDescription... typeDescription) Passesnullvalues of the given types to the bootstrapped method.InvokeDynamic.withNullValue(TypeDescription... typeDescription) Passesnullvalues of the given types to the bootstrapped method.InvokeDynamic.AbstractDelegator.withThis(TypeDescription... typeDescription) Passes references tothisonto the operand stack where the instance is represented as the given types.InvokeDynamic.withThis(TypeDescription... typeDescription) Passes references tothisonto the operand stack where the instance is represented as the given types.InvokeDynamic.AbstractDelegator.withType(TypeDescription... typeDescription) Hands the provided types to the dynamically bound method.InvokeDynamic.withType(TypeDescription... typeDescription) Hands the provided types to the dynamically bound method.Method parameters in net.bytebuddy.implementation with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionstatic ImplementationDefaultMethodCall.prioritize(Collection<? extends TypeDescription> prioritizedInterfaces) Creates aDefaultMethodCallimplementation which searches the given list of interface types for a suitable default method in their order.Constructors in net.bytebuddy.implementation with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAbstractBase(TypeDescription instrumentedType, ClassFileVersion classFileVersion, Implementation.Context.FrameGeneration frameGeneration) Create a new extractable view.protectedAbstractBase(TypeDescription instrumentedType, MethodGraph.Linked methodGraph, Implementation.Target.AbstractBase.DefaultMethodInvocation defaultMethodInvocation) Creates a new implementation target.protectedAccessorMethod(TypeDescription instrumentedType, MethodDescription methodDescription, TypeDescription typeDescription, String suffix) Creates a new accessor method.protectedAccessorMethodDelegation(TypeDescription instrumentedType, String suffix, MethodAccessorFactory.AccessType accessType, Implementation.SpecialMethodInvocation specialMethodInvocation) Creates a delegation to an accessor method.protectedAppender(TypeDescription instrumentedType, StackManipulation baseline, List<FieldDescription.InDefinedShape> fieldDescriptions, ElementMatcher<? super FieldDescription.InDefinedShape> nonNullable, ElementMatcher<? super FieldDescription.InDefinedShape> identity) Creates a new appender.protectedAppender(TypeDescription instrumentedType, T initialized, FieldAccessor.FieldLocation.Prepared fieldLocation) Creates a new appender for a field setter.protectedAppender(TypeDescription originType) Creates a new appender.protectedAppender(TypeDescription instrumentedType) Creates a new byte code appender for returningthis.protectedAppender(TypeDescription instrumentedType) Creates a new appender.Appender(TypeDescription instrumentedType) Creates a new byte code appender for an invoke dynamic implementation.protectedCacheValueField(TypeDescription instrumentedType, TypeDescription.Generic fieldType, String suffix, int hashCode) Creates a new cache value field.protectedDefault(TypeDescription instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion auxiliaryClassFileVersion, Implementation.Context.FrameGeneration frameGeneration, String suffix) Creates a new default implementation context.protectedDisabled(TypeDescription instrumentedType, ClassFileVersion classFileVersion, Implementation.Context.FrameGeneration frameGeneration) Creates a new disabled implementation context.protectedFactory(TypeDescription typeDescription) Creates a new method invoker factory for a virtual method call.protectedFieldCacheEntry(StackManipulation fieldValue, TypeDescription fieldType) Creates a new field cache entry.protectedFieldGetter(TypeDescription instrumentedType, FieldDescription fieldDescription, String suffix) Creates a new field getter.protectedFieldGetterDelegation(TypeDescription instrumentedType, String suffix, MethodAccessorFactory.AccessType accessType, FieldDescription fieldDescription) Creates a new field getter implementation.protectedFieldSetter(TypeDescription instrumentedType, FieldDescription fieldDescription, String suffix) Creates a new field setter.protectedFieldSetterDelegation(TypeDescription instrumentedType, String suffix, MethodAccessorFactory.AccessType accessType, FieldDescription fieldDescription) Creates a new field setter implementation.protectedForClassConstant(TypeDescription typeDescription) Creates a new argument provider for the given type description.privateForConstantValue(Assigner assigner, Assigner.Typing typing, StackManipulation valueLoadInstruction, TypeDescription loadedType) Creates a new constant pool fixed value implementation.protectedForConstantValue(StackManipulation valueLoadInstruction, TypeDescription loadedType) Creates a new constant pool fixed value implementation.protectedForConstructingInvocation(TypeDescription instrumentedType) Creates a new target handle constructor invocation.protectedForConstruction(TypeDescription typeDescription, List<MethodDelegationBinder.Record> records) Creates a new compiled implementation delegate for a constructor delegation.protectedForConstruction(TypeDescription typeDescription, List<MethodDelegationBinder.Record> records) Creates an implementation delegate for constructing a new instance.protectedForContextualInvocation(TypeDescription instrumentedType) Creates a new method invoker for a contextual invocation.ForDefaultConstructor(TypeDescription throwableType) Creates a new construction delegate that calls a default constructor.protectedForDefaultMethodInvocation(TypeDescription instrumentedType) Creates a new method invoker for a default method invocation.protectedForElementMatcher(TypeDescription instrumentedType, ElementMatcher<? super MethodDescription> matcher, MethodGraph.Compiler methodGraphCompiler) Creates a new method locator for an element matcher.protectedForExplicitType(TypeDescription typeDescription) Creates a new return type provider for an explicit return type.protectedForInstance(Object value, TypeDescription fieldType) Creates a new argument provider that stores the given value in a static field.ForInstrumentedType(TypeDescription instrumentedType) Creates an argument loader for supporting the instrumented type as a type constant as an argument.protectedForNullValue(TypeDescription typeDescription) Creates a new argument provider for thenullvalue.protectedForSelfOrStaticInvocation(TypeDescription instrumentedType) Creates a new target handler for a static or self-declared invocation.ForStringConstructor(TypeDescription throwableType, String message) Creates a new construction delegate that calls a constructor by handing it the given string.protectedForSuperMethodInvocation(TypeDescription instrumentedType) Creates a method invoker for a super method invocation.protectedForThisInstance(TypeDescription typeDescription) Creates a new argument provider for the instance of the instrumented type.ForThisReference(TypeDescription instrumentedType) Creates an argument loader that supplies thethisinstance as an argument.protectedForVirtualInvocation(TypeDescription typeDescription) Creates a new method invoking for a virtual method invocation.protectedResolved(TypeDescription instrumentedType, MethodDescription instrumentedMethod) Creates a resolved target handler for a static or self-declared invocation.protectedSimple(MethodDescription methodDescription, TypeDescription typeDescription, StackManipulation stackManipulation) Creates a new legal special method invocation.Simple(StackManipulation stackManipulation, TypeDescription loadedType) Creates a simple resolved argument provider.Simple(StackManipulation stackManipulation, String internalName, TypeDescription returnType, List<TypeDescription> parameterTypes) Creates a new simple instance.protectedSimple(TypeDescription typeDescription, StackManipulation stackManipulation) Creates a simple target handler.privateStaticFieldByteCodeAppender(TypeDescription instrumentedType) Creates a new byte code appender for returning a value of a static field from an instrumented method.protectedTarget(String internalName, TypeDescription returnType, List<InvokeDynamic.InvocationProvider.ArgumentProvider> argumentProviders, MethodDescription instrumentedMethod) Creates a new target.protectedWithExplicitType(String fieldName, FieldLocator.Factory fieldLocatorFactory, TypeDescription typeDescription) Creates an argument provider for a field value with an explicit type.protectedWithExplicitType(int index, TypeDescription typeDescription) Creates a new argument provider for a method parameter with an explicit type.Constructor parameters in net.bytebuddy.implementation with type arguments of type TypeDescriptionModifierConstructorDescriptionprotectedAppender(Implementation.Target implementationTarget, List<TypeDescription> prioritizedInterfaces) Creates a new appender for implementing aDefaultMethodCall.protectedDefaultMethodCall(List<TypeDescription> prioritizedInterfaces) Creates a newDefaultMethodCallimplementation for a given list of prioritized interfaces.Simple(StackManipulation stackManipulation, List<TypeDescription> loadedTypes) Creates a simple resolved argument provider.Simple(StackManipulation stackManipulation, String internalName, TypeDescription returnType, List<TypeDescription> parameterTypes) Creates a new simple instance. -
Uses of TypeDescription in net.bytebuddy.implementation.attribute
Methods in net.bytebuddy.implementation.attribute with parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic voidAnnotationAppender.Default.apply(org.objectweb.asm.AnnotationVisitor annotationVisitor, TypeDescription valueType, String name, Object value) Performs the writing of a given annotation value to an annotation visitor.voidTypeAttributeAppender.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.voidTypeAttributeAppender.Compound.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.voidTypeAttributeAppender.Explicit.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.voidTypeAttributeAppender.ForInstrumentedType.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.voidTypeAttributeAppender.ForInstrumentedType.Differentiating.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.voidTypeAttributeAppender.NoOp.apply(org.objectweb.asm.ClassVisitor classVisitor, TypeDescription instrumentedType, AnnotationValueFilter annotationValueFilter) Applies this type attribute appender.FieldAttributeAppender.Explicit.make(TypeDescription typeDescription) Returns a field attribute appender that is applicable for a given type description.FieldAttributeAppender.Factory.Compound.make(TypeDescription typeDescription) Returns a field attribute appender that is applicable for a given type description.FieldAttributeAppender.Factory.make(TypeDescription typeDescription) Returns a field attribute appender that is applicable for a given type description.FieldAttributeAppender.ForInstrumentedField.make(TypeDescription typeDescription) Returns a field attribute appender that is applicable for a given type description.FieldAttributeAppender.NoOp.make(TypeDescription typeDescription) Returns a field attribute appender that is applicable for a given type description.MethodAttributeAppender.Explicit.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppender.Factory.Compound.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppender.Factory.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppender.ForInstrumentedMethod.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppender.ForReceiverType.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.MethodAttributeAppender.NoOp.make(TypeDescription typeDescription) Returns a method attribute appender that is applicable for a given type description.RecordComponentAttributeAppender.Explicit.make(TypeDescription typeDescription) Returns a record component attribute appender that is applicable for a given type description.RecordComponentAttributeAppender.Factory.Compound.make(TypeDescription typeDescription) Returns a record component attribute appender that is applicable for a given type description.RecordComponentAttributeAppender.Factory.make(TypeDescription typeDescription) Returns a record component attribute appender that is applicable for a given type description.RecordComponentAttributeAppender.ForInstrumentedRecordComponent.make(TypeDescription typeDescription) Returns a record component attribute appender that is applicable for a given type description.RecordComponentAttributeAppender.NoOp.make(TypeDescription typeDescription) Returns a record component attribute appender that is applicable for a given type description.AnnotationValueFilter.Default.on(TypeDescription instrumentedType) Creates an annotation value filter for writing annotations on an instrumented type.AnnotationValueFilter.Factory.on(TypeDescription instrumentedType) Creates an annotation value filter for writing annotations on an instrumented type.Constructors in net.bytebuddy.implementation.attribute with parameters of type TypeDescriptionModifierConstructorDescriptionDifferentiating(TypeDescription typeDescription) Creates a new differentiating type attribute appender. -
Uses of TypeDescription in net.bytebuddy.implementation.auxiliary
Fields in net.bytebuddy.implementation.auxiliary declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionMethodCallProxy.ConstructorCall.Appender.instrumentedTypeThe instrumented type being created.private final TypeDescriptionMethodCallProxy.MethodCall.Appender.instrumentedTypeThe instrumented type that is implemented.private final TypeDescriptionTypeProxy.SilentConstruction.Appender.instrumentedTypeThe instrumented type that this factory method is created for.private final TypeDescriptionTypeProxy.ForDefaultMethod.proxiedTypeThe proxied interface type.private final TypeDescriptionTypeProxy.ForSuperMethodByConstructor.proxiedTypeThe type for the type proxy to subclass or implement.private final TypeDescriptionTypeProxy.ForSuperMethodByReflectionFactory.proxiedTypeThe type for which a proxy type is created.private final TypeDescriptionTypeProxy.proxiedTypeThe type that is proxied, i.e.Methods in net.bytebuddy.implementation.auxiliary that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionprivate static LinkedHashMap<String, TypeDescription> MethodCallProxy.extractFields(MethodDescription methodDescription) Creates a linked hash map of field names to their types where each field represents a parameter of the method.Methods in net.bytebuddy.implementation.auxiliary with parameters of type TypeDescriptionModifier and TypeMethodDescriptionMethodCallProxy.PrecomputedMethodGraph.compile(TypeDefinition typeDefinition, TypeDescription viewPoint) Compiles the given type into a method graph.MethodCallProxy.PrecomputedMethodGraph.compile(TypeDescription typeDescription) Deprecated.MethodCallProxy.PrecomputedMethodGraph.compile(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.TypeProxy.InvocationFactory.invoke(Implementation.Target implementationTarget, TypeDescription proxiedType, MethodDescription instrumentedMethod) Creates a special method invocation to implement for a given method.AuxiliaryType.NamingStrategy.Enumerating.name(TypeDescription instrumentedType, AuxiliaryType auxiliaryType) Names an auxiliary type.AuxiliaryType.NamingStrategy.name(TypeDescription instrumentedType, AuxiliaryType auxiliaryType) Names an auxiliary type.AuxiliaryType.NamingStrategy.Suffixing.name(TypeDescription instrumentedType, AuxiliaryType auxiliaryType) Names an auxiliary type.AuxiliaryType.NamingStrategy.SuffixingRandom.name(TypeDescription instrumentedType, AuxiliaryType auxiliaryType) Names an auxiliary type.Constructors in net.bytebuddy.implementation.auxiliary with parameters of type TypeDescriptionModifierConstructorDescriptionprivateAppender(TypeDescription instrumentedType) Creates a new appender.privateAppender(TypeDescription instrumentedType) Creates a new appender.protectedAppender(TypeDescription instrumentedType) Creates a new appender.privateAppender(TypeDescription instrumentedType) Creates a new appender.ForDefaultMethod(TypeDescription proxiedType, Implementation.Target implementationTarget, boolean serializableProxy) Creates a new proxy creation for a default interface type proxy.ForSuperMethodByConstructor(TypeDescription proxiedType, MethodDescription.InDefinedShape constructor, Implementation.Target implementationTarget, boolean ignoreFinalizer, boolean serializableProxy) Creates a new stack operation for creating a type proxy by calling one of its constructors.ForSuperMethodByReflectionFactory(TypeDescription proxiedType, Implementation.Target implementationTarget, boolean ignoreFinalizer, boolean serializableProxy) Creates a new stack operation for reflectively creating a type proxy for the given arguments.TypeProxy(TypeDescription proxiedType, Implementation.Target implementationTarget, TypeProxy.InvocationFactory invocationFactory, boolean ignoreFinalizer, boolean serializableProxy) Creates a new type proxy. -
Uses of TypeDescription in net.bytebuddy.implementation.bind
Fields in net.bytebuddy.implementation.bind declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionMethodDelegationBinder.MethodInvoker.Virtual.typeDescriptionThe type on which a method should be invoked virtually.Methods in net.bytebuddy.implementation.bind with parameters of type TypeDescriptionModifier and TypeMethodDescriptionArgumentTypeResolver.PrimitiveTypePrecedence.forPrimitive(TypeDescription typeDescription) Locates the primitive type precedence for a given type.private static MethodDelegationBinder.AmbiguityResolver.ResolutionArgumentTypeResolver.resolveRivalBinding(TypeDescription sourceParameterType, int leftParameterIndex, MethodDelegationBinder.MethodBinding left, int rightParameterIndex, MethodDelegationBinder.MethodBinding right) Resolves two bindings by comparing their binding of similar arguments and determining their most specific types.Constructors in net.bytebuddy.implementation.bind with parameters of type TypeDescriptionModifierConstructorDescriptionVirtual(TypeDescription typeDescription) Creates an immutable method invoker that dispatches all methods on a given type. -
Uses of TypeDescription in net.bytebuddy.implementation.bind.annotation
Fields in net.bytebuddy.implementation.bind.annotation declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionPipe.Binder.RedirectionProxy.forwardingTypeThe type that declares the method for forwarding a method invocation.private final TypeDescriptionFieldProxy.Binder.AccessorProxy.instrumentedTypeThe type which is accessed.private final TypeDescriptionFieldProxy.Binder.InstanceFieldConstructor.instrumentedTypeThe instrumented type from which a field is to be accessed.private final TypeDescriptionMorph.Binder.RedirectionProxy.InstanceFieldConstructor.instrumentedTypeThe instrumented type.private final TypeDescriptionMorph.Binder.RedirectionProxy.instrumentedTypeThe type that is instrumented on which the super method is invoked.private final TypeDescriptionPipe.Binder.RedirectionProxy.ConstructorCall.Appender.instrumentedTypeThe instrumented type being created.private final TypeDescriptionPipe.Binder.RedirectionProxy.MethodCall.Appender.instrumentedTypeThe instrumented type that is implemented.private final TypeDescriptionMorph.Binder.RedirectionProxy.morphingTypeThe interface type that is implemented by the generated proxy.private final TypeDescriptionFieldProxy.Binder.FieldResolver.Factory.Duplex.proxyTypeThe type of the accessor proxy.private final TypeDescriptionFieldProxy.Binder.FieldResolver.ForGetterSetterPair.proxyTypeThe type of the accessor proxy.private final TypeDescriptionDefault.Binder.TypeLocator.ForType.typeDescriptionThe type to be returned upon resolution.private final TypeDescriptionDefaultCall.Binder.DefaultMethodLocator.Explicit.typeDescriptionA description of the type on which the default method should be invoked.private final TypeDescriptionDefaultCallHandle.Binder.DefaultMethodLocator.Explicit.typeDescriptionA description of the type on which the default method should be invoked.private final TypeDescriptionDefaultMethod.Binder.MethodLocator.ForExplicitType.typeDescriptionThe explicit target type.private final TypeDescriptionDefaultMethodHandle.Binder.MethodLocator.ForExplicitType.typeDescriptionThe explicit target type.private final TypeDescriptionFieldProxy.Binder.FieldGetter.Appender.typeDescriptionThe generated accessor type.private final TypeDescriptionFieldProxy.Binder.FieldSetter.Appender.typeDescriptionThe generated accessor type.private final TypeDescriptionMorph.Binder.DefaultMethodLocator.Explicit.typeDescriptionA description of the type on which the default method should be invoked.private final TypeDescriptionMorph.Binder.RedirectionProxy.MethodCall.Appender.typeDescriptionThe proxy type.private final TypeDescriptionSuper.Binder.TypeLocator.ForType.typeDescriptionThe type to be returned upon resolution.Fields in net.bytebuddy.implementation.bind.annotation with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final Map<? extends TypeDescription, ? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> TargetMethodAnnotationDrivenBinder.DelegationProcessor.parameterBindersA map of registered annotation types to the binder that is responsible for binding a parameter that is annotated with the given annotation.Methods in net.bytebuddy.implementation.bind.annotation that return TypeDescriptionModifier and TypeMethodDescriptionprotected TypeDescriptionFieldGetterHandle.Binder.Delegate.declaringType(AnnotationDescription.Loadable<FieldGetterHandle> annotation) protected TypeDescriptionFieldProxy.Binder.declaringType(AnnotationDescription.Loadable<FieldProxy> annotation) protected TypeDescriptionFieldSetterHandle.Binder.Delegate.declaringType(AnnotationDescription.Loadable<FieldSetterHandle> annotation) protected TypeDescriptionFieldValue.Binder.Delegate.declaringType(AnnotationDescription.Loadable<FieldValue> annotation) protected abstract TypeDescriptionTargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding.declaringType(AnnotationDescription.Loadable<S> annotation) Extracts the declaring type from an annotation.FieldProxy.Binder.FieldResolver.ForGetter.getProxyType()Returns the type of the field access proxy.FieldProxy.Binder.FieldResolver.ForGetterSetterPair.getProxyType()Returns the type of the field access proxy.FieldProxy.Binder.FieldResolver.ForSetter.getProxyType()Returns the type of the field access proxy.FieldProxy.Binder.FieldResolver.getProxyType()Returns the type of the field access proxy.FieldProxy.Binder.FieldResolver.Unresolved.getProxyType()Returns the type of the field access proxy.Default.Binder.TypeLocator.ForParameterType.resolve(TypeDescription.Generic parameterType) Resolves the target type.Default.Binder.TypeLocator.ForType.resolve(TypeDescription.Generic parameterType) Resolves the target type.Default.Binder.TypeLocator.resolve(TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForInstrumentedType.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForParameterType.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForType.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Methods in net.bytebuddy.implementation.bind.annotation that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionprivate static LinkedHashMap<String, TypeDescription> Pipe.Binder.RedirectionProxy.extractFields(MethodDescription methodDescription) Extracts all parameters of a method to fields.Methods in net.bytebuddy.implementation.bind.annotation with parameters of type TypeDescriptionModifier and TypeMethodDescriptionFieldProxy.Binder.install(TypeDescription typeDescription) Creates a binder by installing a single proxy type where annotating a parameter withFieldProxyallows getting and setting values for a given field.FieldProxy.Binder.install(TypeDescription getterType, TypeDescription setterType) Creates a binder by installing two proxy types which are implemented by this binder if a field getter or a field setter is requested by using theFieldProxyannotation.Morph.Binder.install(TypeDescription typeDescription) Installs a given type for use on aMorphannotation.Pipe.Binder.install(TypeDescription typeDescription) Installs a given type for use on aPipeannotation.protected static Default.Binder.TypeLocatorDefault.Binder.TypeLocator.ForType.of(TypeDescription typeDescription) Resolves a type locator based upon an annotation value.protected static Super.Binder.TypeLocatorSuper.Binder.TypeLocator.ForType.of(TypeDescription typeDescription) Resolves a type locator based upon an annotation value.private static MethodDescription.InDefinedShapeFieldProxy.Binder.onlyMethod(TypeDescription typeDescription) Extracts the only method from a given type description which is validated for the required properties for using the type as a proxy base type.private static MethodDescriptionMorph.Binder.onlyMethod(TypeDescription typeDescription) Extracts the only method of a given type and validates to fit the constraints of the morph annotation.private static MethodDescriptionPipe.Binder.onlyMethod(TypeDescription typeDescription) Locates the only method of a type that is compatible to being overridden for invoking the proxy.protected abstract StackManipulationSuper.Instantiation.proxyFor(TypeDescription proxyType, Implementation.Target implementationTarget, AnnotationDescription.Loadable<Super> annotation) Creates a stack manipulation which loads asuper-call proxy onto the stack.FieldProxy.Binder.FieldResolver.Factory.Duplex.resolve(TypeDescription parameterType, FieldDescription fieldDescription) Creates a field resolver.FieldProxy.Binder.FieldResolver.Factory.resolve(TypeDescription parameterType, FieldDescription fieldDescription) Creates a field resolver.FieldProxy.Binder.FieldResolver.Factory.Simplex.resolve(TypeDescription parameterType, FieldDescription fieldDescription) Creates a field resolver.Super.Binder.TypeLocator.ForInstrumentedType.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForParameterType.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.ForType.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.Binder.TypeLocator.resolve(TypeDescription instrumentedType, TypeDescription.Generic parameterType) Resolves the target type.Super.ConstructorResolver.Default.resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.Super.ConstructorResolver.resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.Method parameters in net.bytebuddy.implementation.bind.annotation with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionSuper.ConstructorResolver.Default.resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.Super.ConstructorResolver.resolve(TypeDescription proxiedType, List<TypeDescription> constructorParameters) Resolves the constructor to be used.Constructors in net.bytebuddy.implementation.bind.annotation with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedAccessorProxy(FieldDescription fieldDescription, TypeDescription instrumentedType, FieldProxy.Binder.FieldResolver fieldResolver, Assigner assigner, boolean serializableProxy) privateAppender(TypeDescription instrumentedType) Creates a new appender.privateAppender(TypeDescription instrumentedType) Creates a new appender.protectedBinder(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new binder for aFieldProxyin duplex mode.protectedDuplex(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new duplex factory.Explicit(TypeDescription typeDescription) Creates a new explicit default method locator.Explicit(TypeDescription typeDescription) Creates a new explicit default method locator.Explicit(TypeDescription typeDescription) Creates a new explicit default method locator.protectedForExplicitType(TypeDescription typeDescription) Creates a method locator for an explicit target.protectedForExplicitType(TypeDescription typeDescription) Creates a method locator for an explicit target.protectedForGetterSetterPair(TypeDescription proxyType, MethodDescription.InDefinedShape getterMethod, MethodDescription.InDefinedShape setterMethod) Creates a new field resolver for an accessor that both gets and sets a field value.protectedForType(TypeDescription typeDescription) Creates a new type locator for a given type.protectedForType(TypeDescription typeDescription) Creates a new type locator for a given type.protectedInstanceFieldConstructor(TypeDescription instrumentedType) Creates a new implementation for implementing a field accessor proxy's constructor when accessing a non-static field.protectedInstanceFieldConstructor(TypeDescription instrumentedType) Creates a new instance field constructor implementation.protectedRedirectionProxy(TypeDescription morphingType, TypeDescription instrumentedType, Implementation.SpecialMethodInvocation specialMethodInvocation, Assigner assigner, boolean serializableProxy) Creates a new redirection proxy.protectedRedirectionProxy(TypeDescription forwardingType, MethodDescription sourceMethod, Assigner assigner, boolean serializableProxy) Creates a new redirection.Constructor parameters in net.bytebuddy.implementation.bind.annotation with type arguments of type TypeDescriptionModifierConstructorDescriptionprotectedDelegationProcessor(Map<? extends TypeDescription, ? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders) Creates a new delegation processor. -
Uses of TypeDescription in net.bytebuddy.implementation.bytecode
Fields in net.bytebuddy.implementation.bytecode declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionTypeCreation.typeDescriptionThe type that is being created.Methods in net.bytebuddy.implementation.bytecode with parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic StackManipulationTypeCreation.of(TypeDescription typeDescription) Creates a type creation for the given type.Constructors in net.bytebuddy.implementation.bytecode with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedTypeCreation(TypeDescription typeDescription) Constructs a new type creation. -
Uses of TypeDescription in net.bytebuddy.implementation.bytecode.assign
Fields in net.bytebuddy.implementation.bytecode.assign declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionInstanceCheck.typeDescriptionThe type to apply the instance check against.private final TypeDescriptionTypeCasting.typeDescriptionThe type description to which a value should be casted.Methods in net.bytebuddy.implementation.bytecode.assign with parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic StackManipulationInstanceCheck.of(TypeDescription typeDescription) Creates a new instance check.Constructors in net.bytebuddy.implementation.bytecode.assign with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedInstanceCheck(TypeDescription typeDescription) Creates a new instance check.protectedTypeCasting(TypeDescription typeDescription) Creates a new type casting. -
Uses of TypeDescription in net.bytebuddy.implementation.bytecode.assign.primitive
Fields in net.bytebuddy.implementation.bytecode.assign.primitive declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionPrimitiveUnboxingDelegate.primitiveTypeThe represented primitive type.private final TypeDescriptionPrimitiveBoxingDelegate.wrapperTypeA description of a wrapper type.private final TypeDescriptionPrimitiveUnboxingDelegate.wrapperTypeThe wrapper type of the represented primitive type. -
Uses of TypeDescription in net.bytebuddy.implementation.bytecode.collection
Constructors in net.bytebuddy.implementation.bytecode.collection with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedForReferenceType(TypeDescription referenceType) Creates a new array creator for a reference type. -
Uses of TypeDescription in net.bytebuddy.implementation.bytecode.constant
Fields in net.bytebuddy.implementation.bytecode.constant declared as TypeDescriptionModifier and TypeFieldDescriptionprivate static final TypeDescriptionMethodConstant.CachedConstructor.CONSTRUCTOR_TYPEA description of theConstructortype.private static final TypeDescriptionMethodConstant.CachedMethod.METHOD_TYPEA description of theMethodtype.private final TypeDescriptionClassConstant.ForReferenceType.typeDescriptionThe type which should be loaded onto the operand stack as a class value.Methods in net.bytebuddy.implementation.bytecode.constant with parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic StackManipulationClassConstant.of(TypeDescription typeDescription) Returns a stack manipulation that loads aClasstype onto the operand stack which represents the given type.Method parameters in net.bytebuddy.implementation.bytecode.constant with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionorg.objectweb.asm.TypeJavaConstantValue.Visitor.onType(JavaConstant.Simple<TypeDescription> constant) Invoked on aJavaConstant.Simpleconstant that represents aTypeDescription.protected static List<StackManipulation> MethodConstant.typeConstantsFor(List<TypeDescription> parameterTypes) Returns a list of type constant load operations for the given list of parameters.Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedForReferenceType(TypeDescription typeDescription) Creates a stack manipulation that represents loading a class constant onto the stack. -
Uses of TypeDescription in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionMethodInvocation.OfGenericMethod.targetTypeThe generically resolved return type of the method.private final TypeDescriptionMethodInvocation.Invocation.typeDescriptionThe method to be invoked.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type TypeDescriptionModifier and TypeMethodDescriptionMethodInvocation.IllegalInvocation.dynamic(String methodName, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodInvocation.Invocation.dynamic(String name, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodInvocation.OfGenericMethod.dynamic(String methodName, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodInvocation.WithImplicitInvocationTargetType.dynamic(String methodName, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodVariableAccess.MethodLoading.TypeCastingHandler.ForBridgeTarget.ofIndex(TypeDescription parameterType, int index) Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.MethodVariableAccess.MethodLoading.TypeCastingHandler.NoOp.ofIndex(TypeDescription parameterType, int index) Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.MethodVariableAccess.MethodLoading.TypeCastingHandler.ofIndex(TypeDescription parameterType, int index) Yields a stack transformation to transform the given argument of the method for which the arguments are loaded onto the operand stack.MethodInvocation.IllegalInvocation.special(TypeDescription invocationTarget) Transforms this method invocation into a special invocation on the given type.MethodInvocation.Invocation.special(TypeDescription invocationTarget) Transforms this method invocation into a special invocation on the given type.MethodInvocation.OfGenericMethod.special(TypeDescription invocationTarget) Transforms this method invocation into a special invocation on the given type.MethodInvocation.WithImplicitInvocationTargetType.special(TypeDescription invocationTarget) Transforms this method invocation into a special invocation on the given type.MethodInvocation.IllegalInvocation.virtual(TypeDescription invocationTarget) Transforms this method invocation into a virtual (or interface) method invocation on the given type.MethodInvocation.Invocation.virtual(TypeDescription invocationTarget) Transforms this method invocation into a virtual (or interface) method invocation on the given type.MethodInvocation.OfGenericMethod.virtual(TypeDescription invocationTarget) Transforms this method invocation into a virtual (or interface) method invocation on the given type.MethodInvocation.WithImplicitInvocationTargetType.virtual(TypeDescription invocationTarget) Transforms this method invocation into a virtual (or interface) method invocation on the given type.Method parameters in net.bytebuddy.implementation.bytecode.member with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionMethodInvocation.IllegalInvocation.dynamic(String methodName, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodInvocation.Invocation.dynamic(String name, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodInvocation.OfGenericMethod.dynamic(String methodName, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.MethodInvocation.WithImplicitInvocationTargetType.dynamic(String methodName, TypeDescription returnType, List<? extends TypeDescription> methodType, List<? extends JavaConstant> arguments) Invokes the method as a bootstrap method to bind a call site with the given properties.Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type TypeDescriptionModifierConstructorDescriptionprotectedInvocation(MethodDescription.InDefinedShape methodDescription, TypeDescription typeDescription) Creates an invocation of a given method on a given invocation target type.protectedOfGenericMethod(TypeDescription targetType, MethodInvocation.WithImplicitInvocationTargetType invocation) Creates a generic method invocation. -
Uses of TypeDescription in net.bytebuddy.matcher
Classes in net.bytebuddy.matcher with type parameters of type TypeDescriptionModifier and TypeClassDescriptionclassClassFileVersionMatcher<T extends TypeDescription>A matcher to consider if a class file version reaches a given boundary.classHasSuperClassMatcher<T extends TypeDescription>An element matcher that matches a super class.classHasSuperTypeMatcher<T extends TypeDescription>An element matcher that matches a super type.classInheritedAnnotationMatcher<T extends TypeDescription>An element matcher that matches the list of inherited annotations of a type description.classSubTypeMatcher<T extends TypeDescription>An element matcher that matches its argument for being another type's subtype.classSuperTypeMatcher<T extends TypeDescription>An element matcher that matches its argument for being another type's super type.Fields in net.bytebuddy.matcher declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionAccessibilityMatcher.typeDescriptionThe type that is to be checked for its viewing rights.private final TypeDescriptionSubTypeMatcher.typeDescriptionThe type to be matched being a super type of the matched type.private final TypeDescriptionSuperTypeMatcher.typeDescriptionThe type to be matched being a sub type of the matched type.private final TypeDescriptionVisibilityMatcher.typeDescriptionThe type that is to be checked for its viewing rights.Fields in net.bytebuddy.matcher with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final ElementMatcher<? super TypeDescription> AnnotationTypeMatcher.matcherThe type matcher to apply to an annotation's type.private final ElementMatcher<? super Iterable<? extends TypeDescription>> CollectionErasureMatcher.matcherThe matcher to be applied to the raw types.private final ElementMatcher<? super TypeDescription> ErasureMatcher.matcherThe matcher to apply to the raw type of the matched element.private final ElementMatcher<? super TypeDescription> InstanceTypeMatcher.matcherThe matcher to apply to the object's type.Methods in net.bytebuddy.matcher with type parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasAnnotation(ElementMatcher<? super AnnotationDescription> matcher) Matches a list of annotations by a given matcher on a type that declared these annotations or inherited them from its super classes.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasClassFileVersionAtLeast(ClassFileVersion classFileVersion) Matches a type to have a minimal class file version.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasClassFileVersionAtMost(ClassFileVersion classFileVersion) Matches a type to have a maximal class file version.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasGenericSuperClass(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any type description that declares a super class (but not interface) that matches the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasGenericSuperType(ElementMatcher<? super TypeDescription.Generic> matcher) Matches any type description that declares a super type that matches the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasSuperClass(ElementMatcher<? super TypeDescription> matcher) Matches any type description that declares a super class (but not interface) that matches the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasSuperType(ElementMatcher<? super TypeDescription> matcher) Matches any type description that declares a super type that matches the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.inheritsAnnotation(Class<?> type) Matches any annotations by their type on a type that declared these annotations or inherited them from its super classes.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.inheritsAnnotation(TypeDescription type) Matches any annotations by their type on a type that declared these annotations or inherited them from its super classes.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.inheritsAnnotation(ElementMatcher<? super TypeDescription> matcher) Matches any annotations by a given matcher on a type that declared these annotations or inherited them from its super classes.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isAnnotation()Matches aTypeDescriptionthat is an annotation type.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isInterface()Matches aTypeDescriptionthat is an interface.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isSubTypeOf(Class<?> type) Matches any type description that is a subtype of the given type.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isSubTypeOf(TypeDescription type) Matches any type description that is a subtype of the given type.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isSuperTypeOf(Class<?> type) Matches any type description that is a super type of the given type.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isSuperTypeOf(TypeDescription type) Matches any type description that is a super type of the given type.Methods in net.bytebuddy.matcher with parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.annotationType(TypeDescription type) Matches if an annotation is of a given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.canThrow(TypeDescription exceptionType) Matches aMethodDescriptionby its capability to throw a given checked exception.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.declaresException(TypeDescription exceptionType) Matches a method that declares the given generic exception type as a (erased) exception type.static <T extends TypeDescription.Generic>
ElementMatcher.Junction<T> ElementMatchers.erasure(TypeDescription type) Matches a generic type's erasure against the provided type.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> ElementMatchers.erasures(TypeDescription... type) Matches an iteration of generic types' erasures against the provided types.static <T extends FieldDescription>
ElementMatcher.Junction<T> ElementMatchers.fieldType(TypeDescription fieldType) Matches a field's raw type against the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.inheritsAnnotation(TypeDescription type) Matches any annotations by their type on a type that declared these annotations or inherited them from its super classes.static <T extends ByteCodeElement>
ElementMatcher.Junction<T> ElementMatchers.isAccessibleTo(TypeDescription type) Matches aByteCodeElementthat is accessible to a givenClass.static <T extends AnnotationSource>
ElementMatcher.Junction<T> ElementMatchers.isAnnotatedWith(TypeDescription type) Matches anAnnotationSourcefor declared annotations.static <T extends ByteCodeElement>
ElementMatcher.Junction<T> ElementMatchers.isDeclaredBy(TypeDescription type) Matches aByteCodeElementfor being declared by a givenTypeDescription.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGetter(TypeDescription type) Matches any Java bean getter method which returns the given type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFrom(TypeDescription type) Matches any virtual method with a signature that is compatible to a method that is declared the supplied type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isSetter(TypeDescription type) Matches any Java bean setter method which takes an argument the given type.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isSubTypeOf(TypeDescription type) Matches any type description that is a subtype of the given type.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.isSuperTypeOf(TypeDescription type) Matches any type description that is a super type of the given type.static <T extends ByteCodeElement>
ElementMatcher.Junction<T> ElementMatchers.isVisibleTo(TypeDescription type) Matches aByteCodeElementthat is visible to a givenTypeDescription.ElementMatcher<? super S> LatentMatcher.Conjunction.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super S> LatentMatcher.Disjunction.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super FieldDescription> LatentMatcher.ForFieldToken.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super MethodDescription> LatentMatcher.ForMethodToken.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super RecordComponentDescription> LatentMatcher.ForRecordComponentToken.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super MethodDescription> LatentMatcher.ForSelfDeclaredMethod.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super T> LatentMatcher.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.ElementMatcher<? super S> LatentMatcher.Resolved.resolve(TypeDescription typeDescription) Resolves the element matcher this instance represents for the supplied type description.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returns(TypeDescription type) MatchesMethodDescriptions that return a given erasure type.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArgument(int index, TypeDescription type) MatchesMethodDescriptions that define a given type erasure as a parameter at the given index.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(TypeDescription... type) Matches a method description that takes the provided raw arguments.Method parameters in net.bytebuddy.matcher with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionstatic <T extends AnnotationDescription>
ElementMatcher.Junction<T> ElementMatchers.annotationType(ElementMatcher<? super TypeDescription> matcher) Matches if an annotation's type matches the supplied matcher.static <T extends TypeDescription.Generic>
ElementMatcher.Junction<T> ElementMatchers.erasure(ElementMatcher<? super TypeDescription> matcher) Converts a matcher for a type description into a matcher for the matched type's erasure.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> ElementMatchers.erasures(Iterable<? extends TypeDescription> types) Matches an iteration of generic types' erasures against the provided types.static <T extends Iterable<? extends TypeDescription.Generic>>
ElementMatcher.Junction<T> ElementMatchers.erasures(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher) Applies the provided matchers to an iteration og generic types' erasures.static <T extends FieldDescription>
ElementMatcher.Junction<T> ElementMatchers.fieldType(ElementMatcher<? super TypeDescription> matcher) Matches a field's raw type against the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasSuperClass(ElementMatcher<? super TypeDescription> matcher) Matches any type description that declares a super class (but not interface) that matches the provided matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.hasSuperType(ElementMatcher<? super TypeDescription> matcher) Matches any type description that declares a super type that matches the provided matcher.static <T extends ParameterDescription>
ElementMatcher.Junction<T> ElementMatchers.hasType(ElementMatcher<? super TypeDescription> matcher) Matches a parameter's type by the given matcher.static <T extends TypeDescription>
ElementMatcher.Junction<T> ElementMatchers.inheritsAnnotation(ElementMatcher<? super TypeDescription> matcher) Matches any annotations by a given matcher on a type that declared these annotations or inherited them from its super classes.static <T extends AnnotationSource>
ElementMatcher.Junction<T> ElementMatchers.isAnnotatedWith(ElementMatcher<? super TypeDescription> matcher) Matches anAnnotationSourcefor declared annotations.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 MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isGetter(ElementMatcher<? super TypeDescription> matcher) Matches any Java bean getter method which returns a value with a type matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isOverriddenFrom(ElementMatcher<? super TypeDescription> matcher) Matches any virtual method with a signature that is compatible to a method that is declared by a type that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.isSetter(ElementMatcher<? super TypeDescription> matcher) Matches any Java bean setter method which takes an argument that matches the supplied matcher.private booleanMethodOverrideMatcher.matches(MethodDescription target, List<? extends TypeDefinition> typeDefinitions, Set<TypeDescription> duplicates) Matches a method against a list of types.static <T extends ClassLoader>
ElementMatcher.Junction<T> ElementMatchers.ofType(ElementMatcher<? super TypeDescription> matcher) Matches a class loader's type unless it is the bootstrap class loader which is never matched.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.returns(ElementMatcher<? super TypeDescription> matcher) Matches a method's return type's erasure by the given matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArgument(int index, ElementMatcher<? super TypeDescription> matcher) MatchesMethodDescriptions that define a type erasure as a parameter at the given index that matches the supplied matcher.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(Iterable<? extends TypeDescription> types) Matches a method description that takes the provided raw arguments.static <T extends MethodDescription>
ElementMatcher.Junction<T> ElementMatchers.takesArguments(ElementMatcher<? super Iterable<? extends TypeDescription>> matchers) Matches aMethodDescriptionby applying an iterable collection of element matcher on any parameter'sTypeDescription.Constructors in net.bytebuddy.matcher with parameters of type TypeDescriptionModifierConstructorDescriptionAccessibilityMatcher(TypeDescription typeDescription) Creates a matcher that validates that a byte code element can be seen by a given type.SubTypeMatcher(TypeDescription typeDescription) Creates a new matcher for matching its input for being a sub type of the giventypeDescription.SuperTypeMatcher(TypeDescription typeDescription) Creates a new matcher for matching its input for being a super type of the giventypeDescription.VisibilityMatcher(TypeDescription typeDescription) Creates a matcher that validates that a byte code element can be seen by a given type.Constructor parameters in net.bytebuddy.matcher with type arguments of type TypeDescriptionModifierConstructorDescriptionAnnotationTypeMatcher(ElementMatcher<? super TypeDescription> matcher) Creates a new matcher for an annotation description's type.CollectionErasureMatcher(ElementMatcher<? super Iterable<? extends TypeDescription>> matcher) Creates a new raw type matcher.ErasureMatcher(ElementMatcher<? super TypeDescription> matcher) Creates a new raw type matcher.InstanceTypeMatcher(ElementMatcher<? super TypeDescription> matcher) Creates a new instance type matcher. -
Uses of TypeDescription in net.bytebuddy.pool
Classes in net.bytebuddy.pool that implement TypeDescriptionModifier and TypeClassDescriptionprotected static classA type description that looks up any referencedByteCodeElementorAnnotationDescriptionby querying a type pool at lookup time.protected classRepresents a type description where the class file is only fully parsed if a complex property is resolved.protected classA lazy type description that resolves any property that is not the name only when requested.protected static classA description of a type that delegates to another type pool once a property that is not the name is resolved.Subclasses with type arguments of type TypeDescription in net.bytebuddy.poolModifier and TypeClassDescriptionprivate static classA lazy annotation value description for a type value.Fields in net.bytebuddy.pool declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionTypePool.Default.LazyTypeDescription.LazyAnnotationDescription.annotationTypeThe type of this annotation.private final TypeDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.typeDescriptionThe represented type's description.private final TypeDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.typeDescriptionA description of this primitive type token.private final TypeDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.typeDescriptionThe represented non-generic type.private final TypeDescriptionTypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyNonGenericReceiverType.typeDescriptionThe type description of the non-generic receiver type.private final TypeDescriptionTypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.typeDescriptionThe erasure of the type to be represented as a parameterized receiver type.private final TypeDescriptionTypePool.Default.LazyTypeDescription.LazyNestMemberList.typeDescriptionThe type for which the nest members are represented.private final TypeDescriptionTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate.typeDescriptionThe represented type description.private final TypeDescriptionTypePool.Resolution.Simple.typeDescriptionThe represented type description.Fields in net.bytebuddy.pool with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprotected static final Map<String, TypeDescription> TypePool.AbstractBase.PRIMITIVE_TYPESA map of primitive types by their name.private final Map<String, TypeDescription> TypePool.Explicit.typesA mapping from type names to type descriptions of that name.Methods in net.bytebuddy.pool that return TypeDescriptionModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.LazyParameterizedType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForParameterizedType.Nested.LazyParameterizedType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.ForPrimitiveType.LazyPrimitiveType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyNonGenericReceiverType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterizedReceiverType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.TokenizedGenericType.asErasure()Returns the erasure of this type.TypePool.Default.LazyTypeDescription.TokenizedGenericType.Malformed.asErasure()Returns the erasure of this type.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.LazyInterface.asErasure()Returns the erasure of this type.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.LazySuperClass.asErasure()Returns the erasure of this type.protected TypeDescriptionTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.delegate()protected TypeDescriptionTypePool.Default.WithLazyResolution.LazyTypeDescription.delegate()protected TypeDescriptionTypePool.LazyFacade.LazyTypeDescription.delegate()protected TypeDescriptionTypePool.Default.doParse(AsmClassReader classReader) Parses the supplied binary representation and returns a corresponding type description.protected TypeDescriptionTypePool.Default.WithLazyResolution.doParse(AsmClassReader classReader) TypePool.Default.LazyTypeDescription.LazyNestMemberList.get(int index) TypePool.Default.LazyTypeDescription.LazyTypeList.get(int index) TypePool.Default.LazyTypeDescription.LazyAnnotationDescription.getAnnotationType()Returns a description of the annotation type of this annotation.TypePool.Default.LazyTypeDescription.getDeclaringType()Returns the declaring type of this instance.TypePool.Default.LazyTypeDescription.LazyFieldDescription.getDeclaringType()Returns the declaring type of this instance.TypePool.Default.LazyTypeDescription.LazyMethodDescription.getDeclaringType()Returns the declaring type of this instance.TypePool.Default.LazyTypeDescription.LazyRecordComponentDescription.getDeclaringType()Returns the declaring type of this instance.TypePool.Default.LazyTypeDescription.getEnclosingType()Returns a description of this type's enclosing type if any.TypePool.Default.LazyTypeDescription.TypeContainment.getEnclosingType(TypePool typePool) Returns the enclosing type ornullif no such type exists.TypePool.Default.LazyTypeDescription.TypeContainment.SelfContained.getEnclosingType(TypePool typePool) Returns the enclosing type ornullif no such type exists.TypePool.Default.LazyTypeDescription.TypeContainment.WithinMethod.getEnclosingType(TypePool typePool) Returns the enclosing type ornullif no such type exists.TypePool.Default.LazyTypeDescription.TypeContainment.WithinType.getEnclosingType(TypePool typePool) Returns the enclosing type ornullif no such type exists.TypePool.Default.LazyTypeDescription.getNestHost()Returns the nest host of this type.TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.ResolvedDelegate.getTypeDescription()Returns the represented type description.TypePool.AbstractBase.ArrayTypeResolution.resolve()Resolves this resolution to aTypeDescription.TypePool.Default.WithLazyResolution.LazyResolution.resolve()Resolves this resolution to aTypeDescription.TypePool.LazyFacade.LazyResolution.resolve()Resolves this resolution to aTypeDescription.TypePool.Resolution.Illegal.resolve()Resolves this resolution to aTypeDescription.TypePool.Resolution.resolve()Resolves this resolution to aTypeDescription.TypePool.Resolution.Simple.resolve()Resolves this resolution to aTypeDescription.protected static TypeDescriptionTypePool.Default.LazyTypeDescription.TokenizedGenericType.toErasure(TypePool typePool, String descriptor) Creates a type description from a descriptor by looking up the corresponding type.protected TypeDescriptionTypePool.Default.TypeExtractor.toTypeDescription()Creates a type description from all data that is currently collected.Methods in net.bytebuddy.pool that return types with arguments of type TypeDescriptionModifier and TypeMethodDescriptionprotected AnnotationValue<TypeDescription, Class<?>> TypePool.Default.LazyTypeDescription.LazyAnnotationValue.ForTypeValue.doResolve()Methods in net.bytebuddy.pool with parameters of type TypeDescriptionModifier and TypeMethodDescriptionTypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.resolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType) Resolves the generic interface types of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType) Resolves the generic interface types of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType) Resolves the generic interface types of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveInterfaceTypes(List<String> interfaceTypeDescriptors, TypePool typePool, Map<Integer, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>>> annotationTokens, TypeDescription definingType) Resolves the generic interface types of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.resolveSuperClass(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.ForType.Tokenized.resolveSuperClass(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Malformed.resolveSuperClass(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.resolveSuperClass(String superClassDescriptor, TypePool typePool, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription definingType) Resolves the generic super type of the represented type.static TypePoolTypePool.Explicit.wrap(TypeDescription instrumentedType, List<? extends DynamicType> auxiliaryTypes, TypePool typePool) Wraps another type pool for an instrumented type and its auxiliary types.Constructors in net.bytebuddy.pool with parameters of type TypeDescriptionModifierConstructorDescriptionprivateLazyAnnotationDescription(TypePool typePool, TypeDescription annotationType, Map<String, AnnotationValue<?, ?>> values) Creates a new lazy annotation description.protectedLazyNestMemberList(TypeDescription typeDescription, TypePool typePool, List<String> nestMembers) Creates a new lazy type list of all nest members of this group.protectedLazyNonGenericReceiverType(TypeDescription typeDescription) Creates a new non-generic receiver type of the supplied type.protectedLazyParameterizedReceiverType(TypeDescription typeDescription) Creates a new lazy parameterized receiver type of the supplied receiver type.protectedLazyPrimitiveType(TypePool typePool, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription typeDescription) Creates a new lazy primitive type.protectedRawAnnotatedType(TypePool typePool, String typePath, Map<String, List<TypePool.Default.LazyTypeDescription.AnnotationToken>> annotationTokens, TypeDescription typeDescription) Creates a new raw annotated type.privateResolvedDelegate(TypeDescription typeDescription) Creates a new resolved version of a delegate.Simple(TypeDescription typeDescription) Creates a new successful resolution of a given type description.Constructor parameters in net.bytebuddy.pool with type arguments of type TypeDescriptionModifierConstructorDescriptionExplicit(Map<String, TypeDescription> types) Creates a new explicit type pool without a parent.Explicit(TypePool parent, Map<String, TypeDescription> types) Creates a new explicit type pool. -
Uses of TypeDescription in net.bytebuddy.utility
Classes in net.bytebuddy.utility that implement TypeDescriptionModifier and TypeClassDescriptionprotected static classA latent type that resolves the simple name without considering the declaring type which is not normally available.Subclasses with type arguments of type TypeDescription in net.bytebuddy.utilityModifier and TypeClassDescriptionprotected static classRepresents a type constant.Fields in net.bytebuddy.utility declared as TypeDescriptionModifier and TypeFieldDescriptionprivate final TypeDescriptionJavaConstant.MethodHandle.ownerTypeThe owner type that is represented by this instance.private final TypeDescriptionJavaConstant.MethodHandle.returnTypeThe return type that is represented by this instance.private final TypeDescriptionJavaConstant.MethodType.returnTypeThe return type of this method type.private final TypeDescriptionConstantValue.Simple.typeDescriptionThe description of the constant value's type.private final TypeDescriptionJavaConstant.Dynamic.typeDescriptionA description of the represented value's type.private final TypeDescriptionJavaConstant.Simple.typeDescriptionA description of the type of the constant.private final TypeDescriptionJavaType.typeDescriptionThe type description to represent this type which is either a loaded type or a stub.Fields in net.bytebuddy.utility with type parameters of type TypeDescriptionModifier and TypeFieldDescriptionprivate final List<? extends TypeDescription> JavaConstant.MethodHandle.parameterTypesThe parameter types that is represented by this instance.private final List<? extends TypeDescription> JavaConstant.MethodType.parameterTypesThe parameter types of this method type.Methods in net.bytebuddy.utility that return TypeDescriptionModifier and TypeMethodDescriptionJavaConstant.MethodHandle.getOwnerType()Returns the owner type of this instance.JavaConstant.MethodHandle.getReturnType()Returns the return type represented by this instance.JavaConstant.MethodType.getReturnType()Returns the return type of this method type.ConstantValue.getTypeDescription()Returns a description of the type of this constant.ConstantValue.Simple.getTypeDescription()Returns a description of the type of this constant.JavaConstant.Dynamic.getTypeDescription()Returns a description of the type of this constant.JavaConstant.MethodHandle.getTypeDescription()Returns a description of the type of this constant.JavaConstant.MethodType.getTypeDescription()Returns a description of the type of this constant.JavaConstant.Simple.getTypeDescription()Returns a description of the type of this constant.JavaType.getTypeStub()Returns at least a stub representing this type where the stub does not define any methods or fields.JavaType.loadAsDescription()Loads the class that is represented by this Java type and represents it as aTypeDescription.Methods in net.bytebuddy.utility with parameters of type TypeDescriptionModifier and TypeMethodDescriptionstatic JavaConstant.MethodTypeJavaConstant.MethodType.of(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Returns a method type description of the given return type and parameter types.static JavaConstant.MethodTypeJavaConstant.MethodType.of(TypeDescription returnType, TypeDescription... parameterType) Returns a method type description of the given return type and parameter types.static JavaConstantJavaConstant.Simple.of(TypeDescription typeDescription) Returns a Java constant representation for aTypeDescription.static JavaConstantJavaConstant.Dynamic.ofArrayVarHandle(TypeDescription typeDescription) Resolves a var handle constant for an array.static JavaConstant.MethodTypeJavaConstant.MethodType.ofConstant(TypeDescription typeDescription) Returns a method type for the given constant type.static JavaConstantJavaConstant.Dynamic.ofPrimitiveType(TypeDescription typeDescription) Returns aClassconstant for a primitive type.static JavaConstant.MethodHandleJavaConstant.MethodHandle.ofSpecial(MethodDescription.InDefinedShape methodDescription, TypeDescription typeDescription) Creates a method handle representation of the given method for an explicit special method invocation of an otherwise virtual method.JavaConstant.Dynamic.withType(TypeDescription typeDescription) Resolves thisJavaConstant.Dynamicconstant to resolve the returned instance to the supplied type.Method parameters in net.bytebuddy.utility with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionstatic JavaConstant.MethodTypeJavaConstant.MethodType.of(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Returns a method type description of the given return type and parameter types.JavaConstant.Visitor.NoOp.onType(JavaConstant.Simple<TypeDescription> constant) Invoked on aJavaConstant.Simpleconstant that represents aTypeDescription.JavaConstant.Visitor.onType(JavaConstant.Simple<TypeDescription> constant) Invoked on aJavaConstant.Simpleconstant that represents aTypeDescription.Constructors in net.bytebuddy.utility with parameters of type TypeDescriptionModifierConstructorDescriptionDynamic(String name, TypeDescription typeDescription, JavaConstant.MethodHandle bootstrap, List<JavaConstant> arguments) Creates a dynamic resolved constant.MethodHandle(JavaConstant.MethodHandle.HandleType handleType, TypeDescription ownerType, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a method handle representation.protectedMethodType(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a method type for the given types.protectedOfTrivialValue(S value, TypeDescription typeDescription) Creates a representation of a trivial constant that represents itself.protectedOfTypeDescription(TypeDescription value) Creates a type constant.protectedSimple(StackManipulation stackManipulation, TypeDescription typeDescription) Creates a simple constant value.protectedSimple(T value, TypeDescription typeDescription) Creates a simple Java constant.Constructor parameters in net.bytebuddy.utility with type arguments of type TypeDescriptionModifierConstructorDescriptionMethodHandle(JavaConstant.MethodHandle.HandleType handleType, TypeDescription ownerType, String name, TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a method handle representation.protectedMethodType(TypeDescription returnType, List<? extends TypeDescription> parameterTypes) Creates a method type for the given types.
TypeDescription.ForLoadedType.of(Class)instead.