@@ -0,0 +1,1733 @@
+/*%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.drausin.bitflow.blockchain.client;%0A%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;%0Aimport com.fasterxml.jackson.databind.annotation.JsonSerialize;%0Aimport java.util.Map;%0Aimport org.immutables.value.Value;%0A%0A/**%0A * The RPC request to the bitcoin daemon.%0A *%0A * @see %3Ca href=%22https://bitcoin.org/en/developer-reference#remote-procedure-calls-rpcs%22%3EBitcoin RPCs%3C/a%3E%0A * @author dwulsin%0A */%0A@Value.Immutable%0A@Value.Style(visibility = Value.Style.ImplementationVisibility.PACKAGE)%0A@JsonSerialize(as = ImmutableBitcoindRpcResponse.class)%0A@JsonDeserialize(as = ImmutableBitcoindRpcResponse.class)%0Apublic abstract class BitcoindRpcResponse %7B%0A%0A    @Value.Parameter%0A    @JsonProperty(%22result%22)%0A    public abstract Object getResult();%0A%0A    @Value.Parameter%0A    @JsonProperty(%22error%22)%0A    public abstract BitcoindRpcResponseError getError();%0A%0A    @Value.Parameter%0A    @JsonProperty(%22id%22)%0A    public abstract String getId();%0A%0A    public static BitcoindRpcResponse of(Object result, BitcoindRpcResponseError error, String id) %7B%0A        return ImmutableBitcoindRpcResponse.of(result, error, id);%0A    %7D%0A%7D%0A

remove generic type, which @Value.Immutable doesn't play well with