Class TypeUtil


  • public class TypeUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isIndexedType​(com.fasterxml.jackson.databind.JavaType type)
      Helper method used for figuring out if given raw type is a collection ("indexed") type; in which case a wrapper element is typically added.
      static boolean isIndexedType​(java.lang.Class<?> cls)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TypeUtil

        public TypeUtil()
    • Method Detail

      • isIndexedType

        public static boolean isIndexedType​(com.fasterxml.jackson.databind.JavaType type)
        Helper method used for figuring out if given raw type is a collection ("indexed") type; in which case a wrapper element is typically added.
      • isIndexedType

        public static boolean isIndexedType​(java.lang.Class<?> cls)