コード例 #1
0
    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();
    }
コード例 #2
0
 public String getDisplayName() {
   StringBuffer sb = new StringBuffer();
   sb.append(name).append(" : ");
   writeSignature(sb, descriptor, descriptor.length(), 0, false);
   return sb.toString();
 }