Null Analysis

Code related to NULL analysis

Лицензия

Лицензия

Группа

Группа

com.github.sebhoss
Идентификатор

Идентификатор

null-analysis
Последняя версия

Последняя версия

2.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Null Analysis
Code related to NULL analysis
Ссылка на сайт

Ссылка на сайт

https://github.com/sebhoss/null-analysis
Система контроля версий

Система контроля версий

https://github.com/sebhoss/null-analysis

Скачать null-analysis

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.github.sebhoss/null-analysis/ -->
<dependency>
    <groupId>com.github.sebhoss</groupId>
    <artifactId>null-analysis</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.sebhoss/null-analysis/
implementation 'com.github.sebhoss:null-analysis:2.0.0'
// https://jarcasting.com/artifacts/com.github.sebhoss/null-analysis/
implementation ("com.github.sebhoss:null-analysis:2.0.0")
'com.github.sebhoss:null-analysis:jar:2.0.0'
<dependency org="com.github.sebhoss" name="null-analysis" rev="2.0.0">
  <artifact name="null-analysis" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.sebhoss', module='null-analysis', version='2.0.0')
)
libraryDependencies += "com.github.sebhoss" % "null-analysis" % "2.0.0"
[com.github.sebhoss/null-analysis "2.0.0"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.eclipse.jdt : org.eclipse.jdt.annotation jar

Модули Проекта

Данный проект не имеет модулей.

Null-Analysis Discuss on Google Groups Chat on IRC

CC Zero Maven Central Read JavaDocs Repository size Open Hub statistics

Build Status Code Coverage Coverity Scan Result Codacy Code Quality Can this project be forked? Is this thing still maintained? Bounties on open tickets

Utility library for null analysis in Java projects.

Usage

Convert any @Nullable reference from legacy code to a @NonNull reference by using the Nullsafe utility class:

@Nullable Object myObject = ...
@NonNull Object nonNullObject = Nullsafe.nonNull(myObject);

An IllegalArgumentException is thrown in case myObject is null.

Integration

To use this project just declare the following dependency inside your POM:

<dependency>
  <groupId>de.xn--ho-hia.quality</groupId>
  <artifactId>null-analysis</artifactId>
  <version>${version.null-analysis}</version>
</dependency

Replace ${version.null-analysis} with the latest release. This project follows the semantic versioning guidelines.

Compatibility

This project is compatible with the following Java versions:

Table 1. Java compatibility
3.X.Y

Java 8

License

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.

You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see http://creativecommons.org/publicdomain/zero/1.0/.

Версии библиотеки

Версия
2.0.0
1.0.0