@ SuppressWarnings ( "unchecked" ) public static < T > T fromMap ( Map < String , Object > map , Class < T > clazz , String ... excludeProperties ) { Set < String > ignoreProps = excludeProperties . length > 0 ? Sets . set ( excludeProperties ) : null ; return new MapperComplex ( FieldAccessMode . FIELD_THEN_PROPERTY . create ( false ) , ignoreProps , null , true ) . fromMap ( map , clazz ) ; }
fromMap converts a map into a java object .