public String signature(final WMethodDeclaration m) { String _name = m.getName(); String _parametersSignature = this.parametersSignature(m); String _plus = (_name + _parametersSignature); String _returnTypeSignature = this.returnTypeSignature(m); return (_plus + _returnTypeSignature); }
public String parametersSignature(final WMethodDeclaration m) { String _xifexpression = null; EList<WParameter> _parameters = m.getParameters(); boolean _isEmpty = _parameters.isEmpty(); if (_isEmpty) { _xifexpression = ""; } else { EList<WParameter> _parameters_1 = m.getParameters(); final Function1<WParameter, String> _function = new Function1<WParameter, String>() { public String apply(final WParameter it) { WollokType _type = ObjectLiteralWollokType.this.type(it); return _type.getName(); } }; List<String> _map = ListExtensions.<WParameter, String>map(_parameters_1, _function); String _join = IterableExtensions.join(_map, ", "); String _plus = ("(" + _join); _xifexpression = (_plus + ")"); } return _xifexpression; }