void (@NotNull State state) { XmlSerializerUtil.copyBean(state, this.state); FileTemplatesScheme scheme = myProjectScheme != null && myProjectScheme.getName().equals(state.SCHEME) ? myProjectScheme : FileTemplatesScheme.DEFAULT; setScheme(scheme); }