Won't Fix
Details
Assignee
UnassignedUnassignedReporter
Hardy FerentschikHardy FerentschikLabels
Participants
Gunnar MorlingHardy FerentschikComponents
Affects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Hardy Ferentschik
Hardy FerentschikLabels
Participants
Gunnar Morling
Hardy Ferentschik
Components
Affects versions
Priority
Created February 9, 2011 at 2:52 PM
Updated December 3, 2024 at 9:26 AM
Resolved January 27, 2017 at 10:40 AM
Google released Contract for Java - http://code.google.com/p/cofoja/ - which is a Java implementations for Design by Contract. Googles version uses a set of annotations, an annotation processor and a runtime java agent (see their documentation).
We have all the pieces for doing this as well.
We have the constraint annotations
We have an annotation processor (obviously it does something else now, but we know how to write one)
And we have Byteman
I wonder whether we couldn't put these things together and create our own Contract for Java.