question: protected void injectIntoVolumeInformationContainer ( Map < String , StringSet > volumeInformation , String infoKey , String altKey , CIMInstance volumeInstance ) { Object value = getCIMPropertyValue ( volumeInstance , infoKey ) ; if ( null == value ) { value = getCIMPropertyValue ( volumeInstance , altKey ) ; } String charactersticName = SupportedVolumeInformation . getVolumeInformation ( infoKey ) ; if ( null != value && null != charactersticName ) { StringSet valueSet = new StringSet ( ) ; if ( value instanceof String ) { valueSet . add ( value . toString ( ) ) ; } else if ( value instanceof String [ ] ) { valueSet . addAll ( Arrays . asList ( ( String [ ] ) value ) ) ; } volumeInformation . put ( charactersticName , valueSet ) ; } }
target:  Extract value from Provider for given volume info key, and then get its Name and use that to inject to Map.