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.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.utility
Classes in net.bytebuddy.utility that implement AsmClassReader Modifier and Type Class Description static class
AsmClassReader.Default
A class reader for ASM's defaultClassReader
.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.Default. make(byte[] binaryRepresentation, boolean experimental)
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.Default. 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. 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.
-