@InterfaceAudience.Private public class Classes extends Object
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–2018 The Apache Software Foundation. All rights reserved.