-
Notifications
You must be signed in to change notification settings - Fork 5
/
ReactorDependencies.java
47 lines (39 loc) · 1.2 KB
/
ReactorDependencies.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package org.genericsystem.reactor.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.genericsystem.reactor.az.GSTagImpl;
import org.genericsystem.reactor.az3.GSComposite.GSContentComponent;
/**
* @author Nicolas Feybesse
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Inherited
public @interface ReactorDependencies {
Class<? extends GSTagImpl>[] value();
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Inherited
public @interface ParentReactorDependencies {
int value() default 0;
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Inherited
@Repeatable(ChildReactorDependenciesMult.class)
public @interface ChildReactorDependencies {
Class<? extends GSTagImpl> decorate() default GSContentComponent.class;
Class<? extends GSTagImpl> value();
}
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE })
@Inherited
public @interface ChildReactorDependenciesMult {
ChildReactorDependencies[] value();
}
}