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

space.chensheng.wsmessenger.common.component.PropOption Maven / Gradle / Ivy

The newest version!
package space.chensheng.wsmessenger.common.component;

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

@Target(value={ElementType.FIELD})
@Retention(value=RetentionPolicy.RUNTIME)
public @interface PropOption {
	
	/**
	 * The field should not be null.
	 * @return
	 */
	boolean notNull() default false;
	
	/**
	 * Ignore injecting field.
	 * @return
	 */
	boolean ignore() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy