private static Type mapType()

in geronimo-openapi-impl/src/main/java/org/apache/geronimo/microprofile/openapi/impl/model/codec/Deserializers.java [40:59]


    private static Type mapType(final Class<?> value) {
        final Type[] args = new Type[] { String.class, value };
        return new ParameterizedType() {

            @Override
            public Type[] getActualTypeArguments() {
                return args;
            }

            @Override
            public Type getRawType() {
                return Map.class;
            }

            @Override
            public Type getOwnerType() {
                return null;
            };
        };
    }