public static List<String> getFieldFromGetter(Class clazz) {
        List<String> rst = new ArrayList<String>();
        Method[] methods = clazz.getDeclaredMethods();
        for (Method method : methods) {
            String name = method.getName();
            if (name.startsWith("get") || name.startsWith("is") || Modifier.isPublic(method.getModifiers()) && !method.getReturnType().equals(Void.TYPE) &&
                    !method.isVarArgs()) {
                if (name.startsWith("get")) {
                    rst.add(StringUtils.uncapitalize(name.substring(3)));
                } else {
                    rst.add(StringUtils.uncapitalize(name.substring(2)));
                }
            }
        }

        if (!rst.isEmpty()) {
            Collections.sort(rst, new Comparator<String>() {
                public int compare(String o1, String o2) {
                    return o1.compareTo(o2);
                }
            });
        }

        return rst;
    }