DClassElement (Project project, String className) { DClassElement classElement = DynamicManager.getInstance(myProject).getRootElement().getClassElement(className); if (classElement == null) { return new DClassElement(project, className); } return classElement; }