| | | | Version: 1.0.0 Support Eclipse Version: 3.x License: Free EPL Development Status: Mature Company: Erdal Karaca
| |  | Home Page |  | Plugin Support |  | Discussion Forum |  |
| | Update Site URL: https://custos.dev.java.net/update-site |
Custos is a tool which enables programming by contract in a convenient way using java 5 annotations.
Example:
@Pre(
cond = "name != null",
onFail = "$log.warn( ''setting invalid name: '' + name + '', caller: '' + $st.get(0) )"
)
public void setName( String name ) {
...
} Added on: 17-Mar-2008
|