|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rabbitmq.utility.Utility
public class Utility
Catch-all holder class for static helper methods.
Constructor Summary | |
---|---|
Utility()
|
Method Summary | ||
---|---|---|
static void |
emptyStatement()
Similarly, for situations where an empty statement is required |
|
static
|
fixStackTrace(T throwable)
|
|
static java.lang.String |
makeStackTrace(java.lang.Throwable throwable)
|
|
static void |
use(java.lang.Object value)
Used to indicate that we are not, in fact, using a variable, also to silence compiler warnings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Utility()
Method Detail |
---|
public static <T extends java.lang.Throwable & SensibleClone<T>> T fixStackTrace(T throwable)
public static java.lang.String makeStackTrace(java.lang.Throwable throwable)
public static void use(java.lang.Object value)
value
- the object we're pretending to usepublic static void emptyStatement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |