code: public static Class<? extends GridDialect> getWrappedDialect(GridDialect gridDialect) {
  		if ( gridDialect instanceof ForwardingGridDialect ) {
  			return getWrappedDialect( ( (ForwardingGridDialect<?>) gridDialect ).getGridDialect() );
  		}
  		else {
  			return gridDialect.getClass();
  		}
  	}
docs: Returns the actual grid dialect type which may either be the type of the given dialect itself of the type of the
  wrapped dialect in case the given dialect is a {@link ForwardingGridDialect}.