Implementation.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | SuperMethodCall.Appender
An appender for implementing a |
| protected static enum | SuperMethodCall.WithoutReturn
A super method invocation where the return value is dropped instead of returning from the method. |
| Modifier and Type | Field and Description |
|---|---|
| public static final SuperMethodCall | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Implementation | andThen(Implementation
The subsequent implementation. implementation)Implements net. |
| public Implementation. | andThen(Implementation.
The subsequent composable implementation. implementationImplements net. |
| public ByteCodeAppender | appender(Implementation.
The target of the current implementation. implementationTargetImplements net. |
| public InstrumentedType | prepare(InstrumentedType
The instrumented type in its current form. instrumentedType)Implements net. |
| public static SuperMethodCall | |
| public static SuperMethodCall[] |
| INSTANCE | back to summary |
|---|---|
| public static final SuperMethodCall INSTANCE The singleton instance. | |
| SuperMethodCall | back to summary |
|---|---|
| private SuperMethodCall() | |
| andThen | back to summary |
|---|---|
| public Implementation andThen(Implementation implementation) Implements net. Doc from net. Appends the supplied implementation to this implementation.
| |
| andThen | back to summary |
|---|---|
| public Implementation. Implements net. Doc from net. Appends the supplied composable implementation to this implementation.
| |
| appender | back to summary |
|---|---|
| public ByteCodeAppender appender(Implementation. Implements net. Doc from net. Creates a byte code appender that determines the implementation of the instrumented type's methods.
| |
| prepare | back to summary |
|---|---|
| public InstrumentedType prepare(InstrumentedType instrumentedType) Implements net. Doc from net. Prepares a given instrumented type.
| |
| valueOf | back to summary |
|---|---|
| public static SuperMethodCall valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SuperMethodCall[] values() | |
net.bytebuddy.implementation.SuperMethodCall .
| Modifier and Type | Class and Description |
|---|---|
| protected static enum | SuperMethodCall.Appender.TerminationHandler
A handler that determines how to handle the method return value. |
| Modifier and Type | Field and Description |
|---|---|
| private final Implementation. | implementationTarget
The target of the current implementation. |
| private final SuperMethodCall. | terminationHandler
The termination handler to apply after invoking the super method. |
| Access | Constructor and Description |
|---|---|
| protected | Appender(Implementation.
The implementation target of the current type creation. implementationTarget,The termination handler to apply after invoking the super method. terminationHandlerCreates a new appender. |
| Modifier and Type | Method and Description |
|---|---|
| public ByteCodeAppender. | apply(MethodVisitor
The method visitor to which the byte code appender writes its code to. methodVisitor, Implementation.The implementation context of the current type creation process. implementationContext,The method that is the target of the instrumentation. instrumentedMethod)Implements net. |
| implementationTarget | back to summary |
|---|---|
| private final Implementation. The target of the current implementation. | |
| terminationHandler | back to summary |
|---|---|
| private final SuperMethodCall. The termination handler to apply after invoking the super method. | |
| Appender | back to summary |
|---|---|
| protected Appender(Implementation. Creates a new appender.
| |
| apply | back to summary |
|---|---|
| public ByteCodeAppender. Implements net. Doc from net. Applies this byte code appender to a type creation process.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final SuperMethodCall. | DROPPING
A termination handler that simply pops the value of the super method invocation off the stack. |
| public static final SuperMethodCall. | RETURNING
A termination handler that returns the value of the super method invocation. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract StackManipulation | Returns: The stack manipulation that implements this handler.The method for which this handler is supposed to create a stack
manipulation for. methodDescription)Creates a stack manipulation that represents this handler's behavior. |
| public static SuperMethodCall. | |
| public static SuperMethodCall. |
| DROPPING | back to summary |
|---|---|
| public static final SuperMethodCall. A termination handler that simply pops the value of the super method invocation off the stack. | |
| RETURNING | back to summary |
|---|---|
| public static final SuperMethodCall. A termination handler that returns the value of the super method invocation. | |
| TerminationHandler | back to summary |
|---|---|
| private TerminationHandler() | |
| of | back to summary |
|---|---|
| protected abstract StackManipulation of(MethodDescription methodDescription) Creates a stack manipulation that represents this handler's behavior.
| |
| valueOf | back to summary |
|---|---|
| public static SuperMethodCall. | |
| values | back to summary |
|---|---|
| public static SuperMethodCall. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final SuperMethodCall. | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public ByteCodeAppender | appender(Implementation.
The target of the current implementation. implementationTargetImplements net. |
| public InstrumentedType | prepare(InstrumentedType
The instrumented type in its current form. instrumentedType)Implements net. |
| public static SuperMethodCall. | |
| public static SuperMethodCall. |
| INSTANCE | back to summary |
|---|---|
| public static final SuperMethodCall. The singleton instance. | |
| WithoutReturn | back to summary |
|---|---|
| private WithoutReturn() | |
| appender | back to summary |
|---|---|
| public ByteCodeAppender appender(Implementation. Implements net. Doc from net. Creates a byte code appender that determines the implementation of the instrumented type's methods.
| |
| prepare | back to summary |
|---|---|
| public InstrumentedType prepare(InstrumentedType instrumentedType) Implements net. Doc from net. Prepares a given instrumented type.
| |
| valueOf | back to summary |
|---|---|
| public static SuperMethodCall. | |
| values | back to summary |
|---|---|
| public static SuperMethodCall. | |