Bridging the Gap between Algebraic Specification and Object-Oriented Generic Programming

被引:0
作者
Nunes, Isabel [1 ]
Lopes, Antonia [1 ]
Vasconcelos, Vasco T. [1 ]
机构
[1] Univ Lisbon, Fac Sci, P-1749016 Lisbon, Portugal
来源
RUNTIME VERIFICATION | 2009年 / 5779卷
关键词
CHECKING; VERIFICATION;
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Although generics became quite popular in mainstream object-oriented languages and several specification languages exist that support the description of generic components, conformance relations between object-oriented programs and formal specifications that have been established so far do not address genericity. In this paper we propose a notion of refinement mapping that allows to define correspondences between parameterized specifications and generic Java classes. Based on Such mappings, we put forward a conformance notion useful for the extension of CONGU, a tool-based approach we have been developing to Support runtime conformance checking of Java programs against algebraic specifications, so that it becomes applicable to a more comprehensive range of situations, namely those that appear in the context of a typical Algorithms and Data Structures Course.
引用
收藏
页码:115 / 131
页数:17
相关论文
共 21 条
[1]  
[Anonymous], 1997, Object-oriented software construction
[2]  
[Anonymous], LNCS
[3]   USING TERM REWRITING TO VERIFY SOFTWARE [J].
ANTOY, S ;
GANNON, J .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1994, 20 (04) :259-274
[4]   Automatically checking an implementation against its formal specification [J].
Antoy, S ;
Hamlet, D .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2000, 26 (01) :55-69
[5]  
ASPINALL D, 2002, LNCS, V2422, P1
[6]   Runtime verification of .NET contracts [J].
Barnett, M ;
Schulte, W .
JOURNAL OF SYSTEMS AND SOFTWARE, 2003, 65 (03) :199-208
[7]  
BARNETT M, 2001, P WORKSH SPEC VER CO
[8]  
Bidoit M, 1999, LECT NOTES COMPUT SC, V1548, P341
[9]  
Chen F, 2005, LECT NOTES COMPUT SC, V3440, P546
[10]  
CHEN F, 2005, MSRTR2005146