Class ReflectionLocalUtil
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.util.ReflectionLocalUtil
-
public class ReflectionLocalUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReflectionLocalUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
explore(java.lang.String className)
static java.lang.Object
getFieldValue(java.lang.Object source, java.lang.String field)
static java.lang.Boolean
setFieldValue(java.lang.Object source, java.lang.String field, java.lang.Object value)
-
-
-
Method Detail
-
setFieldValue
public static java.lang.Boolean setFieldValue(java.lang.Object source, java.lang.String field, java.lang.Object value) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getFieldValue
public static java.lang.Object getFieldValue(java.lang.Object source, java.lang.String field) throws java.lang.Exception
- Throws:
java.lang.Exception
-
explore
public static void explore(java.lang.String className) throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
-
-