question: public Capabilities modifyCapabilities ( Capabilities capabilities ) { Capabilities modifiedCapabilities = capabilities ; for ( CapabilitiesModifier modifier : capabilitiesModifiers ) { modifiedCapabilities = modifier . modify ( capabilities ) ; } return modifiedCapabilities ; }
target:  Modifies provided Capabilities with registered set of modifiers.