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

com.algorithmia.development.Required Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
package com.algorithmia.development;

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

/**
 * Use this annotation when you are expecting a java class as input, and have fields that are required.
 * If you do not annotate a field with this annotation, it will be considered optional, and if missing - will simply be set to null.
 */

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Required {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy