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