A graph-based generic type system for object-oriented programs

Wei Ke, Zhiming Liu, Shuling Wang, Liang Zhao

研究成果: Article同行評審

6 引文 斯高帕斯(Scopus)


We present a graph-basedmodel of a generic type system for an OO language. The type system supports the features of recursive types, generics and interfaces, which are commonly found in modern OO languages such as Java. In the classical graph theory, we define type graphs, instantiation graphs and conjunction graphs that naturally illustrate the relations among types, generics and interfaces within complex OO programs. The model employs a combination of nominal and anonymous nodes to represent respectively types that are identified by names and structures, and defines graph-based relations and operations on types including equivalence, subtyping, conjunction and instantiation. Algorithms based on the graph structures are designed for the implementation of the type system. We believe that this type system is important for the development of a graph-based logical foundation of a formal method for verification of and reasoning about OO programs.

頁(從 - 到)109-134
期刊Frontiers of Computer Science
出版狀態Published - 2月 2013


深入研究「A graph-based generic type system for object-oriented programs」主題。共同形成了獨特的指紋。