File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ public void visit(final FunctionType n) {
230
230
231
231
for (final Component c : params ) {
232
232
args .add (c .getIdentifier ().getToken ());
233
- types .add (c .getType ().type .toJavaType ());
233
+ types .add (c .getType ().type .toInterfaceJavaType ());
234
234
}
235
235
236
236
st .add ("name" , funcType .toJavaType ());
@@ -1583,7 +1583,7 @@ public void visit(final FunctionExpression n) {
1583
1583
if (!(c instanceof BoaName ))
1584
1584
continue ;
1585
1585
args .add (((BoaName )c ).getId ());
1586
- types .add (((BoaName )c ).getType ().toJavaType ());
1586
+ types .add (((BoaName )c ).getType ().toInterfaceJavaType ());
1587
1587
}
1588
1588
1589
1589
this .varDecl .start (n );
@@ -1815,7 +1815,7 @@ public void visit(final FunctionType n) {
1815
1815
1816
1816
for (int i = 0 ; i < paramTypes .length ; i ++) {
1817
1817
args .add (((BoaName ) paramTypes [i ]).getId ());
1818
- types .add (paramTypes [i ].toJavaType ());
1818
+ types .add (paramTypes [i ].toInterfaceJavaType ());
1819
1819
}
1820
1820
1821
1821
st .add ("name" , funcType .toJavaType ());
Original file line number Diff line number Diff line change @@ -154,7 +154,13 @@ public String toJavaType() {
154
154
/** {@inheritDoc} */
155
155
@ Override
156
156
public String toInterfaceJavaType () {
157
- return "java.util.HashMap<" + this .indexType .toParameterJavaType () + ", " + this .valueType .toParameterJavaType () + ">" ;
157
+ return "java.util.Map<" + this .indexType .toParameterJavaType () + ", " + this .valueType .toParameterJavaType () + ">" ;
158
+ }
159
+
160
+ /** {@inheritDoc} */
161
+ @ Override
162
+ public String toParameterJavaType () {
163
+ return "java.util.Map<" + this .indexType .toParameterJavaType () + ", " + this .valueType .toParameterJavaType () + ">" ;
158
164
}
159
165
160
166
/** {@inheritDoc} */
You can’t perform that action at this time.
0 commit comments