Static Public Member Functions | |
| static String | dumpObjectAsString (Object o, boolean showInterfaces, boolean showConstructors, boolean showFields, boolean getFields, boolean showMethods, boolean getMethodsJava, boolean getMethodsNext) throws IOException |
Private Member Functions | |
| _NSObjectUtilities () | |
| _NSObjectUtilities | ( | ) | [private] |
| static String dumpObjectAsString | ( | Object | o, | |
| boolean | showInterfaces, | |||
| boolean | showConstructors, | |||
| boolean | showFields, | |||
| boolean | getFields, | |||
| boolean | showMethods, | |||
| boolean | getMethodsJava, | |||
| boolean | getMethodsNext | |||
| ) | throws IOException [static] |
These methods will eventually do an exhaustive dump of the Object in question using Reflection APIs. This is very slow, and outputs fully qualified _everything_. These are considered private API, even though they are publicly visible. Also note that this may alter the state of the object to be dumped - it is _not_ garanteed to be free of side-effects. showInterfaces - will show implemented interfaces showConstructors - will show available constructors showFields - will show ivars getFields - will attempt to get ivar values (only if showFields) showMethods - will show method signatures getMethodsJava - will attempt to invoke all methods starting with "get" and taking no arguments (only if showMethods) getMethodsNext - will attempt to invoke all methods with the same name as an ivar (ignoring starting '_') and taking no arguments (only if showMethods)
1.5.8