buffer.append(" = ...");
return buffer.toString();
} else if (functionDefn instanceof Foreign) {
Foreign foreign = (Foreign)functionDefn;
final StringBuilder buffer = new StringBuilder();
buffer.append("foreign unsafe import jvm ");
buffer.append(StringEncoder.encodeString(foreign.getExternalName()));
if (foreign.isScopeExplicitlySpecified()) {
buffer.append(' ').append(foreign.getScope().toString());
}
buffer.append(' ').append(foreign.getName()).append(" :: ");
buffer.append("...");
return buffer.toString();