Uses of Interface
net.bytebuddy.utility.AsmClassReader
Packages that use AsmClassReader
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
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 AsmClassReaderModifier and TypeFieldDescriptionprotected final AsmClassReader
Advice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.classReader
A class reader for parsing the class file containing the represented advice method.protected final AsmClassReader
Advice.Dispatcher.Inlining.Resolved.classReader
A class reader to query for the class file of the advice method.private static final AsmClassReader
Advice.UNDEFINED
Indicates that no class reader is available to an advice method.Methods in net.bytebuddy.asm with parameters of type AsmClassReaderModifier and TypeMethodDescriptionAdvice.Dispatcher.Delegating.asMethodEnter
(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.Inactive.asMethodEnter
(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.Inlining.asMethodEnter
(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.Unresolved.asMethodEnter
(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.Delegating.asMethodExit
(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.Inactive.asMethodExit
(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.Inlining.asMethodExit
(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.Unresolved.asMethodExit
(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, Map<String, TypeDefinition> namedTypes, 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, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, 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 AsmClassReaderModifierConstructorDescriptionprotected
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.protected
ForMethodEnter
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, TypeDefinition exitType, AsmClassReader classReader) Creates a new resolved dispatcher for implementing method enter advice.protected
ForMethodExit
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, List<? extends Advice.OffsetMapping.Factory<?>> userFactories, AsmClassReader classReader, TypeDefinition enterType) Creates a new resolved dispatcher for implementing method exit advice.protected
Resolved
(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.protected
WithDiscardedEnterType
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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.protected
WithExceptionHandler
(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.protected
WithoutExceptionHandler
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, Map<String, TypeDefinition> uninitializedNamedTypes, 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.protected
WithRetainedEnterType
(MethodDescription.InDefinedShape adviceMethod, Advice.PostProcessor postProcessor, Map<String, TypeDefinition> namedTypes, 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 AsmClassReaderModifier and TypeMethodDescriptionClassWriterStrategy.Delegating.make
(int flags, AsmClassReader classReader) Creates a new class writer for the given flags, possibly based on a previous class file representation.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.utility
Classes in net.bytebuddy.utility that implement AsmClassReaderModifier and TypeClassDescriptionstatic class
A class reader for ASM's ownClassReader
.static class
A class reader that is based upon the Class File API.protected static enum
An empty class reader for ASM that never unwraps an underlying implementation.static class
A class reader that does not retain a compatibleAsmClassWriter
implementation.Fields in net.bytebuddy.utility declared as AsmClassReaderModifier and TypeFieldDescriptionprivate final AsmClassReader
AsmClassWriter.Factory.Default.NonRetainingAsmClassReader.delegate
The delegate implementation.Methods in net.bytebuddy.utility that return AsmClassReaderModifier and TypeMethodDescriptionAsmClassReader.Factory.Default.make
(byte[] binaryRepresentation) Creates a class reader for a given class file.AsmClassReader.Factory.make
(byte[] binaryRepresentation) Creates a class reader for a given class file.AsmClassReader.Factory.make
(byte[] binaryRepresentation, boolean experimental) Creates a class reader for a given class file.OpenedClassReader.make
(byte[] binaryRepresentation) Creates a class reader for a given class file.OpenedClassReader.make
(byte[] binaryRepresentation, boolean experimental) Creates a class reader for a given class file.Methods in net.bytebuddy.utility with parameters of type AsmClassReaderModifier and TypeMethodDescriptionAsmClassWriter.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.Factory.make
(int flags, AsmClassReader classReader) Creates a new class writer for the given flags, possibly based on a previous class file representation.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.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.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 AsmClassReaderModifierConstructorDescriptionNonRetainingAsmClassReader
(AsmClassReader delegate) Creates a new non-retaining ASM class writer.