private void registerStandardEvents() {
        CommonEvents.Descriptors.stopListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.generalLeavingListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.generalListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.leavingListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.presenceListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.strictLeavingListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.strictListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Response.fullResponseListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Response.majorResponseListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Response.minorResponseListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Type.notificationListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Type.responseListener(this).ifPresent(this::registerEventListener);
    }
private void registerStandardEvents() {
        CommonEvents.Descriptors.stopListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.generalLeavingListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.generalListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.leavingListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.presenceListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.strictLeavingListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Presence.strictListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Response.fullResponseListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Response.majorResponseListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Response.minorResponseListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Type.notificationListener(this).ifPresent(this::registerEventListener);
        CommonEvents.Type.responseListener(this).ifPresent(this::registerEventListener);
    }
private void registerStandardEvents ( ) { CommonEvents . Descriptors . stopListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Presence . generalLeavingListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Presence . generalListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Presence . leavingListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Presence . presenceListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Presence . strictLeavingListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Presence . strictListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Response . fullResponseListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Response . majorResponseListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Response . minorResponseListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Type . notificationListener ( this ) . ifPresent ( this :: registerEventListener ) ; CommonEvents . Type . responseListener ( this ) . ifPresent ( this :: registerEventListener ) ; }
registers the standard-events
registers the standard - events