code: public static Object getRealTarget(Object target) {
          if (target instanceof ProxyTarget) {
              return ((ProxyTarget) target).getTarget();
          }
          return target;
      }
docs: Check if the object is of the special type {@link org.ops4j.pax.wicket.spi.ReleasableProxyTarget} and return the target of this interface
  
  @param target a {@link java.lang.Object} object.
  @return the parameter target or the target of the {@link org.ops4j.pax.wicket.spi.ReleasableProxyTarget} if present