|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.xtools.patterns.framework.util.Noop
A noop class that has non-operation methods that accomplish useful things such as providing a way to add a line of code that a breakpoint can be set at that does nothing--or a way to do something with a variable that can bypass compiler warnings such as a variable is never read.
Method Summary | |
static void |
noop()
The noop method simply does nothing; an empty statement. |
static void |
sink(Object object)
Sinks an object or basically takes an object and does nothing with it, used primarily for doing something with an object so it is seen as being used (for compiler warning bypass, etc). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void noop()
public static void sink(Object object)
object
-
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.