@InterfaceAudience.Private public class Classes extends Object
Constructor and Description |
---|
Classes() |
Modifier and Type | Method and Description |
---|---|
static Class<?> |
extendedForName(String className)
Equivalent of
Class.forName(String) which also returns classes for
primitives like boolean , etc. |
static String |
stringify(Class[] classes) |
public static Class<?> extendedForName(String className) throws ClassNotFoundException
Class.forName(String)
which also returns classes for
primitives like boolean
, etc.className
- The name of the class to retrieve. Can be either a normal class or
a primitive class.className
ClassNotFoundException
- If the requested class can not be found.Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.