class NotificationBadgeDecorator extends HaloNotificationDecorator {

    @Override
    public NotificationCompat.Builder decorate(@NonNull NotificationCompat.Builder builder, @NonNull Bundle bundle) {
        String badge = bundle.getString("badge");
        if (!TextUtils.isEmpty(badge)) {
            try {
                int badgeNumber = Integer.parseInt(badge);
                builder.setNumber(badgeNumber);
            } catch (NumberFormatException e) {
                Halog.e(getClass(), "The badge field on the notification is not a number");
            }
        }
        return chain(builder, bundle);
    }

    public  NotificationBadgeDecorator(HaloNotificationDecorator decorator);

}