src/main/java/com/googlecode/objectify/util/ResultProxy.java
@SuppressWarnings("unchecked")
	public static <S> S create(Class<? super S> interf, Result<S> result) {
		return (S)Proxy.newProxyInstance(result.getClass().getClassLoader(), new Class[] { interf }, new ResultProxy<>(result));
	}
@SuppressWarnings("unchecked")
	public static <S> S create(Class<? super S> interf, Result<S> result) {
		return (S)Proxy.newProxyInstance(result.getClass().getClassLoader(), new Class[] { interf }, new ResultProxy<>(result));
	}
@ SuppressWarnings ( "unchecked" ) public static < S > S create ( Class < ? super S > interf , Result < S > result ) { return ( S ) Proxy . newProxyInstance ( result . getClass ( ) . getClassLoader ( ) , new Class [ ] { interf } , new ResultProxy <> ( result ) ) ; }
Create a ResultProxy for the given interface.
Create a ResultProxy for the given interface .