public class ReflectionUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
decorateInstance(Class clazz,
Class rootType,
Object root) |
static Object |
decorateInstance(String className,
Class rootType,
Object root) |
static Class |
forName(String name) |
protected static Class |
forNamePrimitive(String name) |
protected static String |
paramString(Class[] types) |
static Class[] |
toTypeArray(String[] s)
Converts an array of Class names to Class types
|
static String[] |
toTypeNameArray(Class[] c)
Converts an array of Class types to Class names
|
public static Class forName(String name) throws ClassNotFoundException
ClassNotFoundException
public static Class[] toTypeArray(String[] s) throws ClassNotFoundException
s
- the array of class names.ClassNotFoundException
public static String[] toTypeNameArray(Class[] c)
c
- the array of classes.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.