/** * @param args * as these represent parameters, can contain nulls */ public static Invocation create(Invokable<?, ?> invokable, List<Object> args) { return new Invocation(invokable, args); }
public static <T> T newProxy(Class<T> enclosingType, Function<Invocation, Object> invocationFunction) { checkNotNull(invocationFunction, "invocationFunction"); return newProxy(enclosingType, new FunctionalInvocationHandler<T>(typeToken(enclosingType), invocationFunction)); }
public static <T> T newProxy(Class<T> enclosingType, Function<Invocation, Object> invocationFunction) { checkNotNull(invocationFunction, "invocationFunction"); return newProxy(enclosingType, new FunctionalInvocationHandler<T>(typeToken(enclosingType), invocationFunction)); }
@Override protected TypeToken<LoadBalancerServiceContext> viewType() { return typeToken(LoadBalancerServiceContext.class); } }
/** * @param args * as these represent parameters, can contain nulls */ public static Invocation create(Invokable<?, ?> invokable, List<Object> args) { return new Invocation(invokable, args); }
public static <T> T newProxy(Class<T> enclosingType, Function<Invocation, Object> invocationFunction) { checkNotNull(invocationFunction, "invocationFunction"); return newProxy(enclosingType, new FunctionalInvocationHandler<T>(typeToken(enclosingType), invocationFunction)); }
@Override protected TypeToken<Context> contextType() { return typeToken(Context.class); }
/** * @param args * as these represent parameters, can contain nulls */ public static Invocation create(Invokable<?, ?> invokable, List<Object> args) { return new Invocation(invokable, args); }
public static <T> T newProxy(Class<T> enclosingType, Function<Invocation, Object> invocationFunction) { checkNotNull(invocationFunction, "invocationFunction"); return newProxy(enclosingType, new FunctionalInvocationHandler<T>(typeToken(enclosingType), invocationFunction)); }
@Override protected TypeToken<ComputeServiceContext> viewType() { return typeToken(ComputeServiceContext.class); }
/** * @param args * as these represent parameters, can contain nulls */ public static Invocation create(Invokable<?, ?> invokable, List<Object> args) { return new Invocation(invokable, args); }
public static <T> T newProxy(Class<T> enclosingType, Function<Invocation, Object> invocationFunction) { checkNotNull(invocationFunction, "invocationFunction"); return newProxy(enclosingType, new FunctionalInvocationHandler<T>(typeToken(enclosingType), invocationFunction)); }
@Override protected TypeToken<CloudStackContext> viewType() { return typeToken(CloudStackContext.class); }
/** * @param args * as these represent parameters, can contain nulls */ public static Invocation create(Invokable<?, ?> invokable, List<Object> args) { return new Invocation(invokable, args); }