File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change 154
154
(Type ('TYPE' ) > Type ('BYTE' ), transform .typeSub ),
155
155
(Type ('TYPE' ) > Type ('CHAR' ), transform .typeSub ),
156
156
(Type ('TYPE' ) > Type ('DOUBLE' ), transform .typeSub ),
157
+ (Type ('TYPE' ) > Type ('INT' ), transform .typeSub ),
157
158
(Type ('TYPE' ) > Type ('SHORT' ), transform .typeSub ),
159
+ (Type ('TYPE' ) > Type ('LONG' ), transform .typeSub ),
160
+ (Type ('TYPE' ) > Type ('DOUBLE' ), transform .typeSub ),
158
161
159
162
(Type ('TYPE' ) > Type ('QUALIFIED_TYPE_IDENT' ) > Type ('IDENT' ),
160
163
transform .typeSub ),
204
207
typeSubs = {
205
208
'Boolean' : 'bool' ,
206
209
'boolean' : 'bool' ,
207
- 'IndexOutOfBoundsException' : 'IndexError' ,
208
- 'Integer' : 'int' ,
209
- 'short' : 'int' ,
210
+
211
+ 'Byte' : 'int' ,
210
212
'byte' : 'int' ,
211
- 'Object' : 'object' ,
212
- 'String ' : 'str' ,
213
+
214
+ 'Char ' : 'str' ,
213
215
'char' : 'str' ,
216
+
217
+ 'Integer' : 'int' ,
218
+ 'int' : 'int' ,
219
+
220
+ 'Short' : 'int' ,
221
+ 'short' : 'int' ,
222
+
223
+ 'Long' : 'long' ,
224
+ 'long' : 'long' ,
225
+
226
+ 'Double' : 'float' ,
214
227
'double' : 'float' ,
228
+
229
+ 'String' : 'str' ,
215
230
'java.lang.String' : 'str' ,
216
- }
231
+
232
+ 'Object' : 'object' ,
233
+ 'IndexOutOfBoundsException' : 'IndexError' ,
234
+ }
You can’t perform that action at this time.
0 commit comments