Changeset 984 for trunk/autoquest-jfcmonitor
- Timestamp:
- 11/14/12 10:48:37 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-jfcmonitor/src/main/java/de/ugoe/cs/autoquest/jfcmonitor/JFCComponent.java
r933 r984 302 302 builder.append("\" />" + StringTools.ENDLINE); 303 303 } 304 builder.append(get InheritanceTree());304 builder.append(getClassHierarchy()); 305 305 builder.append("</component>" + StringTools.ENDLINE); 306 306 … … 468 468 * @return 469 469 */ 470 private String get InheritanceTree(){470 private String getClassHierarchy(){ 471 471 StringBuilder builder = new StringBuilder(); 472 472 Class<? extends Object> classobject = component.getClass(); 473 473 builder.append(" <ancestors>" + StringTools.ENDLINE); 474 while(classobject.getSuperclass() != null){ 475 classobject = classobject.getSuperclass(); 474 while(classobject != null){ 476 475 builder.append(" <ancestor name=\""); 477 476 builder.append(classobject.getName()); 478 477 builder.append("\" />" + StringTools.ENDLINE); 478 classobject = classobject.getSuperclass(); 479 479 } 480 480 builder.append(" </ancestors>" + StringTools.ENDLINE);
Note: See TracChangeset
for help on using the changeset viewer.