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

com.neenbedankt.bundles.annotation.Argument Maven / Gradle / Ivy

The newest version!
package com.neenbedankt.bundles.annotation;

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

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.SOURCE)
public @interface Argument {
    /**
     * Specifies if the argument is required (default) or not
     * @return true if required, false otherwise
     */
    boolean required() default true;
    /**
     * Key in the arguments bundle, by default uses the field name, minus the "m" prefix.
     */
    String key() default "";
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy