public Map<String, FieldSetterInfo> getFiledSetterInfos() {

        Map<String, FieldSetterInfo> map = new HashMap<String, FieldSetterInfo>();

        for (Field field : clazz.getFields()) {
            if (Modifier.isStatic(field.getModifiers())) {
                continue;
            }

            if (Modifier.isFinal(field.getModifiers())) {
                continue;
            }

            if (!Modifier.isPublic(field.getModifiers())) {
                continue;
            }
            String propertyName = field.getName();

            // 如果已经暴露了方法,那么就不使用属性设置
            if (this.methodSetterInfos.containsKey(propertyName)) {
                continue;
            }
            map.put(propertyName, new FieldSetterInfo(propertyName, field));
        }
        return map;
    }
public Map < String , FieldSetterInfo > getFiledSetterInfos ( ) { Map < String , FieldSetterInfo > map = new HashMap < String , FieldSetterInfo > ( ) ; for ( Field field : clazz . getFields ( ) ) { if ( Modifier . isStatic ( field . getModifiers ( ) ) ) { continue ; } if ( Modifier . isFinal ( field . getModifiers ( ) ) ) { continue ; } if ( ! Modifier . isPublic ( field . getModifiers ( ) ) ) { continue ; } String propertyName = field . getName ( ) ; if ( this . methodSetterInfos . containsKey ( propertyName ) ) { continue ; } map . put ( propertyName , new FieldSetterInfo ( propertyName , field ) ) ; } return map ; }
返回所有的public方法