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.
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 AsmClassReader in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as AsmClassReaderModifier and TypeFieldDescriptionprotected final AsmClassReaderAdvice.Dispatcher.Inlining.Resolved.AdviceMethodInliner.classReaderA class reader for parsing the class file containing the represented advice method.protected final AsmClassReaderAdvice.Dispatcher.Inlining.Resolved.classReaderA class reader to query for the class file of the advice method.private static final AsmClassReaderAdvice.UNDEFINEDIndicates 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.ForMethodEnterAdvice.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.ForMethodExitAdvice.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 AsmClassReaderModifierConstructorDescriptionprotectedAdviceMethodInliner(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.protectedForMethodEnter(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.protectedForMethodExit(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.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.protectedWithDiscardedEnterType(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.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.protectedWithoutExceptionHandler(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.protectedWithRetainedEnterType(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.pool
Fields in net.bytebuddy.pool declared as AsmClassReaderModifier and TypeFieldDescriptionprivate final AsmClassReaderTypePool.Default.WithLazyResolution.ExtendedLazyTypeDescription.UnresolvedDelegate.classReaderThe represented ASM class reader.Methods in net.bytebuddy.pool with parameters of type AsmClassReaderModifier and TypeMethodDescriptionprotected TypeDescriptionTypePool.Default.doParse(AsmClassReader classReader) Parses the supplied binary representation and returns a corresponding type description.protected TypeDescriptionTypePool.Default.WithLazyResolution.doParse(AsmClassReader classReader) Constructors in net.bytebuddy.pool with parameters of type AsmClassReaderModifierConstructorDescriptionprotectedExtendedLazyTypeDescription(AsmClassReader classReader) Creates a new extended lazy type resolution.privateUnresolvedDelegate(AsmClassReader classReader) Creates an unresolved delegated. -
Uses of AsmClassReader in net.bytebuddy.utility
Classes in net.bytebuddy.utility that implement AsmClassReaderModifier and TypeClassDescriptionstatic classA class reader for ASM's ownClassReader.static classA class reader that is based upon the Class File API.protected static enumAn empty class reader for ASM that never unwraps an underlying implementation.static classA class reader that does not retain a compatibleAsmClassWriterimplementation.Fields in net.bytebuddy.utility declared as AsmClassReaderModifier and TypeFieldDescriptionprivate final AsmClassReaderAsmClassWriter.Factory.Default.NonRetainingAsmClassReader.delegateThe 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.