default T get(){ Object gettable = unwrap(); if(gettable instanceof Supplier) return ((Supplier<T>)gettable).get(); if(gettable instanceof Callable){ try { return ((Callable<T>)gettable).call(); } catch (Exception e) { ExceptionSoftener.throwSoftenedException(e); } } return new InvokeDynamic().<T>supplier(gettable,getSupplierMethodNames()).get(); } }
default T get(){ Object gettable = unwrap(); if(gettable instanceof Supplier) return ((Supplier<T>)gettable).get(); if(gettable instanceof Callable){ try { return ((Callable<T>)gettable).call(); } catch (Exception e) { ExceptionSoftener.singleton.factory.getInstance().throwSoftenedException(e); } } return new InvokeDynamic().<T>supplier(gettable,getSupplierMethodNames()).get(); } }