public class CastClassManager extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addCastClass(GenericClass clazz,
int depth) |
void |
addCastClass(String className,
int depth) |
void |
addCastClass(Type type,
int depth) |
void |
clear() |
Set<GenericClass> |
getCastClasses() |
static CastClassManager |
getInstance() |
boolean |
hasClass(String className) |
GenericClass |
selectCastClass() |
GenericClass |
selectCastClass(TypeVariable<?> typeVariable,
boolean allowRecursion,
Map<TypeVariable<?>,Type> ownerVariableMap) |
GenericClass |
selectCastClass(WildcardType wildcardType,
boolean allowRecursion,
Map<TypeVariable<?>,Type> ownerVariableMap) |
static GenericClass |
selectClass(List<GenericClass> candidates) |
static List<GenericClass> |
sortByValue(Map<GenericClass,Integer> map) |
public static List<GenericClass> sortByValue(Map<GenericClass,Integer> map)
public static GenericClass selectClass(List<GenericClass> candidates)
public static CastClassManager getInstance()
public void addCastClass(String className, int depth)
public void addCastClass(Type type, int depth)
public void addCastClass(GenericClass clazz, int depth)
public GenericClass selectCastClass()
public GenericClass selectCastClass(TypeVariable<?> typeVariable, boolean allowRecursion, Map<TypeVariable<?>,Type> ownerVariableMap)
public GenericClass selectCastClass(WildcardType wildcardType, boolean allowRecursion, Map<TypeVariable<?>,Type> ownerVariableMap) throws ConstructionFailedException
ConstructionFailedExceptionpublic boolean hasClass(String className)
public Set<GenericClass> getCastClasses()
public void clear()
Copyright © 2010–2017 EvoSuite. All rights reserved.