abbot
Class Reflector
java.lang.Object
|
+--abbot.Reflector
- public class Reflector
- extends Object
Utility for performing some common reflection tasks.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFieldName
public static String getFieldName(Class cls,
int value,
String prefix)
- Convert the value back into a field name.
getFieldValue
public static int getFieldValue(Class cls,
String fieldName)
- Look up the given static field value.
Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on