diff --git a/codegen/src/test/resources/solidity/arraysinstruct/build/java/ArraysInStruct.java b/codegen/src/test/resources/solidity/arraysinstruct/build/java/ArraysInStruct.java index a87b287db6..9468b4373f 100644 --- a/codegen/src/test/resources/solidity/arraysinstruct/build/java/ArraysInStruct.java +++ b/codegen/src/test/resources/solidity/arraysinstruct/build/java/ArraysInStruct.java @@ -19,6 +19,7 @@ import org.web3j.abi.datatypes.generated.Int256; import org.web3j.abi.datatypes.generated.StaticArray5; import org.web3j.abi.datatypes.generated.Uint256; +import org.web3j.abi.datatypes.reflection.Parameterized; import org.web3j.crypto.Credentials; import org.web3j.protocol.Web3j; import org.web3j.protocol.core.RemoteFunctionCall; @@ -209,7 +210,7 @@ public Entity(byte[] bytesField, byte[] extraData, List stringArrayField this.addressArrayFieldStatic = addressArrayFieldStatic; } - public Entity(DynamicBytes bytesField, Bytes32 extraData, DynamicArray stringArrayField, DynamicArray bytesArrayField, DynamicArray bytes2ArrayField, DynamicArray bytes32ArrayField, DynamicArray unitArrayField, DynamicArray unit256ArrayField, DynamicArray boolField, DynamicArray intArrayField, DynamicArray
addressArrayField, StaticArray5 stringArrayFieldStatic, StaticArray5 bytesArrayFieldStatic, StaticArray5 bytes2ArrayFieldStatic, StaticArray5 bytes32ArrayFieldStatic, StaticArray5 unitArrayFieldStatic, StaticArray5 unit256ArrayFieldStatic, StaticArray5 boolFieldStatic, StaticArray5 intArrayFieldStatic, StaticArray5
addressArrayFieldStatic) { + public Entity(DynamicBytes bytesField, Bytes32 extraData, @Parameterized(type = Utf8String.class) DynamicArray stringArrayField, @Parameterized(type = DynamicBytes.class) DynamicArray bytesArrayField, @Parameterized(type = Bytes2.class) DynamicArray bytes2ArrayField, @Parameterized(type = Bytes32.class) DynamicArray bytes32ArrayField, @Parameterized(type = Uint256.class) DynamicArray unitArrayField, @Parameterized(type = Uint256.class) DynamicArray unit256ArrayField, @Parameterized(type = Bool.class) DynamicArray boolField, @Parameterized(type = Int256.class) DynamicArray intArrayField, @Parameterized(type = Address.class) DynamicArray
addressArrayField, @Parameterized(type = Utf8String.class) StaticArray5 stringArrayFieldStatic, @Parameterized(type = DynamicBytes.class) StaticArray5 bytesArrayFieldStatic, @Parameterized(type = Bytes2.class) StaticArray5 bytes2ArrayFieldStatic, @Parameterized(type = Bytes32.class) StaticArray5 bytes32ArrayFieldStatic, @Parameterized(type = Uint256.class) StaticArray5 unitArrayFieldStatic, @Parameterized(type = Uint256.class) StaticArray5 unit256ArrayFieldStatic, @Parameterized(type = Bool.class) StaticArray5 boolFieldStatic, @Parameterized(type = Int256.class) StaticArray5 intArrayFieldStatic, @Parameterized(type = Address.class) StaticArray5
addressArrayFieldStatic) { super(bytesField, extraData, stringArrayField, bytesArrayField, bytes2ArrayField, bytes32ArrayField, unitArrayField, unit256ArrayField, boolField, intArrayField, addressArrayField, stringArrayFieldStatic, bytesArrayFieldStatic, bytes2ArrayFieldStatic, bytes32ArrayFieldStatic, unitArrayFieldStatic, unit256ArrayFieldStatic, boolFieldStatic, intArrayFieldStatic, addressArrayFieldStatic); this.bytesField = bytesField.getValue(); this.extraData = extraData.getValue();