Practical pluggable types for Java

139Citations
Citations of this article
49Readers
Mendeley users who have this article in their library.
Get full text

Abstract

This paper introduces the Checker Framework, which supports adding pluggable type systems to the Java language in a backward-compatible way. A type system designer defines type qualifiers and their semantics, and a compiler plug-in enforces the semantics. Programmers can write the type qualifiers in their programs and use the plug-in to detect or prevent errors. The Checker Framework is useful both to programmers who wish to write error-free code, and to type system designers who wish to evaluate and deploy their type systems. The Checker Framework includes new Java syntax for expressing type qualifiers; declarative and procedural mechanisms for writing type-checking rules; and support for flow-sensitive local type qualifier inference and for polymorphism over types and qualifiers. The Checker Framework is well-integrated with the Java language and toolset. We have evaluated the Checker Framework by writing 5 checkers and running them on over 600K lines of existing code. The checkers found real errors, then confirmed the absence of further errors in the fixed code. The case studies also shed light on the type systems themselves.

Cite

CITATION STYLE

APA

Papi, M. M., Ali, M., Correa, T. L., Perkins, J. H., & Ernst, M. D. (2008). Practical pluggable types for Java. In ISSTA’08: Proceedings of the 2008 International Symposium on Software Testing and Analysis 2008 (pp. 201–211). https://doi.org/10.1145/1390630.1390656

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free