public final class TypeBindings extends Object
Modifier and Type | Method and Description |
---|---|
static TypeBindings |
create(Class<?> erasedType,
List<ResolvedType> typeList) |
static TypeBindings |
create(Class<?> erasedType,
ResolvedType[] types) |
static TypeBindings |
emptyBindings() |
boolean |
equals(Object o) |
ResolvedType |
findBoundType(String name) |
String |
getBoundName(int index) |
ResolvedType |
getBoundType(int index) |
List<ResolvedType> |
getTypeParameters() |
int |
hashCode() |
boolean |
isEmpty() |
int |
size() |
String |
toString() |
protected ResolvedType[] |
typeParameterArray() |
TypeBindings |
withAdditionalBinding(String name,
ResolvedType type) |
public static TypeBindings emptyBindings()
public static TypeBindings create(Class<?> erasedType, List<ResolvedType> typeList)
public static TypeBindings create(Class<?> erasedType, ResolvedType[] types)
public TypeBindings withAdditionalBinding(String name, ResolvedType type)
public ResolvedType findBoundType(String name)
public boolean isEmpty()
public int size()
public String getBoundName(int index)
public ResolvedType getBoundType(int index)
public List<ResolvedType> getTypeParameters()
protected ResolvedType[] typeParameterArray()
Copyright © 2014–2015 FasterXML. All rights reserved.