Interface ManagedTypeHelper.PersistentAttributeInterceptableAction<T>

Enclosing class:
ManagedTypeHelper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ManagedTypeHelper.PersistentAttributeInterceptableAction<T>
This interface has been introduced to mitigate JDK-8180450.
Sadly, using BiConsumer will trigger a type pollution issue because of generics type-erasure: BiConsumer's actual parameters types on the lambda implemention's BiConsumer.accept(T, U) are stealthy enforced via checkcast, messing up with type check cached data.