public Object replaceObject(Object obj) throws IOException { if (obj instanceof Image) { return null; // [LIGHT] // additional code needed for full version } return super.replaceObject(obj); }
@Override protected Object replaceObject(Object obj) throws IOException { if (!(obj instanceof Serializable) && (obj instanceof ConfigurationSerializable)) { obj = Wrapper.newWrapper((ConfigurationSerializable) obj); } return super.replaceObject(obj); } }
/** {@inheritDoc} */ @Nullable @Override protected Object replaceObject(Object o) throws IOException { return o == null || MarshallerExclusions.isExcluded(o.getClass()) ? null : o.getClass().equals(Object.class) ? new JdkMarshallerDummySerializable() : super.replaceObject(o); } }
return super.replaceObject(obj);
Object streamReplacement = replaceObject(object); if (streamReplacement != object) {
public Object replaceObject (Object obj) throws IOException { if (obj instanceof Image) { return null; // [LIGHT] // additional code needed for full version } return super.replaceObject(obj); }
public Object replaceObject(Object obj) throws IOException { if (obj instanceof Image) { return null; // [LIGHT] // additional code needed for full version } return super.replaceObject(obj); }
public Object replaceObject(Object obj) throws IOException { if (obj instanceof Image) { return null; // [LIGHT] // additional code needed for full version } return super.replaceObject(obj); }
public Object replaceObject (Object obj) throws IOException { if (obj instanceof Image) { return null; // [LIGHT] // additional code needed for full version } return super.replaceObject(obj); }
protected Object replaceObject(Object obj) throws IOException { if (obj instanceof Component) { String name = ((Component)obj).getPath(); replacedComponents.put(name, obj); return name; } return super.replaceObject(obj); } }
@Override protected Object replaceObject(Object obj) throws IOException { if (obj instanceof Component) { final Component component = (Component)obj; String name = component.getPath(); replacedComponents.put(name, component); return name; } return super.replaceObject(obj); } }
@Override protected Object replaceObject(Object obj) throws IOException { if (!(obj instanceof Serializable) && (obj instanceof ConfigurationSerializable)) { obj = Wrapper.newWrapper((ConfigurationSerializable) obj); } return super.replaceObject(obj); } }
@Override protected Object replaceObject(Object obj) throws IOException { if (obj instanceof Component) { final Component component = (Component)obj; String name = component.getPath(); replacedComponents.put(name, component); return name; } return super.replaceObject(obj); } }
/** {@inheritDoc} */ @Nullable @Override protected Object replaceObject(Object o) throws IOException { return o == null || MarshallerExclusions.isExcluded(o.getClass()) ? null : o.getClass().equals(Object.class) ? new JdkMarshallerDummySerializable() : super.replaceObject(o); } }
/** {@inheritDoc} */ @Nullable @Override protected Object replaceObject(Object o) throws IOException { return o == null || GridMarshallerExclusions.isExcluded(o.getClass()) ? null : o.getClass().equals(Object.class) ? new GridJdkMarshallerDummySerializable() : super.replaceObject(o); } }
@Override protected Object replaceObject(Object obj) throws IOException { if (obj instanceof ExceptionHolder) { count.incrementAndGet(); } return super.replaceObject(obj); } }
@Override protected Object replaceObject(Object object) throws IOException { if (object instanceof BundleContext) { BundleContext context = (BundleContext) object; return new ReplaceBundleContext(context); } else if (object instanceof Bundle) { Bundle bundle = (Bundle) object; return new ReplaceBundle(bundle); } else { return super.replaceObject(object); } } }
@Override protected Object replaceObject(Object object) throws IOException { if (object instanceof BundleContext) { BundleContext context = (BundleContext) object; return new ReplaceBundleContext(context); } else if (object instanceof Bundle) { Bundle bundle = (Bundle) object; return new ReplaceBundle(bundle); } else { return super.replaceObject(object); } } }
@Override protected Object replaceObject(Object object) throws IOException { if (object instanceof BundleContext) { BundleContext context = (BundleContext) object; return new ReplaceBundleContext(context); } else if (object instanceof Bundle) { Bundle bundle = (Bundle) object; return new ReplaceBundle(bundle); } else { return super.replaceObject(object); } } }
return super.replaceObject(obj);