001package com.mrivanplays.annotationconfig.core; 002 003import java.lang.annotation.Documented; 004import java.lang.annotation.ElementType; 005import java.lang.annotation.Repeatable; 006import java.lang.annotation.Retention; 007import java.lang.annotation.RetentionPolicy; 008import java.lang.annotation.Target; 009 010/** Annotation, telling the config writer to write a comment with the specified value. */ 011@Documented 012@Repeatable(Comments.class) 013@Retention(RetentionPolicy.RUNTIME) 014@Target({ElementType.FIELD, ElementType.TYPE}) 015public @interface Comment { 016 017 /** 018 * The comment you want to specify. 019 * 020 * @return comment 021 */ 022 String value(); 023}