@Nullable
    private static TransportType findOrNull(EventLoopGroup eventLoopGroup) {
        final Class<? extends EventLoopGroup> eventLoopGroupType = eventLoopGroup.getClass();
        for (TransportType type : values()) {
            if (type.isAvailable() &&
                (type.provider.eventLoopGroupType().isAssignableFrom(eventLoopGroupType) ||
                 type.provider.eventLoopType().isAssignableFrom(eventLoopGroupType))) {
                return type;
            }
        }
        return null;
    }
Returns whether the specified {@link EventLoopGroup} is supported by any of the currently available
{@link TransportType}s.
core/src/main/java/com/linecorp/armeria/common/util/TransportType.java