public final class ReflectUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
constructArrayType(Class<?> cls) |
static Method |
findMethod(Class<?> cls,
String methodName) |
static Class<?> |
getClassByName(String clsName) |
static <T> Class<T> |
getFieldArgument(Class<?> genericCls,
String fieldName) |
static void |
setField(Class<?> cls,
Object instance,
String fieldName,
Object value) |
static void |
setField(Object instance,
String fieldName,
Object value) |
public static <T> T constructArrayType(Class<?> cls)
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.