jContractor 介绍
jContractor is a 100% pure Java implementation of Design By Contract for the
Java language. Contracts are written as methods that follow a simple naming
convention. jContractor provides runtime contract checking by instrumenting
the bytecode of classes that define contracts. jContractor can either add
contract checking code to class files to be executed later, or it can
instrument classes at runtime as they are loaded. All contracts are written in
standard Java, so there is no need to learn a special contract specification
language. jContractor is purely library based, requires no preprocessing or
modifications to the JVM.
jContractor 官网
http://jcontractor.sourceforge.net/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。