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

com.softicar.platform.common.core.annotations.Nullable 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 null-able.
 * 

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

    *
  • Binding a null value to the reference is legal.
  • *
  • Dereferencing the reference is unsafe, i.e., a * NullPointerException can occur at runtime.
  • *
*/ @Documented @Retention(RetentionPolicy.CLASS) @Target({ ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE, ElementType.TYPE_PARAMETER, ElementType.TYPE_USE }) public @interface Nullable { // marker annotation with no members }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy