@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.classNameClassNotFoundException - If the requested class can not be found.Copyright © 2014 The Apache Software Foundation. All rights reserved.