@Test public void testMapTypeFor() { final ParameterizedType mapType = Types.mapTypeFor(Types.objectType(), Types.objectType()); assertEquals("Map", mapType.getName()); }
public static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType) { return parameterizedTypeFor(MAP_TYPE, keyType, valueType); }
Types { public static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType) { return parameterizedTypeFor(MAP_TYPE, keyType, valueType); } }
Types { public static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType) { return parameterizedTypeFor(MAP_TYPE, keyType, valueType); } private  Types(); }
Types { public static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType) { return parameterizedTypeFor(MAP_TYPE, keyType, valueType); } private  Types(); static @NonNull ParameterizedType classType(final Type type); static @NonNull ConcreteType voidType(); static @NonNull ConcreteType objectType(); static @NonNull ConcreteType primitiveBooleanType(); static @NonNull ConcreteType primitiveIntType(); static @NonNull ConcreteType primitiveVoidType(); static @NonNull ConcreteType serializableType(); static @NonNull ConcreteType typeForClass(final @NonNull Class<?> cls); static @NonNull ConcreteType typeForClass(final @NonNull Class<?> cls,
            final @Nullable Restrictions restrictions); @Beta static @NonNull ConcreteType restrictedType(final Type type, final @NonNull Restrictions restrictions); static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType); static boolean isMapType(final ParameterizedType type); static boolean isMapType(final Type type); static @NonNull ParameterizedType setTypeFor(final Type valueType); static @NonNull ParameterizedType listTypeFor(final Type valueType); static boolean isListType(final ParameterizedType type); static boolean isListType(final Type type); static @NonNull ParameterizedType listenableFutureTypeFor(final Type valueType); static @NonNull ParameterizedType builderTypeFor(final Type valueType); static @NonNull ParameterizedType parameterizedTypeFor(final Type type, final Type... parameters); static WildcardType wildcardTypeFor(final JavaTypeName identifier); static @Nullable String getOuterClassName(final Type valueType); static DefaultRestrictions<T> getDefaultRestrictions(final T min,
            final T max); }
Types { public static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType) { return parameterizedTypeFor(MAP_TYPE, keyType, valueType); } private  Types(); static @NonNull ParameterizedType classType(final Type type); static @NonNull ConcreteType voidType(); static @NonNull ConcreteType objectType(); static @NonNull ConcreteType primitiveBooleanType(); static @NonNull ConcreteType primitiveIntType(); static @NonNull ConcreteType primitiveVoidType(); static @NonNull ConcreteType serializableType(); static @NonNull ConcreteType typeForClass(final @NonNull Class<?> cls); static @NonNull ConcreteType typeForClass(final @NonNull Class<?> cls,
            final @Nullable Restrictions restrictions); @Beta static @NonNull ConcreteType restrictedType(final Type type, final @NonNull Restrictions restrictions); static @NonNull ParameterizedType mapTypeFor(final Type keyType, final Type valueType); static boolean isMapType(final ParameterizedType type); static boolean isMapType(final Type type); static @NonNull ParameterizedType setTypeFor(final Type valueType); static @NonNull ParameterizedType listTypeFor(final Type valueType); static boolean isListType(final ParameterizedType type); static boolean isListType(final Type type); static @NonNull ParameterizedType listenableFutureTypeFor(final Type valueType); static @NonNull ParameterizedType builderTypeFor(final Type valueType); static @NonNull ParameterizedType parameterizedTypeFor(final Type type, final Type... parameters); static WildcardType wildcardTypeFor(final JavaTypeName identifier); static @Nullable String getOuterClassName(final Type valueType); static DefaultRestrictions<T> getDefaultRestrictions(final T min,
            final T max); static final @NonNull ConcreteType BOOLEAN; static final @NonNull ConcreteType STRING; static final @NonNull ConcreteType VOID; static final @NonNull ConcreteType BYTE_ARRAY; static final @NonNull ConcreteType CLASS; }