See: Description
Interface | Description |
---|---|
Advice.Dispatcher |
A dispatcher for implementing advice.
|
Advice.Dispatcher.Bound |
A bound resolution of an advice method.
|
Advice.Dispatcher.Bound.ForMethodEnter |
A bound dispatcher for a method enter.
|
Advice.Dispatcher.Bound.ForMethodExit |
A bound dispatcher for a method exit.
|
Advice.Dispatcher.Bound.SkipHandler |
A skip handler is responsible for writing code that skips the invocation of the original code
within the instrumented method.
|
Advice.Dispatcher.OffsetMapping |
Represents an offset mapping for an advice method to an alternative offset.
|
Advice.Dispatcher.OffsetMapping.Context |
A context for applying an
Advice.Dispatcher.OffsetMapping . |
Advice.Dispatcher.OffsetMapping.Factory |
Represents a factory for creating a
Advice.Dispatcher.OffsetMapping for a given parameter. |
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer |
A renderer for an origin pattern element.
|
Advice.Dispatcher.OffsetMapping.Target |
A target offset of an offset mapping.
|
Advice.Dispatcher.Resolved |
Represents a resolved dispatcher.
|
Advice.Dispatcher.Resolved.ForMethodEnter |
Represents a resolved dispatcher for entering a method.
|
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher |
A skip dispatcher is responsible for skipping the instrumented method depending on the
return value of the enter advice method.
|
Advice.Dispatcher.Resolved.ForMethodExit |
Represents a resolved dispatcher for exiting a method.
|
Advice.Dispatcher.SuppressionHandler |
A suppression handler for optionally suppressing exceptions.
|
Advice.Dispatcher.SuppressionHandler.Bound |
A bound version of a suppression handler that must not be reused.
|
Advice.Dispatcher.SuppressionHandler.ReturnValueProducer |
A producer for a default return value if this is applicable.
|
Advice.Dispatcher.Unresolved |
A dispatcher that is not yet resolved.
|
Advice.DynamicValue<T extends Annotation> |
A dynamic value allows to bind parameters of an
Advice method to a custom, constant value. |
Advice.MethodSizeHandler |
A handler for computing the instrumented method's size.
|
Advice.MethodSizeHandler.ForAdvice |
A method size handler for an advice method.
|
Advice.MethodSizeHandler.ForInstrumentedMethod |
A method size handler for the instrumented method.
|
Advice.StackMapFrameHandler |
A handler for computing and translating stack map frames.
|
Advice.StackMapFrameHandler.ForAdvice |
A stack map frame handler for an advice method.
|
Advice.StackMapFrameHandler.ForInstrumentedMethod |
A stack map frame handler for an instrumented method.
|
AsmVisitorWrapper |
A class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor which
is applied to the main type created by a DynamicType.Builder but not
to any AuxiliaryType s, if any. |
AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper |
A field visitor wrapper that allows for wrapping a
FieldVisitor defining a declared field. |
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper |
A method visitor wrapper that allows for wrapping a
MethodVisitor defining a declared method. |
Class | Description |
---|---|
Advice |
Advice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.
|
Advice.AdviceVisitor |
A method visitor that weaves the advice methods' byte codes.
|
Advice.AdviceVisitor.WithExitAdvice |
An advice visitor that applies exit advice.
|
Advice.AdviceVisitor.WithExitAdvice.WithExceptionHandling |
An advice visitor that captures exceptions by weaving try-catch blocks around user code.
|
Advice.AdviceVisitor.WithExitAdvice.WithoutExceptionHandling |
An advice visitor that does not capture exceptions.
|
Advice.AdviceVisitor.WithoutExitAdvice |
An advice visitor that does not apply exit advice.
|
Advice.Appender |
A byte code appender for implementing
Advice . |
Advice.Appender.EmulatingMethodVisitor |
A method visitor that allows for the emulation of a full method visitor invocation circle without delegating initial
and ending visitations to the underlying visitor.
|
Advice.Dispatcher.Delegating |
A dispatcher for an advice method that is being invoked from the instrumented method.
|
Advice.Dispatcher.Delegating.Resolved<T extends Advice.Dispatcher.Bound> |
A resolved version of a dispatcher.
|
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter |
A bound advice method that copies the code by first extracting the exception table and later appending the
code of the method without copying any meta data.
|
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.ForMethodEnter |
An advice method writer for a method entry.
|
Advice.Dispatcher.Delegating.Resolved.AdviceMethodWriter.ForMethodExit |
An advice method writer for a method exit.
|
Advice.Dispatcher.Delegating.Resolved.ForMethodEnter |
A resolved dispatcher for implementing method enter advice.
|
Advice.Dispatcher.Delegating.Resolved.ForMethodExit |
A resolved dispatcher for implementing method exit advice.
|
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithExceptionHandler |
Implementation of exit advice that handles exceptions.
|
Advice.Dispatcher.Delegating.Resolved.ForMethodExit.WithoutExceptionHandler |
Implementation of exit advice that ignores exceptions.
|
Advice.Dispatcher.Inlining |
A dispatcher for an advice method that is being inlined into the instrumented method.
|
Advice.Dispatcher.Inlining.CodeTranslationVisitor |
A visitor for translating an advice method's byte code for inlining into the instrumented method.
|
Advice.Dispatcher.Inlining.CodeTranslationVisitor.ForMethodEnter |
A code translation visitor that retains the return value of the represented advice method.
|
Advice.Dispatcher.Inlining.CodeTranslationVisitor.ForMethodExit |
A code translation visitor that discards the return value of the represented advice method.
|
Advice.Dispatcher.Inlining.Resolved |
A resolved version of a dispatcher.
|
Advice.Dispatcher.Inlining.Resolved.ForMethodEnter |
A resolved dispatcher for implementing method enter advice.
|
Advice.Dispatcher.Inlining.Resolved.ForMethodExit |
A resolved dispatcher for implementing method exit advice.
|
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler |
Implementation of exit advice that handles exceptions.
|
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler |
Implementation of exit advice that ignores exceptions.
|
Advice.Dispatcher.OffsetMapping.ForAllArguments |
An offset mapping that maps an array containing all arguments of the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForArgument |
An offset mapping for a given parameter of the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForEnterValue |
An offset mapping that provides access to the value that is returned by the enter advice.
|
Advice.Dispatcher.OffsetMapping.ForEnterValue.Factory |
A factory for creating a
Advice.Dispatcher.OffsetMapping.ForEnterValue offset mapping. |
Advice.Dispatcher.OffsetMapping.ForField |
An offset mapping for a field.
|
Advice.Dispatcher.OffsetMapping.ForField.WithExplicitType |
An offset mapping for a field with an explicit declaring type.
|
Advice.Dispatcher.OffsetMapping.ForField.WithImplicitType |
An offset mapping for a field with an implicit declaring type.
|
Advice.Dispatcher.OffsetMapping.ForOrigin |
An offset mapping for the
Advice.Origin annotation. |
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForConstantValue |
A renderer for a constant value.
|
Advice.Dispatcher.OffsetMapping.ForReturnValue |
An offset mapping that provides access to the value that is returned by the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForThisReference |
An offset mapping that provides access to the
this reference of the instrumented method. |
Advice.Dispatcher.OffsetMapping.ForThrowable |
An offset mapping for accessing a
Throwable of the instrumented method. |
Advice.Dispatcher.OffsetMapping.ForThrowable.Factory |
A factory for accessing an exception that was thrown by the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForUnusedValue |
An offset mapping for a parameter where assignments are fully ignored and that always return the parameter type's default value.
|
Advice.Dispatcher.OffsetMapping.ForUserValue<T extends Annotation> |
Represents an offset mapping for a user-defined value.
|
Advice.Dispatcher.OffsetMapping.ForUserValue.Factory<S extends Annotation> |
A factory for mapping a user-defined dynamic value.
|
Advice.Dispatcher.OffsetMapping.Illegal |
Represents a factory that throws an exception for a given set of illegal parameter annotations.
|
Advice.Dispatcher.OffsetMapping.Target.ForArray |
A target mapping for an array of all local variables.
|
Advice.Dispatcher.OffsetMapping.Target.ForArray.ReadOnly |
A target mapping for a read-only target mapping for an array of local variables.
|
Advice.Dispatcher.OffsetMapping.Target.ForArray.ReadWrite |
A target mapping for a writable target mapping for an array of local variables.
|
Advice.Dispatcher.OffsetMapping.Target.ForDefaultValue |
A target for an offset mapping that represents a non-operational value.
|
Advice.Dispatcher.OffsetMapping.Target.ForDefaultValue.ReadOnly |
A read-only target for a default value.
|
Advice.Dispatcher.OffsetMapping.Target.ForDefaultValue.ReadWrite |
A read-write target for a default value.
|
Advice.Dispatcher.OffsetMapping.Target.ForField |
A target for an offset mapping that loads a field value.
|
Advice.Dispatcher.OffsetMapping.Target.ForStackManipulation |
A target for an offset mapping that represents a read-only stack manipulation.
|
Advice.Dispatcher.OffsetMapping.Target.ForVariable |
A target for an offset mapping that represents a local variable.
|
Advice.Dispatcher.OffsetMapping.Target.ForVariable.ReadOnly |
A target for a read-only mapping of a local variable.
|
Advice.Dispatcher.OffsetMapping.Target.ForVariable.ReadWrite |
A target for a writable mapping of a local variable.
|
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForType |
A skip dispatcher that skips a value if it is of a given instance.
|
Advice.Dispatcher.SuppressionHandler.Suppressing |
A suppression handler that suppresses a given throwable type.
|
Advice.Dispatcher.SuppressionHandler.Suppressing.Bound |
An active, bound suppression handler.
|
Advice.DynamicValue.ForFieldValue |
A dynamic value binding for a field value.
|
Advice.DynamicValue.ForFixedValue<S extends Annotation> |
A
Advice.DynamicValue implementation that always binds a fixed value. |
Advice.DynamicValue.ForFixedValue.OfAnnotationProperty |
A dynamic value binding for an annotation property of an annotation on the bound parameter.
|
Advice.DynamicValue.ForFixedValue.OfConstant |
A fixed value binding for a constant pool value.
|
Advice.DynamicValue.ForParameterValue |
A dynamic value binding for a method parameter.
|
Advice.DynamicValue.ForSerializedValue |
A dynamic value binding that serializes the value as a string and deserializes this string on demand.
|
Advice.MethodSizeHandler.Default |
A default implementation for a method size handler.
|
Advice.OnDefaultValue |
A marker type to be used as an argument for
Advice.OnMethodEnter.skipOn() . |
Advice.OnNonDefaultValue |
A marker type to be used as an argument for
Advice.OnMethodEnter.skipOn() . |
Advice.StackMapFrameHandler.Default |
A default implementation of a stack map frame handler for an instrumented method.
|
Advice.WithCustomMapping |
A builder step for creating an
Advice that uses custom mappings of annotations to constant pool values. |
AsmVisitorWrapper.AbstractBase |
An abstract base implementation of an ASM visitor wrapper that does not set any flags.
|
AsmVisitorWrapper.Compound |
An ordered, immutable chain of
AsmVisitorWrapper s. |
AsmVisitorWrapper.ForDeclaredFields |
An ASM visitor wrapper that allows to wrap declared fields of the instrumented type with a
AsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper . |
AsmVisitorWrapper.ForDeclaredFields.Entry |
An entry describing a field visitor wrapper paired with a matcher for fields to be wrapped.
|
AsmVisitorWrapper.ForDeclaredMethods |
An ASM visitor wrapper that allows to wrap declared methods of the instrumented type with a
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper . |
AsmVisitorWrapper.ForDeclaredMethods.Entry |
An entry describing a method visitor wrapper paired with a matcher for fields to be wrapped.
|
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor |
A class visitor that checks a class file version for its support of storing class constants in the constant pool and remaps such constants
on discovery if that is not the case.
|
TypeConstantAdjustment.TypeConstantDissolvingClassVisitor.TypeConstantDissolvingMethodVisitor |
A method visitor that remaps class constants to invocations of
Class.forName(String) . |
Enum | Description |
---|---|
Advice.Dispatcher.Inactive |
An implementation for inactive devise that does not write any byte code.
|
Advice.Dispatcher.OffsetMapping.Context.ForMethodEntry |
A context for an offset mapping describing a method entry.
|
Advice.Dispatcher.OffsetMapping.Context.ForMethodExit |
A context for an offset mapping describing a method exit.
|
Advice.Dispatcher.OffsetMapping.ForAllArguments.Factory |
A factory for an offset mapping that maps all arguments values of the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForArgument.Factory |
A factory for a mapping of a parameter of the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForField.Factory |
A factory for a
Advice.Dispatcher.OffsetMapping.Target.ForField offset mapping. |
Advice.Dispatcher.OffsetMapping.ForInstrumentedMethod |
Maps a constant representing the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForInstrumentedType |
Maps the declaring type of the instrumented method.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Factory |
A factory for a method origin.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForDescriptor |
A renderer for a method descriptor.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForJavaSignature |
A renderer for a method's Java signature in binary form.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForMethodName |
A renderer for a method's internal name.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForReturnTypeName |
A renderer for a method's return type in binary form.
|
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForStringRepresentation |
A renderer for a method's
Object.toString() representation. |
Advice.Dispatcher.OffsetMapping.ForOrigin.Renderer.ForTypeName |
A renderer for a method declaring type's binary name.
|
Advice.Dispatcher.OffsetMapping.ForReturnValue.Factory |
A factory for creating a
Advice.Dispatcher.OffsetMapping.ForReturnValue offset mapping. |
Advice.Dispatcher.OffsetMapping.ForStubValue |
An offset mapping for a parameter where assignments are fully ignored and that is assigned a boxed version of the instrumented
method's return valueor
null if the return type is not primitive or void . |
Advice.Dispatcher.OffsetMapping.ForThisReference.Factory |
A factory for creating a
Advice.Dispatcher.OffsetMapping.ForThisReference offset mapping. |
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.Disabled |
A disabled skip dispatcher where the instrumented method is always executed.
|
Advice.Dispatcher.Resolved.ForMethodEnter.SkipDispatcher.ForValue |
A skip dispatcher where the instrumented method is skipped for any default value of the advice method's return type.
|
Advice.Dispatcher.SuppressionHandler.NoOp |
A non-operational suppression handler that does not suppress any method.
|
Advice.MethodSizeHandler.NoOp |
A non-operational method size handler.
|
Advice.StackMapFrameHandler.Default.TranslationMode |
A translation mode that determines how the fixed frames of the instrumented method are written.
|
Advice.StackMapFrameHandler.NoOp |
A non-operational stack map frame handler.
|
AsmVisitorWrapper.NoOp |
A class visitor wrapper that does not apply any changes.
|
TypeConstantAdjustment |
This class visitor wrapper ensures that class files of a version previous to Java 5 do not store class entries in the generated class's constant pool.
|
Annotation Type | Description |
---|---|
Advice.AllArguments |
Assigns an array containing all arguments of the instrumented method to the annotated parameter.
|
Advice.Argument |
Indicates that the annotated parameter should be mapped to the parameter with index
Advice.Argument.value() of
the instrumented method. |
Advice.Enter |
Indicates that the annotated parameter should be mapped to the value that is returned by the advice method that is annotated
by
Advice.OnMethodEnter . |
Advice.FieldValue |
Indicates that the annotated parameter should be mapped to a field in the scope of the instrumented method.
|
Advice.OnMethodEnter |
Indicates that this method should be inlined before the matched method is invoked.
|
Advice.OnMethodExit |
Indicates that this method should be executed before exiting the instrumented method.
|
Advice.Origin |
Indicates that the annotated parameter should be mapped to a string representation of the instrumented method,
a constant representing the
Class declaring the adviced method or a Method , Constructor
or java.lang.reflect.Executable representing this method. |
Advice.Return |
Indicates that the annotated parameter should be mapped to the return value of the instrumented method.
|
Advice.StubValue |
Indicates that the annotated parameter should always return a default a boxed version of the instrumented methods return value
(i.e.
|
Advice.This |
Indicates that the annotated parameter should be mapped to the
this reference of the instrumented method. |
Advice.Thrown |
Indicates that the annotated parameter should be mapped to the return value of the instrumented method.
|
Advice.Unused |
Indicates that the annotated parameter should always return a default value (i.e.
|
Copyright © 2014–2017. All rights reserved.