| Modifier and Type | Field and Description |
|---|---|
static Map<String,Class<?>> |
primitives |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
directlyImplements(Class<?> cls,
Class<?> interfaceType) |
static boolean |
directlyImplements(Class<?> extendee,
String interfaceTypeName) |
static Class<?> |
forName(String fullName) |
static Class<?> |
forNameElseNull(String fullName) |
static Class<?> |
getBuiltIn(String name) |
static Class<?> |
implementingClassOrNull(String classCandidateName,
Class<?> requiredClass,
Class<?> constructorParamType)
Returns the supplied Class so long as it implements (or is a subclass of)
the required class, and also has either a constructor accepting the
specified param type, or has a no-arg constructor.
|
public static Map<String,Class<?>> primitives
public static Class<?> getBuiltIn(String name)
public static Class<?> implementingClassOrNull(String classCandidateName, Class<?> requiredClass, Class<?> constructorParamType)
public static boolean directlyImplements(Class<?> cls, Class<?> interfaceType)
public static boolean directlyImplements(Class<?> extendee, String interfaceTypeName)
public static Class<?> forNameElseNull(String fullName)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.