void () { if (myKind == null || !(myKind instanceof UnknownLibraryKind)) return; myKind = (PersistentLibraryKind<?>)LibraryKindRegistry.getInstance().findKindById(myKind.getKindId()); Element configuration = ((UnknownLibraryKind.UnknownLibraryProperties)myProperties).getConfiguration(); myProperties = myKind.createDefaultProperties(); if (configuration != null) { ComponentSerializationUtil.loadComponentState(myProperties, configuration); } }