// on the default values, too.
MethodInfo mi = interfaceScope.getGenerator().createMethodInfoWithDefaultArgumentValues(this.interfaceScope, func);
ICompilerProject project = interfaceScope.getProject();
ExpressionNodeBase return_type_expr = (ExpressionNodeBase)func.getReturnTypeNode();
if ( return_type_expr != null )
{
Name return_type_name = return_type_expr.getMName(project);
mi.setReturnType(return_type_name);
}
IMethodVisitor mv = this.emitter.visitMethod(mi);
mv.visit();