public class ReflectionUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> java.lang.Class<T> |
getClass(T o)
Return the correctly-typed
Class of the given object. |
static void |
printThreadInfo(java.io.PrintWriter stream,
java.lang.String title)
Print all of the thread's information and stack traces.
|
static void |
setContentionTracing(boolean val) |
public static void setContentionTracing(boolean val)
public static void printThreadInfo(java.io.PrintWriter stream,
java.lang.String title)
stream - the stream totitle - a string title for the stack tracepublic static <T> java.lang.Class<T> getClass(T o)
Class of the given object.o - object whose correctly-typed Class is to be obtainedClass of the given object.