apache-geode-extensions/src/main/java/org/springframework/geode/pdx/PdxInstanceWrapper.java
/**
	 * Null-safe factory method used to unwrap the given {@link PdxInstance}.
	 *
	 * If the given {@link PdxInstance} is an instance of {@link PdxInstanceWrapper} then this factory method will
	 * unwrap the {@link PdxInstanceWrapper} returning the underlying, {@link PdxInstanceWrapper#getDelegate() delegate}
	 * {@link PdxInstance}.  Otherwise, the given {@link PdxInstance} is returned.
	 *
	 * @param pdxInstance {@link PdxInstance} to unwrap; may be {@literal null}.
	 * @return the unwrapped {@link PdxInstance}.
	 * @see org.apache.geode.pdx.PdxInstance
	 * @see #getDelegate()
	 */
Null-safe factory method used to unwrap the given  PdxInstance.
If the given  PdxInstance is an instance of  PdxInstanceWrapper then this factory method will
unwrap the  PdxInstanceWrapper returning the underlying,  PdxInstanceWrapper#getDelegate() delegate
PdxInstance.  Otherwise, the given  PdxInstance is returned.

@param pdxInstance  PdxInstance to unwrap; may be  null.
@return the unwrapped  PdxInstance.
Null - safe factory method used to unwrap the given PdxInstance . If the given PdxInstance is an instance of PdxInstanceWrapper then this factory method will unwrap the PdxInstanceWrapper returning the underlying PdxInstanceWrapper#getDelegate () delegate PdxInstance . Otherwise the given PdxInstance is returned . @param pdxInstance PdxInstance to unwrap ; may be null . @return the unwrapped PdxInstance .
public static PdxInstance unwrap(PdxInstance pdxInstance) {
		return pdxInstance instanceof PdxInstanceWrapper
			? ((PdxInstanceWrapper) pdxInstance).getDelegate()
			: pdxInstance;
	}
public static PdxInstance unwrap ( PdxInstance pdxInstance ) { return pdxInstance instanceof PdxInstanceWrapper ? ( ( PdxInstanceWrapper ) pdxInstance ) . getDelegate ( ) : pdxInstance ; }
Null-safe factory method used to unwrap the given {@link PdxInstance}.
Null - safe factory method used to unwrap the given { @link PdxInstance } .