Develhack Core Library
About
The underlying library for Develhack.
This library provides following features.
Description
Annotations for representing assertion
The annotations included in com.develhack.annotation.assertion
package represents assertion of method arguments and properties.
These annotations are intended primarily for documentation, but it is also possible to evaluate by reflection at run time.
Annotations for representing feature
The annotations included in com.develhack.annotation.feature
package represents feature of classes.
These annotations are intended primarily for documentation, but it is also possible to evaluate by reflection at run time.
Functions for condition determination
The static methods prefixed by is
that defined in the com.develhack.Conditions
provides utility functions for determining a condition.
Functions for asserting pre-condition
The static methods prefixed by check
that defined in the com.develhack.Conditions
provides utility functions for check pre-condition.
If violating the pre-conditions, these methods throw the java.lang.IllegalArgumentException
with an appropriate message.
More information
See the Javadoc for more information.
Requirement
-
JDK 1.6 or higher
Usage
Maven
<dependency>
<groupId>com.develhack</groupId>
<artifactId>develhack-core</artifactId>
<version>0.9.3</version>
</dependency>
Gradle
dependencies {
compile 'com.develhack:develhack-core:0.9.3'
}
Otherwise
Download the develhack-core-0.9.3.jar
from the release page.