All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softicar.platform.common.core.annotations.NonNull Maven / Gradle / Ivy

Go to download

The SoftiCAR Platform is a lightweight, Java-based library to create interactive business web applications.

There is a newer version: 50.0.0
Show newest version
package com.softicar.platform.common.core.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation defines a Java reference to be non-null.
 * 

* Valid references that can be marked as non-null include method return values, * method parameters and local variables. Such an annotation has two * consequences: *

    *
  • An attempt to bind a null value to the reference is a * compile time error.
  • *
  • Dereferencing the reference is safe, i.e., no * NullPointerException can occur at runtime.
  • *
*/ @Documented @Retention(RetentionPolicy.CLASS) @Target(ElementType.TYPE_USE) public @interface NonNull { // marker annotation with no members }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy