|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbyucc.jhdl.apps.util.Reflection
Class to assist in the some of the reflection work done by classes such as Stimulator and DynamicTestBench
| Constructor Summary | |
Reflection()
|
|
| Method Summary | |
static java.lang.Object |
instancePrimitive(java.lang.Class type,
java.lang.String value)
Determines if the given class is of any of the Java primitive types (boolean, int, long, etc.) and attempts to instance a representative object (Boolean, Integer, Long, etc.) based on the value given. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Reflection()
| Method Detail |
public static java.lang.Object instancePrimitive(java.lang.Class type,
java.lang.String value)
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.reflect.InvocationTargetException
type - the class of the primitive to instancevalue - the value to give to the new instance
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.reflect.InvocationTargetException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||