Package ch.kk7.confij.binding.intf
Class DefaultMethodHandler
- java.lang.Object
-
- ch.kk7.confij.binding.intf.DefaultMethodHandler
-
public class DefaultMethodHandler extends java.lang.Objectinvoke default methods on interfaces. inspired by: https://blog.jooq.org/2018/03/28/correct-reflective-access-to-interface-default-methods-in-java-8-9-10/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classDefaultMethodHandler.DefaultMethodException
-
Constructor Summary
Constructors Constructor Description DefaultMethodHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectinvokeDefaultMethod(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
-
-
-
Method Detail
-
invokeDefaultMethod
public java.lang.Object invokeDefaultMethod(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws DefaultMethodHandler.DefaultMethodException
-
-