Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 21 von 42232
International Conference on Software Engineering: Proceedings of the 2005 conference on Specification and verification of component-based systems; 05-06 Sept. 2005, 2005, p.9-es
2005

Details

Autor(en) / Beteiligte
Titel
Non-null references by default in the Java modeling language
Ist Teil von
  • International Conference on Software Engineering: Proceedings of the 2005 conference on Specification and verification of component-based systems; 05-06 Sept. 2005, 2005, p.9-es
Ort / Verlag
ACM
Erscheinungsjahr
2005
Link zum Volltext
Quelle
Association for Computing Machinery
Beschreibungen/Notizen
  • Based on our experiences and those of our peers, we hypothesized that in Java code, the majority of declarations that are of reference types are meant to be non-null. Unfortunately, the Java Modeling Language (JML), like most interface specification and object-oriented programming languages, assumes that such declarations are possibly-null by default. As a consequence, developers need to write specifications that are more verbose than necessary in order to accurately document their module interfaces. In practice, this results in module interfaces being left incompletely and inaccurately specified. In this paper we present the results of a study that confirms our hypothesis. Hence, we propose an adaptation to JML that preserves its language design goals and that allows developers to specify that declarations of reference types are to be interpreted as non-null by default. We explain how this default is safer and results in less writing on the part of specifiers than null-by-default. The paper also reports on an implementation of the proposal in some of the JML tools.
Sprache
Englisch
Identifikatoren
ISBN: 9781595933713, 1595933719
DOI: 10.1145/1123058.1123068
Titel-ID: cdi_proquest_miscellaneous_31381265

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX