TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.core.util
Class Noop

java.lang.Object
  extended by org.eclipse.hyades.execution.core.util.Noop

public final class Noop
extends java.lang.Object

A no operation class that has specific none run-time functional uses. It is mainly used as compiler time to eliminate warnings or debug time to add breakpoints in empty methods.


Method Summary
static void noop()
          A none operation, usually called in debug situations
static void sink(long longA)
          A sink method, allows long to be referenced and therefore eliminate compiler warnings
static void sink(java.lang.Object object)
          A sink method, allows the argument to be referenced and therefore eliminate compiler warnings for cases where unreferenced variables are expected -- removed when this is no longer the case
static void sink(java.lang.Object objectA, boolean booleanA)
          A sink method, allows the arguments to be referenced and therefore eliminate compiler warnings for cases where unreferenced variables are expected -- removed when this is no longer the case
static void sink(java.lang.Object objectA, java.lang.Object objectB)
          A sink method, allows the arguments to be referenced and therefore eliminate compiler warnings for cases where unreferenced variables are expected -- removed when this is no longer the case
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

noop

public static void noop()
A none operation, usually called in debug situations


sink

public static void sink(java.lang.Object object)
A sink method, allows the argument to be referenced and therefore eliminate compiler warnings for cases where unreferenced variables are expected -- removed when this is no longer the case

Parameters:
object - the object to sink

sink

public static void sink(java.lang.Object objectA,
                        boolean booleanA)
A sink method, allows the arguments to be referenced and therefore eliminate compiler warnings for cases where unreferenced variables are expected -- removed when this is no longer the case

Parameters:
objectA - an object to sink
booleanA - an boolean to sink

sink

public static void sink(java.lang.Object objectA,
                        java.lang.Object objectB)
A sink method, allows the arguments to be referenced and therefore eliminate compiler warnings for cases where unreferenced variables are expected -- removed when this is no longer the case

Parameters:
objectA - an object to sink
objectB - an object to sink

sink

public static void sink(long longA)
A sink method, allows long to be referenced and therefore eliminate compiler warnings

Parameters:
longA -

TPTP 4.6.0 Platform Project
Public API Specification