public class TypeUtil extends Object
Constructor and Description |
---|
TypeUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isIndexedType(Class<?> cls) |
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.
|
public static boolean isIndexedType(com.fasterxml.jackson.databind.JavaType type)
public static boolean isIndexedType(Class<?> cls)
Copyright © 2019 FasterXML. All rights reserved.