@ SuppressWarnings ( "unchecked" ) static VisitorStatusType visitList ( String name , List < Object > list , BindMapListener listener , VisitorStatusType status ) { int i = 0 ; for ( Object item : list ) { if ( item == null || item instanceof String ) { visit ( name + "." + i , ( String ) item , listener , status ) ; } else if ( item instanceof List ) { visitList ( name + "." + i , ( List < Object > ) item , listener , status ) ; } else if ( item instanceof Map ) { visitMap ( name + "." + i , ( Map < String , Object > ) item , listener , status ) ; } i ++ ; if ( status == VisitorStatusType . STOP ) return status ; } return status ; }
Visit list .