-
Notifications
You must be signed in to change notification settings - Fork 5
/
ForEach.java
31 lines (26 loc) · 857 Bytes
/
ForEach.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package org.genericsystem.reactor.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.function.Supplier;
import org.genericsystem.reactor.annotations.ForEach.ForEachs;
import org.genericsystem.reactor.az.GSTagImpl;
import org.genericsystem.reactor.model.ObservableListExtractor;
/**
* @author Nicolas Feybesse
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Repeatable(ForEachs.class)
public @interface ForEach {
Class<? extends GSTagImpl>[] path() default {};
Class<? extends Supplier<ObservableListExtractor>> value();
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
public @interface ForEachs {
ForEach[] value();
}
}