public class Utility
extends java.lang.Object
Constructor and Description |
---|
Utility() |
Modifier and Type | Method and Description |
---|---|
static void |
emptyStatement()
Similarly, for situations where an empty statement is required
|
static <T extends java.lang.Throwable & SensibleClone<T>> |
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.
|
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()