Skip to content

Commit aaf78d9

Browse files
committed
chore(plc4j): Check in generated contents.
Signed-off-by: Łukasz Dywicki <[email protected]>
1 parent 5a2e560 commit aaf78d9

File tree

692 files changed

+0
-8796
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

692 files changed

+0
-8796
lines changed

plc4j/drivers/ab-eth/src/main/generated/org/apache/plc4x/java/abeth/readwrite/CIPEncapsulationPacket.java

-6
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,6 @@ public int getLengthInBits() {
175175
return lengthInBits;
176176
}
177177

178-
public static CIPEncapsulationPacket staticParse(ReadBuffer readBuffer, Object... args)
179-
throws ParseException {
180-
PositionAware positionAware = readBuffer;
181-
return staticParse(readBuffer);
182-
}
183-
184178
public static CIPEncapsulationPacket staticParse(ReadBuffer readBuffer) throws ParseException {
185179
readBuffer.pullContext("CIPEncapsulationPacket");
186180
PositionAware positionAware = readBuffer;

plc4j/drivers/ab-eth/src/main/generated/org/apache/plc4x/java/abeth/readwrite/DF1RequestCommand.java

-6
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ public int getLengthInBits() {
8080
return lengthInBits;
8181
}
8282

83-
public static DF1RequestCommand staticParse(ReadBuffer readBuffer, Object... args)
84-
throws ParseException {
85-
PositionAware positionAware = readBuffer;
86-
return staticParse(readBuffer);
87-
}
88-
8983
public static DF1RequestCommand staticParse(ReadBuffer readBuffer) throws ParseException {
9084
readBuffer.pullContext("DF1RequestCommand");
9185
PositionAware positionAware = readBuffer;

plc4j/drivers/ab-eth/src/main/generated/org/apache/plc4x/java/abeth/readwrite/DF1RequestMessage.java

-6
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ public int getLengthInBits() {
137137
return lengthInBits;
138138
}
139139

140-
public static DF1RequestMessage staticParse(ReadBuffer readBuffer, Object... args)
141-
throws ParseException {
142-
PositionAware positionAware = readBuffer;
143-
return staticParse(readBuffer);
144-
}
145-
146140
public static DF1RequestMessage staticParse(ReadBuffer readBuffer) throws ParseException {
147141
readBuffer.pullContext("DF1RequestMessage");
148142
PositionAware positionAware = readBuffer;

plc4j/drivers/ab-eth/src/main/generated/org/apache/plc4x/java/abeth/readwrite/DF1ResponseMessage.java

-20
Original file line numberDiff line numberDiff line change
@@ -143,26 +143,6 @@ public int getLengthInBits() {
143143
return lengthInBits;
144144
}
145145

146-
public static DF1ResponseMessage staticParse(ReadBuffer readBuffer, Object... args)
147-
throws ParseException {
148-
PositionAware positionAware = readBuffer;
149-
if ((args == null) || (args.length != 1)) {
150-
throw new PlcRuntimeException(
151-
"Wrong number of arguments, expected 1, but got " + args.length);
152-
}
153-
Integer payloadLength;
154-
if (args[0] instanceof Integer) {
155-
payloadLength = (Integer) args[0];
156-
} else if (args[0] instanceof String) {
157-
payloadLength = Integer.valueOf((String) args[0]);
158-
} else {
159-
throw new PlcRuntimeException(
160-
"Argument 0 expected to be of type Integer or a string which is parseable but was "
161-
+ args[0].getClass().getName());
162-
}
163-
return staticParse(readBuffer, payloadLength);
164-
}
165-
166146
public static DF1ResponseMessage staticParse(ReadBuffer readBuffer, Integer payloadLength)
167147
throws ParseException {
168148
readBuffer.pullContext("DF1ResponseMessage");

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/discovery/readwrite/AdsDiscovery.java

-6
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@ public int getLengthInBits() {
186186
return lengthInBits;
187187
}
188188

189-
public static AdsDiscovery staticParse(ReadBuffer readBuffer, Object... args)
190-
throws ParseException {
191-
PositionAware positionAware = readBuffer;
192-
return staticParse(readBuffer);
193-
}
194-
195189
public static AdsDiscovery staticParse(ReadBuffer readBuffer) throws ParseException {
196190
readBuffer.pullContext("AdsDiscovery");
197191
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/discovery/readwrite/AdsDiscoveryBlock.java

-6
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ public int getLengthInBits() {
8787
return lengthInBits;
8888
}
8989

90-
public static AdsDiscoveryBlock staticParse(ReadBuffer readBuffer, Object... args)
91-
throws ParseException {
92-
PositionAware positionAware = readBuffer;
93-
return staticParse(readBuffer);
94-
}
95-
9690
public static AdsDiscoveryBlock staticParse(ReadBuffer readBuffer) throws ParseException {
9791
readBuffer.pullContext("AdsDiscoveryBlock");
9892
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/discovery/readwrite/AdsDiscoveryConstants.java

-6
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ public int getLengthInBits() {
7979
return lengthInBits;
8080
}
8181

82-
public static AdsDiscoveryConstants staticParse(ReadBuffer readBuffer, Object... args)
83-
throws ParseException {
84-
PositionAware positionAware = readBuffer;
85-
return staticParse(readBuffer);
86-
}
87-
8882
public static AdsDiscoveryConstants staticParse(ReadBuffer readBuffer) throws ParseException {
8983
readBuffer.pullContext("AdsDiscoveryConstants");
9084
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/discovery/readwrite/AmsNetId.java

-5
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,6 @@ public int getLengthInBits() {
138138
return lengthInBits;
139139
}
140140

141-
public static AmsNetId staticParse(ReadBuffer readBuffer, Object... args) throws ParseException {
142-
PositionAware positionAware = readBuffer;
143-
return staticParse(readBuffer);
144-
}
145-
146141
public static AmsNetId staticParse(ReadBuffer readBuffer) throws ParseException {
147142
readBuffer.pullContext("AmsNetId");
148143
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/discovery/readwrite/AmsString.java

-5
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,6 @@ public int getLengthInBits() {
9595
return lengthInBits;
9696
}
9797

98-
public static AmsString staticParse(ReadBuffer readBuffer, Object... args) throws ParseException {
99-
PositionAware positionAware = readBuffer;
100-
return staticParse(readBuffer);
101-
}
102-
10398
public static AmsString staticParse(ReadBuffer readBuffer) throws ParseException {
10499
readBuffer.pullContext("AmsString");
105100
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsConstants.java

-6
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ public int getLengthInBits() {
7676
return lengthInBits;
7777
}
7878

79-
public static AdsConstants staticParse(ReadBuffer readBuffer, Object... args)
80-
throws ParseException {
81-
PositionAware positionAware = readBuffer;
82-
return staticParse(readBuffer);
83-
}
84-
8579
public static AdsConstants staticParse(ReadBuffer readBuffer) throws ParseException {
8680
readBuffer.pullContext("AdsConstants");
8781
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsDataTypeArrayInfo.java

-6
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,6 @@ public int getLengthInBits() {
107107
return lengthInBits;
108108
}
109109

110-
public static AdsDataTypeArrayInfo staticParse(ReadBuffer readBuffer, Object... args)
111-
throws ParseException {
112-
PositionAware positionAware = readBuffer;
113-
return staticParse(readBuffer);
114-
}
115-
116110
public static AdsDataTypeArrayInfo staticParse(ReadBuffer readBuffer) throws ParseException {
117111
readBuffer.pullContext("AdsDataTypeArrayInfo");
118112
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsDataTypeTableChildEntry.java

-6
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,6 @@ public int getLengthInBits() {
429429
return lengthInBits;
430430
}
431431

432-
public static AdsDataTypeTableChildEntry staticParse(ReadBuffer readBuffer, Object... args)
433-
throws ParseException {
434-
PositionAware positionAware = readBuffer;
435-
return staticParse(readBuffer);
436-
}
437-
438432
public static AdsDataTypeTableChildEntry staticParse(ReadBuffer readBuffer)
439433
throws ParseException {
440434
readBuffer.pullContext("AdsDataTypeTableChildEntry");

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsDataTypeTableEntry.java

-6
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,6 @@ public int getLengthInBits() {
429429
return lengthInBits;
430430
}
431431

432-
public static AdsDataTypeTableEntry staticParse(ReadBuffer readBuffer, Object... args)
433-
throws ParseException {
434-
PositionAware positionAware = readBuffer;
435-
return staticParse(readBuffer);
436-
}
437-
438432
public static AdsDataTypeTableEntry staticParse(ReadBuffer readBuffer) throws ParseException {
439433
readBuffer.pullContext("AdsDataTypeTableEntry");
440434
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsMultiRequestItem.java

-20
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,6 @@ public int getLengthInBits() {
7474
return lengthInBits;
7575
}
7676

77-
public static AdsMultiRequestItem staticParse(ReadBuffer readBuffer, Object... args)
78-
throws ParseException {
79-
PositionAware positionAware = readBuffer;
80-
if ((args == null) || (args.length != 1)) {
81-
throw new PlcRuntimeException(
82-
"Wrong number of arguments, expected 1, but got " + args.length);
83-
}
84-
Long indexGroup;
85-
if (args[0] instanceof Long) {
86-
indexGroup = (Long) args[0];
87-
} else if (args[0] instanceof String) {
88-
indexGroup = Long.valueOf((String) args[0]);
89-
} else {
90-
throw new PlcRuntimeException(
91-
"Argument 0 expected to be of type Long or a string which is parseable but was "
92-
+ args[0].getClass().getName());
93-
}
94-
return staticParse(readBuffer, indexGroup);
95-
}
96-
9777
public static AdsMultiRequestItem staticParse(ReadBuffer readBuffer, Long indexGroup)
9878
throws ParseException {
9979
readBuffer.pullContext("AdsMultiRequestItem");

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsNotificationSample.java

-6
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ public int getLengthInBits() {
103103
return lengthInBits;
104104
}
105105

106-
public static AdsNotificationSample staticParse(ReadBuffer readBuffer, Object... args)
107-
throws ParseException {
108-
PositionAware positionAware = readBuffer;
109-
return staticParse(readBuffer);
110-
}
111-
112106
public static AdsNotificationSample staticParse(ReadBuffer readBuffer) throws ParseException {
113107
readBuffer.pullContext("AdsNotificationSample");
114108
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsStampHeader.java

-6
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ public int getLengthInBits() {
109109
return lengthInBits;
110110
}
111111

112-
public static AdsStampHeader staticParse(ReadBuffer readBuffer, Object... args)
113-
throws ParseException {
114-
PositionAware positionAware = readBuffer;
115-
return staticParse(readBuffer);
116-
}
117-
118112
public static AdsStampHeader staticParse(ReadBuffer readBuffer) throws ParseException {
119113
readBuffer.pullContext("AdsStampHeader");
120114
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsSymbolTableEntry.java

-6
Original file line numberDiff line numberDiff line change
@@ -545,12 +545,6 @@ public int getLengthInBits() {
545545
return lengthInBits;
546546
}
547547

548-
public static AdsSymbolTableEntry staticParse(ReadBuffer readBuffer, Object... args)
549-
throws ParseException {
550-
PositionAware positionAware = readBuffer;
551-
return staticParse(readBuffer);
552-
}
553-
554548
public static AdsSymbolTableEntry staticParse(ReadBuffer readBuffer) throws ParseException {
555549
readBuffer.pullContext("AdsSymbolTableEntry");
556550
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AdsTableSizes.java

-6
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,6 @@ public int getLengthInBits() {
167167
return lengthInBits;
168168
}
169169

170-
public static AdsTableSizes staticParse(ReadBuffer readBuffer, Object... args)
171-
throws ParseException {
172-
PositionAware positionAware = readBuffer;
173-
return staticParse(readBuffer);
174-
}
175-
176170
public static AdsTableSizes staticParse(ReadBuffer readBuffer) throws ParseException {
177171
readBuffer.pullContext("AdsTableSizes");
178172
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AmsNetId.java

-5
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,6 @@ public int getLengthInBits() {
138138
return lengthInBits;
139139
}
140140

141-
public static AmsNetId staticParse(ReadBuffer readBuffer, Object... args) throws ParseException {
142-
PositionAware positionAware = readBuffer;
143-
return staticParse(readBuffer);
144-
}
145-
146141
public static AmsNetId staticParse(ReadBuffer readBuffer) throws ParseException {
147142
readBuffer.pullContext("AmsNetId");
148143
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AmsPacket.java

-5
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,6 @@ public int getLengthInBits() {
277277
return lengthInBits;
278278
}
279279

280-
public static AmsPacket staticParse(ReadBuffer readBuffer, Object... args) throws ParseException {
281-
PositionAware positionAware = readBuffer;
282-
return staticParse(readBuffer);
283-
}
284-
285280
public static AmsPacket staticParse(ReadBuffer readBuffer) throws ParseException {
286281
readBuffer.pullContext("AmsPacket");
287282
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AmsSerialAcknowledgeFrame.java

-6
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ public int getLengthInBits() {
143143
return lengthInBits;
144144
}
145145

146-
public static AmsSerialAcknowledgeFrame staticParse(ReadBuffer readBuffer, Object... args)
147-
throws ParseException {
148-
PositionAware positionAware = readBuffer;
149-
return staticParse(readBuffer);
150-
}
151-
152146
public static AmsSerialAcknowledgeFrame staticParse(ReadBuffer readBuffer) throws ParseException {
153147
readBuffer.pullContext("AmsSerialAcknowledgeFrame");
154148
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AmsSerialFrame.java

-6
Original file line numberDiff line numberDiff line change
@@ -156,12 +156,6 @@ public int getLengthInBits() {
156156
return lengthInBits;
157157
}
158158

159-
public static AmsSerialFrame staticParse(ReadBuffer readBuffer, Object... args)
160-
throws ParseException {
161-
PositionAware positionAware = readBuffer;
162-
return staticParse(readBuffer);
163-
}
164-
165159
public static AmsSerialFrame staticParse(ReadBuffer readBuffer) throws ParseException {
166160
readBuffer.pullContext("AmsSerialFrame");
167161
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AmsSerialResetFrame.java

-6
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,6 @@ public int getLengthInBits() {
143143
return lengthInBits;
144144
}
145145

146-
public static AmsSerialResetFrame staticParse(ReadBuffer readBuffer, Object... args)
147-
throws ParseException {
148-
PositionAware positionAware = readBuffer;
149-
return staticParse(readBuffer);
150-
}
151-
152146
public static AmsSerialResetFrame staticParse(ReadBuffer readBuffer) throws ParseException {
153147
readBuffer.pullContext("AmsSerialResetFrame");
154148
PositionAware positionAware = readBuffer;

plc4j/drivers/ads/src/main/generated/org/apache/plc4x/java/ads/readwrite/AmsTCPPacket.java

-6
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ public int getLengthInBits() {
103103
return lengthInBits;
104104
}
105105

106-
public static AmsTCPPacket staticParse(ReadBuffer readBuffer, Object... args)
107-
throws ParseException {
108-
PositionAware positionAware = readBuffer;
109-
return staticParse(readBuffer);
110-
}
111-
112106
public static AmsTCPPacket staticParse(ReadBuffer readBuffer) throws ParseException {
113107
readBuffer.pullContext("AmsTCPPacket");
114108
PositionAware positionAware = readBuffer;

plc4j/drivers/bacnet/src/main/generated/org/apache/plc4x/java/bacnetip/readwrite/APDU.java

-19
Original file line numberDiff line numberDiff line change
@@ -88,25 +88,6 @@ public int getLengthInBits() {
8888
return lengthInBits;
8989
}
9090

91-
public static APDU staticParse(ReadBuffer readBuffer, Object... args) throws ParseException {
92-
PositionAware positionAware = readBuffer;
93-
if ((args == null) || (args.length != 1)) {
94-
throw new PlcRuntimeException(
95-
"Wrong number of arguments, expected 1, but got " + args.length);
96-
}
97-
Integer apduLength;
98-
if (args[0] instanceof Integer) {
99-
apduLength = (Integer) args[0];
100-
} else if (args[0] instanceof String) {
101-
apduLength = Integer.valueOf((String) args[0]);
102-
} else {
103-
throw new PlcRuntimeException(
104-
"Argument 0 expected to be of type Integer or a string which is parseable but was "
105-
+ args[0].getClass().getName());
106-
}
107-
return staticParse(readBuffer, apduLength);
108-
}
109-
11091
public static APDU staticParse(ReadBuffer readBuffer, Integer apduLength) throws ParseException {
11192
readBuffer.pullContext("APDU");
11293
PositionAware positionAware = readBuffer;

plc4j/drivers/bacnet/src/main/generated/org/apache/plc4x/java/bacnetip/readwrite/BACnetAbortReasonTagged.java

-20
Original file line numberDiff line numberDiff line change
@@ -114,26 +114,6 @@ public int getLengthInBits() {
114114
return lengthInBits;
115115
}
116116

117-
public static BACnetAbortReasonTagged staticParse(ReadBuffer readBuffer, Object... args)
118-
throws ParseException {
119-
PositionAware positionAware = readBuffer;
120-
if ((args == null) || (args.length != 1)) {
121-
throw new PlcRuntimeException(
122-
"Wrong number of arguments, expected 1, but got " + args.length);
123-
}
124-
Long actualLength;
125-
if (args[0] instanceof Long) {
126-
actualLength = (Long) args[0];
127-
} else if (args[0] instanceof String) {
128-
actualLength = Long.valueOf((String) args[0]);
129-
} else {
130-
throw new PlcRuntimeException(
131-
"Argument 0 expected to be of type Long or a string which is parseable but was "
132-
+ args[0].getClass().getName());
133-
}
134-
return staticParse(readBuffer, actualLength);
135-
}
136-
137117
public static BACnetAbortReasonTagged staticParse(ReadBuffer readBuffer, Long actualLength)
138118
throws ParseException {
139119
readBuffer.pullContext("BACnetAbortReasonTagged");

0 commit comments

Comments
 (0)