* @return The component described by the componentData, or null if it couldn't be deserialized
*/
public Component deserialize(EntityData.Component componentData, Module context) {
ComponentMetadata<? extends Component> componentMetadata = getComponentMetadata(componentData, context);
if (componentMetadata != null) {
Component component = componentMetadata.newInstance();
return deserializeOnto(component, componentData, componentMetadata, FieldSerializeCheck.NullCheck.<Component>newInstance());
} else {
logger.warn("Unable to deserialize unknown component type: {}", componentData.getType());
}
return null;