com.mangofactory.swagger.models
Class Collections
java.lang.Object
com.mangofactory.swagger.models.Collections
public class Collections
- extends java.lang.Object
|
Method Summary |
static com.fasterxml.classmate.ResolvedType |
collectionElementType(com.fasterxml.classmate.ResolvedType type)
|
static java.lang.String |
containerType(com.fasterxml.classmate.ResolvedType type)
|
static
<T extends java.util.Collection>
com.fasterxml.classmate.ResolvedType |
|
elementType(com.fasterxml.classmate.ResolvedType container,
java.lang.Class<T> collectionType)
|
static boolean |
isContainerType(com.fasterxml.classmate.ResolvedType type)
|
static java.lang.String |
propertyContainerType(com.fasterxml.classmate.ResolvedType type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Collections
public Collections()
elementType
public static <T extends java.util.Collection> com.fasterxml.classmate.ResolvedType elementType(com.fasterxml.classmate.ResolvedType container,
java.lang.Class<T> collectionType)
collectionElementType
public static com.fasterxml.classmate.ResolvedType collectionElementType(com.fasterxml.classmate.ResolvedType type)
isContainerType
public static boolean isContainerType(com.fasterxml.classmate.ResolvedType type)
containerType
public static java.lang.String containerType(com.fasterxml.classmate.ResolvedType type)
propertyContainerType
public static java.lang.String propertyContainerType(com.fasterxml.classmate.ResolvedType type)