utility/src/main/java/io/tracee/contextlogger/utility/reflection/IsGetterMethodPredicate.java
boolean hasReturnValue(final Method method) {
        Class returnType = method.getReturnType();
        return !Void.TYPE.equals(returnType);
    }
boolean hasReturnValue(final Method method) {
        Class returnType = method.getReturnType();
        return !Void.TYPE.equals(returnType);
    }
boolean hasReturnValue ( final Method method ) { Class returnType = method . getReturnType ( ) ; return ! Void . TYPE . equals ( returnType ) ; }
Getter methods must have return type (must not be of type Void)

@param method the method to check
@return true if the method has a return type, otherwise false
Getter methods must have return type ( must not be of type Void )