com.mangofactory.swagger.models
Class Collections

java.lang.Object
  extended by com.mangofactory.swagger.models.Collections

public class Collections
extends java.lang.Object


Constructor Summary
Collections()
           
 
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
 

Constructor Detail

Collections

public Collections()
Method Detail

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)