Byte Buddy v1.6.0 Release Notes
Release Date: 2017-01-01 // about 7 years ago-
- โ Added
InjectingClassLoader
with class loading strategy that allows for reflection-free loading. - โ Added proper class loader locking to injection strategy.
- Fixed method lookup to not use declared accessors unless necessary to avoid security manager check.
- โ Added
@SuperMethod
and@DefaultMethod
annotations forMethodDelegation
. - ๐จ Refactored
AsmVisitorWrapper
to accept a list of fields and methods that are intercepted. This allows to use the wrapper also for methods that are overridden. - โ Added a
MethodGraph.Compiler.ForDeclaredMethods
to avoid processing full type hierarchy if only type enhancement should be done without declaring new methods on a type. This should be used in combination withAdvice
instead ofMethodGraph.Empty
as those methods are supplied to the ASM visitor wrappers. - ๐จ Refactored
MethodDelegation
to precompile records for all candidates to avoid duplicate annotation processing.
- โ Added