• Home
  • Search
  • Compile-time type-checking for custom type qualifiers in Java
  • Open Access IconOpen Access
  • Cite Icon7
  • https://doi.org/10.1145/1297846.1297899Copy DOI Icon

Compile-time type-checking for custom type qualifiers in Java

  • Oct 20, 2007
  • Matthew M Papi +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We have created a system that enables programmers to add custom type qualifiers to the Java language in a backward-compatible way. The system allows programmers to write type qualifiers in their programs and to create compiler plug-ins that enforce the semantics of these qualifiers at compile time. The system builds on existing Java tools and APIs, and on JSR 308.As an example, we introduce a plug-in to Sun's Java compiler that uses our system to type-check the NonNull qualifier. Programmers can use the @NonNull annotation to prohibit an object reference from being null; then, by invoking a Java compiler with the NonNull plug-in, they can check for NonNull errors at compile time and rid their programs of null-pointer exceptions.

Similar Papers
  • Conference Article
  • Citations9

Granullar: gradual nullable types for Java

  • Feb 05, 2017
  • Dan Brotherston +2
  • Conference Article

Automatic Localization of Potential Faults for Java Runtime Exceptions

  • Aug 01, 2022
  • Hongning Miao +1
  • Conference Article
  • Citations2

Ensuring correct cryptographic algorithm and provider usage at compile time

  • Jul 11, 2021
  • Weitian Xing +2
  • PDF
  • Conference Article
  • Citations4

Practical Inference of Nullability Types

  • Nov 30, 2023
  • Nima Karimipour +3
  • Conference Article
  • Citations33

NullAway: practical type-based null safety for Java

  • Aug 12, 2019
  • Subarno Banerjee +2
  • Research Article
  • Citations7

CACAO — A 64-bit JavaVM just‐in‐time compiler

  • Nov 01, 1997
  • Concurrency: Practice and Experience
  • Andreas Krall +1
  • Research Article
  • Citations75

CACAO — A 64-bit JavaVM just-in-time compiler

  • Nov 01, 1997
  • Concurrency: Practice and Experience
  • Andreas Krall +1
  • Conference Article
  • Citations2

Enforcing correct array indexes with a type system

  • Nov 01, 2016
  • Joseph Santino
  • Book Chapter
  • Citations1

Compiler Plugins Can Handle Nested Languages: AST-Level Expansion of LINQ Queries for Java

  • Jan 01, 2010
  • Miguel Garcia
  • Conference Article
  • Citations14

Introduction to Programming with Java 3D

  • Jan 01, 1998
  • Eurographics
  • David R Nadeau +1
  • Conference Article

CheckMyCode: Assignment Submission System with Cloud-Based Java Compiler

  • Aug 24, 2020
  • Afiqah M Azahari +3
  • Book Chapter
  • Citations6

Queryll: Java Database Queries Through Bytecode Rewriting

  • Jan 01, 2006
  • Ming-Yee Iu +1
  • Research Article
  • Citations1

Language-Dependent performance of design patterns

  • May 01, 2003
  • ACM SIGSOFT Software Engineering Notes
  • Edward A Billard
  • Conference Article
  • Citations1

Verifying Determinism in Sequential Programs

  • May 01, 2021
  • Rashmi Mudduluru +3
  • Conference Article
  • Citations185

Practical pluggable types for java

  • Jul 20, 2008
  • Matthew M Papi +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.