@Override void specificToGenericStringHeader(StringBuilder sb) { Type genRetType = getGenericReturnType(); sb.append( ((genRetType instanceof Class<?>) ? Field.getTypeName((Class<?>) genRetType) : genRetType.toString())) .append(' '); sb.append(Field.getTypeName(getDeclaringClass())).append('.'); sb.append(getName()); }
@Override void specificToStringHeader(StringBuilder sb) { sb.append(Field.getTypeName(getReturnType())).append(' '); sb.append(Field.getTypeName(getDeclaringClass())).append('.'); sb.append(getName()); }