@InterfaceAudience.Private public class Classes extends Object
构造器和说明 |
---|
Classes() |
限定符和类型 | 方法和说明 |
---|---|
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–2022 The Apache Software Foundation. All rights reserved.