org.inria.ns.reflex.structures
Class Unwrappable.Unwrapper

java.lang.Object
  extended by org.inria.ns.reflex.structures.Unwrappable.Unwrapper
Enclosing interface:
Unwrappable

public static class Unwrappable.Unwrapper
extends Object

Unwrap recursively an unwrappable if necessary.

Author:
Philippe Poulard
See Also:
Unwrappable.UNWRAPPER

Method Summary
 Object unwrap(Object o)
          Unwrap an object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

unwrap

public Object unwrap(Object o)
Unwrap an object.

Returns:
The object itself if it not unwrappable, or the unwrapped object (recursively).