public class

Utility

extends Object
java.lang.Object
   ↳ com.rabbitmq.utility.Utility

Class Overview

Catch-all holder class for static helper methods.

Summary

Public Constructors
Utility()
Public Methods
static void emptyStatement()
Similarly, for situations where an empty statement is required
static <T extends Throwable & SensibleClone<T>> T fixStackTrace(T throwable)
static String makeStackTrace(Throwable throwable)
static void use(Object value)
Used to indicate that we are not, in fact, using a variable, also to silence compiler warnings.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Utility ()

Public Methods

public static void emptyStatement ()

Similarly, for situations where an empty statement is required

public static T fixStackTrace (T throwable)

public static String makeStackTrace (Throwable throwable)

public static void use (Object value)

Used to indicate that we are not, in fact, using a variable, also to silence compiler warnings.

Parameters
value the object we're pretending to use