An Approach to Decomposing Assertions into Java Codes.

T Li,HJ Yang,BW Xu,L Shi
2005-01-01
Abstract:In this paper, we propose an approach that transforms an assertion composed of a precondition and a postcondition into Java codes using function decomposition. The function decomposition is based on the functions defined by a precondition and a postcondition by means of matching the semantic subroutines in component base, matching the decomposition case in case base and executing the decomposition rules in rule base. The process of decomposition can be described by a decomposition tree. The decomposition process continues until all of the leaves in decomposition tree match the subroutines in component base. By synthesising the information in decomposition tree, a Java program is generated. The approach emphasises users' participation in the decomposition so that they can supply the knowledge that is insufficient in knowledge base.
What problem does this paper attempt to address?