protected void mergeHardcodedResultsFrom ( Configuration otherConfiguration ) { Map < Dotted , AnalysisResult > resultsMap = hardcodedResults . build ( ) . stream ( ) . collect ( Collectors . toMap ( r -> r . className , r -> r ) ) ; resultsMap . putAll ( otherConfiguration . hardcodedResults ( ) ) ; hardcodedResults = ImmutableSet . < AnalysisResult > builder ( ) . addAll ( resultsMap . values ( ) ) ; }
Merges the hardcoded results of this Configuration with the given Configuration .