com.arm.mbed.cloud.sdk.annotations.DefaultValue Maven / Gradle / Ivy
package com.arm.mbed.cloud.sdk.annotations;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
import static java.lang.annotation.ElementType.PARAMETER;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Preamble(description = "Specifies the default value of an element (e.g. field, parameter, etc).")
@Documented
@Retention(RUNTIME)
@Target({ FIELD, PARAMETER, LOCAL_VARIABLE })
public @interface DefaultValue {
public String value() default "N/A";
}