| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Welcome to the LiquidJava examples repository!
This collection demonstrates how to use LiquidJava, a powerful extension for Java that enables expressive type refinements through annotations. Whether you're new to LiquidJava or looking to deepen your understanding, these examples will help you explore its capabilities and learn how to enhance your Java code with sophisticated type checking.
For more information about LiquidJava, visit our website!
🚀 Check the following video on the setup:

If the automatic setup didn't work correctly, follow these manual steps:
Install Git LFS if not already installed:
sudo apt-get update && sudo apt-get install -y git-lfs
git lfs installPull LFS files:
git lfs pullInstall the extension:
Alternatively, use the terminal:
code --install-extension extension/liquid-java-0.0.15.vsixEnsure the redhat extension for Language Support for Java™ is installed and enabled.
Open examples:
code examples/demo/src/If you see "End of central directory record signature not found" or similar errors:
This is likely a Git LFS issue. Make sure Git LFS is installed and run:
git lfs pullVerify the VSIX file isn't just a pointer:
cat ./extension/liquid-java-0.0.15.vsix | headexamples/demo/lib folder contains the api jar that you can use in your projects.
liquidjava-examples/ ├── examples/ │ ├── demo/ # Simple demo examples │ │ ├── src/main/java/com/example # Examples start with "Test*.java" ├── user_study_23/ # Example projects used for user study of 2023 │ ├── part1-plainJava/ # Java projects without LiquidJava │ ├── part3-liquidJava/ # Projects with LiquidJava annotations │ └── part4/ # Files to be annotated with LiquidJava ├── extension/ # Contains the VSIX extension file ...
Contains Java projects without LiquidJava. Open one of the folders on VS Code and find the error.
Contains LiquidJava projects.
Open one of the folders on VS Code with the extension running. Uncomment the code in the Test file and find the error. You can open the folder through the terminal by going to the correct path and typing code or open through the VS Code GUI.
Contains Java files to be annotated with LiquidJava.
For extension development:
| Back | FazBrowse Home | New Git URL |