take-an-advice - Project Hosting on Google Code - 0 views
-
The aim of this project is to create an AspectJ library making it possible to enforce Java coding policies and to express some of the constraints and semantics of UML directly in the code, making it more expressive and allowing these constraints and semantics to be checked either at compile time or at runtime. The library currently supports semantics related to accessibility, design by contract, relations between objects and the nature of the state of objects.
-
It may be a good idea to use Java annotations for expressing constraints and semantics that are usually absent from Java code. This allows compile time or runtime checks to be performed, and coding policies to be automatically enforced. These annotations can also improve the ability of tools such as Visual Tracer to show richer information about the dynamic structure of a program.