question: public static boolean isDtoGetter ( Method method ) { if ( method . isAnnotationPresent ( DelegateTo . class ) ) { return false ; } if ( method . getParameterTypes ( ) . length > 0 ) { return false ; } String methodName = method . getName ( ) ; return methodName . startsWith ( "get" ) || ( methodName . startsWith ( "is" ) && ( ( method . getReturnType ( ) == Boolean . class || method . getReturnType ( ) == boolean . class ) ) ) ; }
target:  Check is specified method is DTO getter.