Implement JavaTypeSubstitutor without PSI