void () { if (mySignature == null) return; @NonNls StringBuilder buffer = new StringBuilder(); String modifier = ExtractUtil.getModifierString(myHelper); buffer.append(modifier); buffer.append(ExtractUtil.getTypeString(myHelper, true, modifier)); final String _name = getEnteredName(); String name = _name == null ? "" : _name; ExtractUtil.appendName(buffer, name); buffer.append("("); String[] params = ExtractUtil.getParameterString(myHelper, false); if (params.length > 0) { String INDENT = " "; buffer.append("\n"); for (String param : params) { buffer.append(INDENT).append(param).append("\n"); } } buffer.append(")"); mySignature.setSignature(buffer.toString()); }