common_helper/src/main/java/com/xiongyingqi/jackson/impl/JavassistFilterPropertyHandler.java
private void processIgnorePropertiesAnnotation(IgnoreProperties properties,
                                                   Map<Class<?>, Collection<String>> pojoAndNamesMap) {
        IgnoreProperty[] values = properties.value();

        AllowProperty[] allowProperties = properties.allow();

        if (allowProperties != null) {
            for (AllowProperty allowProperty : allowProperties) {
                processAllowPropertyAnnotation(allowProperty, pojoAndNamesMap);
            }
        }

        if (values != null) {
            for (IgnoreProperty property : values) {
                processIgnorePropertyAnnotation(property, pojoAndNamesMap);
            }
        }

    }
private void processIgnorePropertiesAnnotation(IgnoreProperties properties,
                                                   Map<Class<?>, Collection<String>> pojoAndNamesMap) {
        IgnoreProperty[] values = properties.value();

        AllowProperty[] allowProperties = properties.allow();

        if (allowProperties != null) {
            for (AllowProperty allowProperty : allowProperties) {
                processAllowPropertyAnnotation(allowProperty, pojoAndNamesMap);
            }
        }

        if (values != null) {
            for (IgnoreProperty property : values) {
                processIgnorePropertyAnnotation(property, pojoAndNamesMap);
            }
        }

    }
private void processIgnorePropertiesAnnotation ( IgnoreProperties properties , Map < Class < ? > , Collection < String > > pojoAndNamesMap ) { IgnoreProperty [ ] values = properties . value ( ) ; AllowProperty [ ] allowProperties = properties . allow ( ) ; if ( allowProperties != null ) { for ( AllowProperty allowProperty : allowProperties ) { processAllowPropertyAnnotation ( allowProperty , pojoAndNamesMap ) ; } } if ( values != null ) { for ( IgnoreProperty property : values ) { processIgnorePropertyAnnotation ( property , pojoAndNamesMap ) ; } } }
处理IgnoreProperties注解 <br>
2013-10-30 下午6:15:41

@param properties
@param pojoAndNamesMap
处理IgnoreProperties注解 <br > 2013 - 10 - 30 下午6 : 15 : 41