SparseAnnotations function ( Map < String , String > arg0 ) { DefaultAnnotations . Builder loc0 = DefaultAnnotations . loc0 ( ) ; arg0 . entrySet ( ) . forEach ( e -> { if ( e . getValue ( ) != null ) { loc0 . set ( e . getKey ( ) , e . getValue ( ) ) ; } else { loc0 . remove ( e . getKey ( ) ) ; } } ) ; return loc0 . build ( ) ; }
converts map of strings to sparseannotations . concode_field_sep Logger log concode_field_sep Map<String,String> asMap concode_elem_sep MastershipRole translate concode_elem_sep org.onosproject.grpc.Device.MastershipRole translate concode_elem_sep DeviceDescription translate concode_elem_sep org.onosproject.grpc.Device.DeviceDescription translate concode_elem_sep Device.Type translate concode_elem_sep DeviceType translate concode_elem_sep PortDescription translate concode_elem_sep org.onosproject.grpc.Port.PortDescription translate concode_elem_sep Port.Type translate concode_elem_sep PortType translate concode_elem_sep PortStatistics translate concode_elem_sep org.onosproject.grpc.Port.PortStatistics translate