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)