GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • LiquidJava Docs
  • Getting Started
  • Setup
  • Overview
  • Annotations
  • @Refinement
  • @RefinementAlias
  • @StateRefinement
  • @ExternalRefinementsFor
  • @Ghost
  • @RefinementPredicate
  • Verification Features
  • Method Calls and Returns
  • Conditionals

This view

  • Original page
  • New address

GeezerVison is showing liquid-java.github.io — Annotations

Annotations

LiquidJava extends Java with logical predicates and object protocol specifications. This section covers the different annotations for writing specifications.

@Refinement

Learn about how to use refinements to specify constraints on variables, fields, parameters, and return values.

@RefinementAlias

Learn how to reuse common refinement predicates with aliases to keep contracts shorter and easier to maintain.

@StateRefinement

Learn how to model protocol-oriented object states and valid method transitions.

@ExternalRefinementsFor

Learn how to refine external libraries that cannot be annotated directly.

@Ghost

Learn how to track logical state that helps express and verify richer object invariants.

@RefinementPredicate

Learn how to declare custom ghost functions and how they relate to ghosts and states.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.