diff --git a/src/main/java/net/helenus/core/reflect/MapperInvocationHandler.java b/src/main/java/net/helenus/core/reflect/MapperInvocationHandler.java index 1c6a166..08656b5 100644 --- a/src/main/java/net/helenus/core/reflect/MapperInvocationHandler.java +++ b/src/main/java/net/helenus/core/reflect/MapperInvocationHandler.java @@ -62,7 +62,7 @@ public class MapperInvocationHandler implements InvocationHandler, Serializab public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { // Transient, default methods should simply be invoked as-is. - if (method.isDefault() && method.getDeclaredAnnotation(Transient.class) == null) { + if (method.isDefault() && method.getDeclaredAnnotation(Transient.class) != null) { return invokeDefault(proxy, method, args); }