private static boolean isSetter(final Method method) {
        final String name = method.getName();
        return name.length() > 3 && name.startsWith("set") && method.getParameterTypes().length == 1;
    }
Given a class return all the property names.
stroom-legacy/stroom-legacy-impex_6_1/src/main/java/stroom/legacy/impex_6_1/BeanPropertyUtil.java