aboutsummaryrefslogtreecommitdiff
path: root/src/org/gnunet/construct/Union.java
blob: 887d75e3d0e1e6aa6a92c411fbd00eee7229a03b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package org.gnunet.construct;


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.RUNTIME)
public @interface Union {
    String tag();
    boolean optional() default false;
}