com.neenbedankt.bundles.annotation.Argument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of argument Show documentation
Show all versions of argument Show documentation
Bundles is a set of annotation processors for Android source code
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