PsiSubstitutor (@NotNull PsiSubstitutor another) { if (another instanceof EmptySubstitutor) { return this; } final PsiSubstitutorImpl anotherImpl = (PsiSubstitutorImpl)another; return putAll(anotherImpl.mySubstitutionMap); }