Skip to content

develhack/develhack-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Develhack Core Library

Build Status Coverage Status Coverity Scan Build Status

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

pom.xml
<dependency>
    <groupId>com.develhack</groupId>
    <artifactId>develhack-core</artifactId>
    <version>0.9.3</version>
</dependency>

Gradle

build.gradle
dependencies {
    compile 'com.develhack:develhack-core:0.9.3'
}

Otherwise

Download the develhack-core-0.9.3.jar from the release page.

License