PsiClass (PsiClass clazz, Language language) { //if (clazz.getLanguage().equals(language)) { // return clazz; //} //PsiClass newClass = JVMElementFactories.getFactory(language, clazz.getProject()).createClass(clazz.getName()); return clazz; }