Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
Modifier and Type | Class and Description |
---|---|
static class |
Advice.AssignReturned.ToAllArguments.Handler
A handler for a
Advice.AssignReturned.ToAllArguments annotation. |
static class |
Advice.AssignReturned.ToArguments.Handler
A handler for a
Advice.AssignReturned.ToArguments.ToArgument annotation. |
static class |
Advice.AssignReturned.ToFields.Handler
A handler for a
Advice.AssignReturned.ToFields.ToField annotation. |
static class |
Advice.AssignReturned.ToReturned.Handler
A handler for a
Advice.AssignReturned.ToReturned annotation. |
static class |
Advice.AssignReturned.ToThis.Handler
A handler for the
Advice.AssignReturned.ToThis annotation. |
static class |
Advice.AssignReturned.ToThrown.Handler
A handler for a
Advice.AssignReturned.ToThrown annotation. |
Modifier and Type | Method and Description |
---|---|
protected abstract Collection<Advice.AssignReturned.Handler> |
Advice.AssignReturned.getHandlers()
Returns a collection of all handlers to apply.
|
protected Collection<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ForArray.getHandlers() |
protected Collection<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ForScalar.getHandlers() |
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ToAllArguments.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToAllArguments> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ToArguments.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToArguments> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ToFields.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToFields> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ToReturned.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToReturned> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ToThis.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToThis> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.ToThrown.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends Advice.AssignReturned.ToThrown> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.Handler.Factory.Simple.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends S> annotation)
Resolves a list of handlers for this factory.
|
List<Advice.AssignReturned.Handler> |
Advice.AssignReturned.Handler.Factory.make(MethodDescription.InDefinedShape advice,
boolean exit,
AnnotationDescription.Loadable<? extends T> annotation)
Resolves a list of handlers for this factory.
|
Modifier and Type | Method and Description |
---|---|
protected abstract StackManipulation |
Advice.AssignReturned.toLoadInstruction(Advice.AssignReturned.Handler handler,
int offset)
Creates a load instruction for the given handler.
|
protected StackManipulation |
Advice.AssignReturned.ForArray.toLoadInstruction(Advice.AssignReturned.Handler handler,
int offset) |
protected StackManipulation |
Advice.AssignReturned.ForScalar.toLoadInstruction(Advice.AssignReturned.Handler handler,
int offset) |
Advice.AssignReturned.Factory |
Advice.AssignReturned.Factory.with(Class<? extends Annotation> type,
Advice.AssignReturned.Handler... handler)
Includes a list of handlers upon discovering an annotation of a given type.
|
Modifier and Type | Method and Description |
---|---|
Advice.AssignReturned.Factory |
Advice.AssignReturned.Factory.with(Class<? extends Annotation> type,
List<Advice.AssignReturned.Handler> handlers)
Includes a list of handlers upon discovering an annotation of a given type.
|
Constructor and Description |
---|
ForArray(TypeDescription.Generic type,
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.
|
ForScalar(TypeDescription.Generic type,
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.
|
Simple(Class<S> type,
List<Advice.AssignReturned.Handler> handlers)
Creates a new simple handler.
|
Copyright © 2014–2024. All rights reserved.