more javadocs for CharArrayExternalizable and CharSequenceBackedByArray
remove duplication
extract ReplacementUtil for igg and ipp to remove duplication
trivial if inspection merged with trivial if predicate; fix comments again (IDEA-114798)