If it does not allow deleting the development class individually, delete all the objects inside one by one. For the contained Function Group please make sure to delete it in one go and do not delete the Function Group's Function Modules individually. Once all objects have been removed, delete the development class itself.