public String [ ] getMissingIds ( final List < AspectInformation > assignedAspects ) { final Set < AspectInformation > required = new HashSet <> ( ) ; addRequired ( required , this , assignedAspects ) ; return required . stream ( ) . map ( AspectInformation :: getFactoryId ) . toArray ( size -> new String [ size ] ) ; }
Get all aspect ids which are currently missing but required by this aspect