Class TypeReferenceFactory

java.lang.Object
com.testdroid.api.util.TypeReferenceFactory

public class TypeReferenceFactory extends Object
Author:
MichaƂ Szpruta <[email protected]>
  • Method Details

    • getTypeRef

      public static <T> com.fasterxml.jackson.core.type.TypeReference<T> getTypeRef(Class<T> clazz)
    • getListTypeRef

      public static <T extends APIEntity> com.fasterxml.jackson.core.type.TypeReference<APIList<T>> getListTypeRef(Class<T> clazz)
    • getSimpleListTypeRef

      public static <T extends APIEntity> com.fasterxml.jackson.core.type.TypeReference<APISimpleList<T>> getSimpleListTypeRef(Class<T> clazz)
    • getMapTypeReference

      public static com.fasterxml.jackson.core.type.TypeReference<Map<String,String>> getMapTypeReference()