private static boolean isGetter(final Method method) {
        final String name = method.getName();
        return ((name.length() > 3 && name.startsWith("get")) ||
                (name.length() > 2 && name.startsWith("is"))) &&
                method.getParameterTypes().length == 0;
    }
Given a class return all the property names.
stroom-importexport/stroom-importexport-migration/src/main/java/stroom/importexport/migration/BeanPropertyUtil.java