자바 클래스 파일로부터 객체 다이어그램 얻기 : 실제적인 방법

Generating Object Diagrams from Java Class Files : A Practical Approach

  • 양창모 (청주교육대학교 컴퓨터교육과)
  • 발행 : 2008.05.31

초록

Gestwicki 등은 객체 그래프의 더 좋은 그림을 얻기 위하여 클래스 다이어그램으로부터 객체 다이어그램의 구조를 탐지하고 예측하는 기술을 제안하였다. 그들의 방법은 클래스 다이어그램으로부터 두 가지 예측 가능한 구조-되부름 덩어리 (recursive cluster)와 잎 덩어리 (leaf cluster)를 찾는다. 하지만 이 방법은 출발점이 클래스 다이어그램이므로 실제 프로그램에 적용하기에는 실제적이지 않다. 본 연구는 자바 클래스 파일에 적용하기 위하여 그들의 방법을 확장하고 구현한다. 자바 클래스 파일로부터 추출한 클래스들과 덩어리들의 구조와 관련성을 얻는다. 이 정보는 JIVE와 같은 자바 프로그램 실행 시각화 도구에게 제공되어 객체 다이어그램의 틀로 사용될 수 있다.

Gestwicki et. al. proposed the technique that detects and predicts the structure of object diagrams from class diagrams to get the improved drawing of object graphs. Their approach finds two predictable structures - recursive clusters and leaf clusters from class diagrams. Their approach is not practical to be applied to real programs, because the starting point is class diagram. In this work, we improve and implement their technique to apply to Java classes. We obtain the structure and relationships of classes and clusters extracted from class files. This information can be provided and used as a template of object graphs for Java execution visualization tools like JIVE.

키워드