Skip navigation links

Package net.bytebuddy.instrumentation

The instrumentation package contains any logic for intercepting method calls.

See: Description

Package net.bytebuddy.instrumentation Description

The instrumentation package contains any logic for intercepting method calls. The following instrumentations ship with Byte Buddy:
  1. ExceptionMethod: This interception allows to throw Throwable instances on a method call.
  2. FieldAccessor: A field accessor allows to read or write a class's field value according to the Java bean specification, i.e. implements setter and getter methods.
  3. InvocationHandlerAdapter: An adapter for instrumenting methods by delegating method calls to a InvocationHandler which is already used for Java proxies.
  4. MethodDelegation: Allows to delegate a method call to either a static or to an instance method. The method delegation is determined by annotations on the target method.
  5. StubMethod: A stub method overrides a method by an empty implementation that only returns the method's return type's default value.
  6. SuperMethodCall: This instrumentation calls a method's super implementation. This instrumentation is handy when annotations should be added to a method without changing the method's implementation.
Skip navigation links

Copyright © 2014–2015. All rights reserved.