There's a helper method in CraftEventFactory to save you some steps here - simply use 
````return callEvent(new EntitySpawnEvent((org.bukkit.entity.Entity) entity.getBukkitEntity(), spawnReason));```

Saves you about 5 lines of code.