/super-csv/src/main/java/org/supercsv/util/ReflectionUtils.java
if ( !getterName.equalsIgnoreCase ( method.getName ( ) ) || method.getParameterTypes ( ) .length != 0 || method.getReturnType ( ) .equals ( void.class ) ) { continue; }
} return getter; } private static Method findGetterWithCompatibleReturnType(final String getterName, final Class<?> clazz, final boolean enforceBooleanReturnType) { for( final Method method : clazz.getMethods() ) { <extra_id_0> if( !enforceBooleanReturnType || boolean.class.equals(method.getReturnType()) || Boolean.class.equals(method.getReturnType()) ) { return method; } } return null;