public class ReflectionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static <T> Class<T> |
getClass(T o)
Return the correctly-typed
Class of the given object. |
static void |
printThreadInfo(PrintWriter stream,
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(PrintWriter stream, String title)
stream
- the stream totitle
- a string title for the stack traceCopyright © 2017. All rights reserved.