001package com.mrivanplays.annotationconfig.core;
002
003import java.lang.annotation.Documented;
004import java.lang.annotation.ElementType;
005import java.lang.annotation.Retention;
006import java.lang.annotation.RetentionPolicy;
007import java.lang.annotation.Target;
008
009/**
010 * Annotation, representing the config key for the field the annotation is called on. If the
011 * annotation is not present, the field name is used as a key.
012 */
013@Documented
014@Retention(RetentionPolicy.RUNTIME)
015@Target(ElementType.FIELD)
016public @interface Key {
017
018  /**
019   * Key value
020   *
021   * @return key
022   */
023  String value();
024}