2003 · 186 citations · 13 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringAnnotationData TypesObject-oriented AnalysisObject-oriented ProgrammingType CheckingType SystemsNullable TypesObject-oriented ArchitectureRuntime Type CheckingStatic Type CheckingType ConstructorsType-level Programming
Distinguishing non-null references from possibly-null references at the type level can detect null-related errors in object-oriented programs at compile-time. This paper gives a proposal for retrofitting a language such as C# or Java with non-null types. It addresses the central complications that arise in constructors, where declared non-null fields may not yet have been initialized, but the partially constructed object is already accessible. The paper reports experience with an implementation for annotating and checking null-related properties in C# programs.
13
Extended static checking for Java
Cormac Flanagan, K. Rustan M. Leino, Mark Lillibridge et al. · 2002 · 1.3K citations
Trevor Jim, J. Greg Morrisett, Dan Grossman et al. · 2002 · 618 citations
From system F to typed assembly language
Greg Morrisett, David Walker, Karl Crary et al. · ACM Transactions on Programming Languages and Systems · 1999 · 587 citations · Full text
George C. Necula, Scott McPeak, Westley Weimer · ACM SIGPLAN Notices · 2012 · 511 citations
Enforcing high-level protocols in low-level software
Robert DeLine, Manuel Fähndrich · 2001 · 487 citations