JpsLibraryRootTypeSerializer (String typeId) { for (JpsLibraryRootTypeSerializer serializer : PREDEFINED_ROOT_TYPE_SERIALIZERS) { if (serializer.getTypeId().equals(typeId)) { return serializer; } } for (JpsModelSerializerExtension extension : JpsModelSerializerExtension.getExtensions()) { for (JpsLibraryRootTypeSerializer serializer : extension.getSdkRootTypeSerializers()) { if (serializer.getTypeId().equals(typeId)) { return serializer; } } } return null; }