private static <T> Builder<T> of(Type observedType) { if (!Observers.CONTAINER_LIFECYCLE_EVENT_TYPES.contains(Reflections.getRawType(observedType))) { throw WeldSELogger.LOG.observedTypeNotContonainerLifecycleEventType(observedType); } return new Builder<>(observedType); }
private static <T> Builder<T> of(Type observedType) { if (!Observers.CONTAINER_LIFECYCLE_EVENT_TYPES.contains(Reflections.getRawType(observedType))) { throw WeldSELogger.LOG.observedTypeNotContonainerLifecycleEventType(observedType); } return new Builder<>(observedType); }
private static <T> Builder<T> of(Type observedType) { if (!Observers.CONTAINER_LIFECYCLE_EVENT_TYPES.contains(Reflections.getRawType(observedType))) { throw WeldSELogger.LOG.observedTypeNotContonainerLifecycleEventType(observedType); } return new Builder<>(observedType); }