Package com.tick42.glue.core

# Interface ReifiedType<T>

Type Parameters:
  `T` - the type of reified type

All Known Implementing Classes:
  `ReifiedType.Capture`

    public interface ReifiedType<T>

Utility to capture generic types.

Instances are created with (usually anonymous) sub-classing `ReifiedType.Capture`:

           new ReifiedType.Capture<Map<String, Object>>() {}

For non-parameterized types there is convenience `of(Class)` method that can be used:

           ReifiedType.of(String.class)

- ## Nested Class Summary

  Nested Classes
  Modifier and Type | Interface | Description
  --- | --- | ---
  `static class` | `ReifiedType.Capture<T>` | Capture a generic type using (usually anonymous) sub-classing.

- ## Field Summary

  Fields
  Modifier and Type | Field | Description
  --- | --- | ---
  `static ReifiedType<Map<String,​Object>>` | `OBJECT_MAP` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `default Class<?>` | `getRawType()` |
  `Type` | `getType()` |
  `default boolean` | `isSubTypeOf​(Class<?> type)` |
  `default boolean` | `isSuperTypeOf​(Class<?> type)` |
  `static <T> ReifiedType<T>` | `of​(Class<T> type)` |
  `static ReifiedType<?>` | `of​(Type type)` |

- ## Field Details

  - ### OBJECT_MAP

    static final ReifiedType<Map<String,​Object>> OBJECT_MAP

- ## Method Details

  - ### of

    static <T> ReifiedType<T> of​(Class<T> type)

  - ### of

    static ReifiedType<?> of​(Type type)

  - ### isSuperTypeOf

    default boolean isSuperTypeOf​(Class<?> type)

  - ### isSubTypeOf

    default boolean isSubTypeOf​(Class<?> type)

  - ### getType

    Type getType()

  - ### getRawType

    default Class<?> getRawType()