Uses of Interface
net.bytebuddy.utility.AsmClassReader
-
Packages that use AsmClassReader Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.pool Classes of this package allow for the creatingTypeDescription
s without loading any classes.net.bytebuddy.utility This package contains utility classes for common use within any Byte Buddy logic. -
-
Uses of AsmClassReader in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as AsmClassReader Modifier and Type Field Description protected AsmClassReader
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner. classReader
A class reader for parsing the class file containing the represented advice method.protected AsmClassReader
Advice.Dispatcher.Inlining.Resolved. classReader
A class reader to query for the class file of the advice method.private static AsmClassReader
Advice. UNDEFINED
Indicates that no class reader is available to an advice method.Methods in net.bytebuddy.asm with parameters of type AsmClassReader Modifier and Type Method Description Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Delegating. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Inactive. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Inlining. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Unresolved. asMethodEnter(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodExit, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for entering a method.Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Delegating. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Inactive. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Inlining. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Unresolved. asMethodExit(java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, Advice.Dispatcher.Unresolved methodEnter, Advice.PostProcessor.Factory postProcessorFactory)
Resolves this dispatcher as a dispatcher for exiting a method.protected static Advice.Dispatcher.Resolved.ForMethodEnter
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter. of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader, boolean methodExit)
Resolves enter advice that only exposes the enter type if this is necessary.protected static Advice.Dispatcher.Resolved.ForMethodExit
Advice.Dispatcher.Inlining.Resolved.ForMethodExit. of(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)
Resolves exit advice that handles exceptions depending on the specification of the exit advice.Constructors in net.bytebuddy.asm with parameters of type AsmClassReader Constructor Description AdviceMethodInliner(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.ForMethodEnter(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice.ForMethodExit(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)
Creates a new resolved dispatcher for implementing method exit advice.Resolved(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.List<? extends Advice.OffsetMapping.Factory<?>> factories, TypeDescription throwableType, TypeDescription relocatableType, int relocatableIndex, AsmClassReader classReader)
Creates a new resolved version of a dispatcher.WithDiscardedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice that does not expose the enter type.WithExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.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.WithoutExceptionHandler(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.Map<java.lang.String,TypeDefinition> uninitializedNamedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType)
Creates a new resolved dispatcher for implementing method exit advice that does not handle exceptions.WithRetainedEnterType(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, java.util.Map<java.lang.String,TypeDefinition> namedTypes, java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader)
Creates a new resolved dispatcher for implementing method enter advice that does expose the enter type. -
Uses of AsmClassReader in net.bytebuddy.dynamic.scaffold
Methods in net.bytebuddy.dynamic.scaffold with parameters of type AsmClassReader Modifier and Type Method Description AsmClassWriter
ClassWriterStrategy.Delegating. make(int flags, AsmClassReader classReader)
Creates a new class writer for the given flags, possibly based on a previous class file representation.AsmClassWriter
ClassWriterStrategy.Delegating. make(int flags, AsmClassReader classReader, TypePool typePool)
Creates a new class writer for the given flags, possibly based on a previous class file representation. -
Uses of AsmClassReader in net.bytebuddy.pool
Fields in net.bytebuddy.pool declared as AsmClassReader Modifier and Type Field Description private AsmClassReader
TypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.UnresolvedDelegate. classReader
The represented ASM class reader.Methods in net.bytebuddy.pool with parameters of type AsmClassReader Modifier and Type Method Description protected TypeDescription
TypePool.Default. doParse(AsmClassReader classReader)
Parses the supplied binary representation and returns a corresponding type description.protected TypeDescription
TypePool.Default.WithLazyResolution. doParse(AsmClassReader classReader)
Constructors in net.bytebuddy.pool with parameters of type AsmClassReader Constructor Description ExtendedLazyTypeDescription(AsmClassReader classReader)
Creates a new extended lazy type resolution.UnresolvedDelegate(AsmClassReader classReader)
Creates an unresolved delegated. -
Uses of AsmClassReader in net.bytebuddy.utility
Classes in net.bytebuddy.utility that implement AsmClassReader Modifier and Type Class Description static class
AsmClassReader.ForAsm
A class reader for ASM's ownClassReader
.static class
AsmClassReader.ForClassFileApi
A class reader that is based upon the Class File API.protected static class
AsmClassWriter.Factory.Default.EmptyAsmClassReader
An empty class reader for ASM that never unwraps an underlying implementation.static class
AsmClassWriter.Factory.Default.NonRetainingAsmClassReader
A class reader that does not retain a compatibleAsmClassWriter
implementation.Fields in net.bytebuddy.utility declared as AsmClassReader Modifier and Type Field Description private AsmClassReader
AsmClassWriter.Factory.Default.NonRetainingAsmClassReader. delegate
The delegate implementation.Methods in net.bytebuddy.utility that return AsmClassReader Modifier and Type Method Description AsmClassReader
AsmClassReader.Factory.Default. make(byte[] binaryRepresentation)
Creates a class reader for a given class file.AsmClassReader
AsmClassReader.Factory. make(byte[] binaryRepresentation)
Creates a class reader for a given class file.AsmClassReader
AsmClassReader.Factory. make(byte[] binaryRepresentation, boolean experimental)
Creates a class reader for a given class file.AsmClassReader
OpenedClassReader. make(byte[] binaryRepresentation)
Creates a class reader for a given class file.AsmClassReader
OpenedClassReader. make(byte[] binaryRepresentation, boolean experimental)
Creates a class reader for a given class file.Methods in net.bytebuddy.utility with parameters of type AsmClassReader Modifier and Type Method Description AsmClassWriter
AsmClassWriter.Factory.Default. make(int flags, AsmClassReader classReader)
Creates a new class writer for the given flags, possibly based on a previous class file representation.AsmClassWriter
AsmClassWriter.Factory. make(int flags, AsmClassReader classReader)
Creates a new class writer for the given flags, possibly based on a previous class file representation.AsmClassWriter
AsmClassWriter.Factory. make(int flags, AsmClassReader classReader, TypePool typePool)
Creates a new class writer for the given flags, possibly based on a previous class file representation.AsmClassWriter
AsmClassWriter.Factory.Suppressing. make(int flags, AsmClassReader classReader)
Creates a new class writer for the given flags, possibly based on a previous class file representation.AsmClassWriter
AsmClassWriter.Factory.Suppressing. make(int flags, AsmClassReader classReader, TypePool typePool)
Creates a new class writer for the given flags, possibly based on a previous class file representation.Constructors in net.bytebuddy.utility with parameters of type AsmClassReader Constructor Description NonRetainingAsmClassReader(AsmClassReader delegate)
Creates a new non-retaining ASM class writer.
-