public class ByteBuddyGroovyInterceptor extends ByteBuddyInterceptor
A ByteBuddy interceptor that avoids initializing the proxy for Groovy-specific methods. Mirrors the Hibernate 7 implementation in grails-data-hibernate7.
| Constructor and description |
|---|
ByteBuddyGroovyInterceptor(java.lang.String entityName, java.lang.Class<?> persistentClass, java.lang.Class<?>[] interfaces, java.io.Serializable id, java.lang.reflect.Method getIdentifierMethod, java.lang.reflect.Method setIdentifierMethod, CompositeType componentIdType, SharedSessionContractImplementor session, boolean overridesEquals, boolean lazyToString) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.lang.Object |
intercept(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) |