Assertion-based encapsulation, object invariants and simulations

  • Authors:
  • David A. Naumann

  • Affiliations:
  • Department of Computer Science, Stevens Institute of Technology, Hoboken, NJ

  • Venue:
  • FMCO'04 Proceedings of the Third international conference on Formal Methods for Components and Objects
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In object-oriented programming, reentrant method invocations and shared references make it difficult to achieve adequate encapsulation for sound modular reasoning. This tutorial paper surveys recent progress using auxiliary state (ghost fields) to describe and achieve encapsulation. Encapsulation is assessed in terms of modular reasoning about invariants and simulations.