Package randoop.reflection
Class TypeNames
- java.lang.Object
-
- randoop.reflection.TypeNames
-
-
Constructor Summary
Constructors Constructor Description TypeNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Class<?>
getTypeForName(@ClassGetName String typeName)
ReturnsClass
object for a fully-qualified class name or primitive type name.
-
-
-
Method Detail
-
getTypeForName
public static Class<?> getTypeForName(@ClassGetName String typeName) throws ClassNotFoundException
ReturnsClass
object for a fully-qualified class name or primitive type name.- Parameters:
typeName
- a fully-qualified class name or primitive type name- Returns:
Class
object for type given in string- Throws:
ClassNotFoundException
- if string is not a recognized type
-
-