com.mangofactory.swagger.models
Class ModelContext
java.lang.Object
com.mangofactory.swagger.models.ModelContext
public class ModelContext
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getType
public java.lang.reflect.Type getType()
resolvedType
public com.fasterxml.classmate.ResolvedType resolvedType(com.fasterxml.classmate.TypeResolver resolver)
isReturnType
public boolean isReturnType()
inputParam
public static ModelContext inputParam(java.lang.reflect.Type type)
returnValue
public static ModelContext returnValue(java.lang.reflect.Type type)
fromParent
public static ModelContext fromParent(ModelContext context,
com.fasterxml.classmate.ResolvedType input)
hasSeenBefore
public boolean hasSeenBefore(com.fasterxml.classmate.ResolvedType resolvedType)
seen
public void seen(com.fasterxml.classmate.ResolvedType resolvedType)