code: private String memberName(Member member) {
          if (member instanceof Constructor)
              return member.getDeclaringClass().getSimpleName();
          else
              return member.getName();
      }
docs: http://bugs.java.com/view_bug.do?bug_id=6294399