delombok.io.github.qsy7.property.api.annotation.PropertySourceIndex Maven / Gradle / Ivy
The newest version!
package io.github.qsy7.property.api.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/** Used to order the property source. TODO: consider allowing this to be overridden at runtime? */
// TODO: also, consider making this more generic @Order and allow it to be placed on classes as well
// to control ordering of multi-bindings
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.LOCAL_VARIABLE, ElementType.FIELD})
public @interface PropertySourceIndex {
int value();
}