2007
DOI: 10.1007/s11219-006-9001-4
|View full text |Cite
|
Sign up to set email alerts
|

Specifying and checking method call sequences of Java programs

Abstract: Abstract. In a pre and postcondition-style specification, it is difficult to specify the allowed sequences of method calls, referred to as protocols. The protocols are essential properties of reusable object-oriented classes and application frameworks, and the approaches based on the pre and postconditions, such as design by contracts (DBC) and formal behavioral interface specification languages (BISL), are being accepted as a practical and effective tool for describing precise interfaces of (reusable) program… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
43
0

Year Published

2014
2014
2020
2020

Publication Types

Select...
6
1

Relationship

1
6

Authors

Journals

citations
Cited by 35 publications
(43 citation statements)
references
References 16 publications
0
43
0
Order By: Relevance
“…As an important consequence, no change in the implementation of the statebased assertion checker is needed, in contrast to the following works. Cheon and Perumandla present in [6] an extension of the JML compiler with call sequence assertions. Call sequence assertions are regular expressions (proper context-free grammars cannot be handled) over method names and the data sent in calls and returns is not considered.…”
Section: Resultsmentioning
confidence: 99%
“…As an important consequence, no change in the implementation of the statebased assertion checker is needed, in contrast to the following works. Cheon and Perumandla present in [6] an extension of the JML compiler with call sequence assertions. Call sequence assertions are regular expressions (proper context-free grammars cannot be handled) over method names and the data sent in calls and returns is not considered.…”
Section: Resultsmentioning
confidence: 99%
“…As an example, one can use regular expressions to specify the order in which functions or methods in a program should be called [18]. Such specifications describe the control-flow of the program.…”
Section: Run-time Checking Of Object-oriented Programsmentioning
confidence: 99%
“…As a specification language for object-oriented programs, regular expressions can be used to denote valid histories [18]. In this setting, the alphabet symbols correspond to method names, histories are represented as sequences of such alphabet symbols, and the valid histories are the words of the regular language.…”
Section: Regular Expressionsmentioning
confidence: 99%
See 2 more Smart Citations