public class ReflectionUtils extends Object
ReflectionUtils
is in the
xerces package and not in the org.eclipse.lemminx.utils package.Constructor and Description |
---|
ReflectionUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
getFieldValue(Object instance,
String name)
Returns the field value of the given instance and field name.
|
public static <T> T getFieldValue(Object instance, String name) throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
T
- the field value type.instance
- the instance.name
- the field name.NoSuchFieldException
SecurityException
IllegalArgumentException
IllegalAccessException
Copyright © 2022. All rights reserved.