summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/configuration/FieldMarker.java
blob: 1d59fa3fcd732ed8214009a71aa7086368767a50 (plain)
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
package bjc.utils.configuration;

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

/**
 * Annotation to bind a field to a field in a config file
 * 
 * @author ben
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
public @interface FieldMarker {
	/**
	 * The type of config field being represented
	 * 
	 * @return The type of config field being represented
	 */
	public FieldType value();
}