LiquidJava
Refinement types and typestate verification for JavaLiquidJava - Extending Java with Liquid Types
Catch bugs before runtime with compile-time verification
Welcome to LiquidJava!
LiquidJava adds refinement types and typestates to Java through annotations, enabling static verification that catches errors traditional type systems miss.
Quick Example
@Refinement("a > 0")
int a = 3; // ✓ verified safe
a = -8; // ✗ compile error
Key Features
- Refinement types - Express constraints beyond basic types
- Typestate verification - Track object state transitions
- SMT-backed - Powered by Z3 solver
- IDE integration - Real-time feedback in VS Code
- Lightweight - Annotation-based, works with existing Java code
Resources
📦 VS Code Extension
📚 Tutorial
💡 Examples
📖 Research Paper (ICSE 2023)
Learn more in the LiquidJava website.
Pinned Loading
-
liquidjava liquidjava Public
Refinement type checker for Java with liquid types and typestates - catch bugs at compile time
-
vscode-liquidjava vscode-liquidjava Public
VS Code extension for LiquidJava - real-time refinement type checking with LSP integration
-
liquidjava-tutorial liquidjava-tutorial Public
Tutorial Guide for LiquidJava
Repositories
Showing 10 of 15 repositories-
latte
Public
Lightweight aliasing tracking for Java - static analysis tool for pointer analysis
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/latte's past year of commit activity Java 3 1 8 2 Updated Dec 2, 2026 -
liquidjava-mcp
Public
A Java MCP server that exposes LiquidJava verification tools to LLM agents over stdio
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquidjava-mcp's past year of commit activity Java 1 MIT 0 0 1 Updated Dec 2, 2026 -
liquidjava
Public
Refinement type checker for Java with liquid types and typestates - catch bugs at compile time
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquidjava's past year of commit activity Java 74 MIT 39 81 (5 issues need help) 15 Updated Nov 30, 2026 -
vscode-liquidjava
Public
VS Code extension for LiquidJava - real-time refinement type checking with LSP integration
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/vscode-liquidjava's past year of commit activity TypeScript 6 MIT 1 8 2 Updated Nov 23, 2026 -
liquid-java.github.io
Public
Organization webpage
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquid-java.github.io's past year of commit activity CSS 0 1 0 2 Updated Nov 23, 2026 -
liquidjava-docs
Public
LiquidJava Documentation
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquidjava-docs's past year of commit activity JavaScript 0 0 1 3 Updated Nov 16, 2026 -
liquidjava-fsm
Public
LiquidJava state machine parser used by the VS Code language server and MCP server
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquidjava-fsm's past year of commit activity Java 0 MIT 0 0 0 Updated Nov 11, 2026 -
liquidjava-interactive-tutorial
Public
Interactive Tutorial for LiquidJava
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquidjava-interactive-tutorial's past year of commit activity JavaScript 0 MIT 0 0 1 Updated Oct 5, 2026 -
liquidjava-examples
Public
Code examples demonstrating LiquidJava refinement types and typestate verification
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/liquidjava-examples's past year of commit activity Java 5 2 0 0 Updated Aug 21, 2026 -
study
Public
LiquidJava user study
Uh oh!
There was an error while loading. Please reload this page.
liquid-java/study's past year of commit activity Java 0 0 0 0 Updated Aug 21, 2026
People
This organization has no public members. You must be a member to see who’s a part of this organization.
Top languages
Loading…
Uh oh!
There was an error while loading. Please reload this page.
Most used topics
Loading…
Uh oh!
There was an error while loading. Please reload this page.
