All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fuchss.configuration.annotations.SetParser Maven / Gradle / Ivy

The newest version!
package org.fuchss.configuration.annotations;

import org.fuchss.configuration.Configurable;
import org.fuchss.configuration.parser.Parser;

import java.lang.annotation.*;

/**
 * This annotation has to be applied to Fields of a {@link Configurable} which
 * shall be set by a specified {@link Parser}. This will override the default
 * and the {@link ClassParser}
 *
 * @author Dominik Fuchss
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
public @interface SetParser {
	/**
	 * Get the parser-type.
	 *
	 * @return the parser type
	 */
	Class value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy