553 /** |
553 /** |
554 * Given a ClassDoc, return the name of its type (Class, Interface, etc.). |
554 * Given a ClassDoc, return the name of its type (Class, Interface, etc.). |
555 * |
555 * |
556 * @param cd the ClassDoc to check. |
556 * @param cd the ClassDoc to check. |
557 * @param lowerCaseOnly true if you want the name returned in lower case. |
557 * @param lowerCaseOnly true if you want the name returned in lower case. |
558 * If false, the first letter of the name is capatilized. |
558 * If false, the first letter of the name is capitalized. |
559 * @return |
559 * @return |
560 */ |
560 */ |
561 public static String getTypeName(Configuration config, |
561 public static String getTypeName(Configuration config, |
562 ClassDoc cd, boolean lowerCaseOnly) { |
562 ClassDoc cd, boolean lowerCaseOnly) { |
563 String typeName = ""; |
563 String typeName = ""; |