@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod(@SuperCall Callable<?> zuper, @This(optional = true) Object object) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object, @AllArguments Object[] args) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object, @AllArguments Object[] args) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object, @AllArguments Object[] args) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object, @AllArguments Object[] args) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod( @SuperCall Callable<?> zuper, @This(optional = true) Object object, @AllArguments Object[] args) throws Exception { return zuper.call(); }
@RuntimeType @BindingPriority(Integer.MAX_VALUE) public Object anyMethod(@SuperCall Callable<?> zuper, @Origin Method method, @This(optional = true) Object object) throws Exception { Object result = zuper.call(); if (method.getName().equals("start")) { TestContextHolder.INSTANCE.command(testContext -> { int port = ((Server) object).getPort(); testContext.addProperty(TestContextProperties.APP_PORT, port); testContext.addProperty(TestContextProperties.SERVER, object); URI baseURI = URI.create(format("grpc://localhost:%d", port)); testContext.addProperty(TestContextProperties.SERVER_BASE_URI, baseURI); }); } return result; }