public String getDisplayName() { String constructorName = type.getDisplayInnerTypeName(); boolean isInnerClass = (constructorName != null); if (constructorName == null) constructorName = type.getDisplayTypeName(); StringBuffer sb = new StringBuffer(); writeMethodSignature(sb, access, access, isInnerClass, constructorName, name, descriptor); return sb.toString(); }
public String getDisplayName() { StringBuffer sb = new StringBuffer(); sb.append(name).append(" : "); writeSignature(sb, descriptor, descriptor.length(), 0, false); return sb.toString(); }