cz.jalasoft.util.configuration.annotation.Converter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JalasoftUtils Show documentation
Show all versions of JalasoftUtils Show documentation
A collection of utility classes that might be useful.
The newest version!
package cz.jalasoft.util.configuration.annotation;
import cz.jalasoft.util.converter.string.StringConverter;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* A method annotation that contributes to the
* value retrieval by providing a converter from
* string representation to a composite type
*
* Created by Honza Lastovicka on 12.5.15.
*/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Converter {
Class extends StringConverter>> value();
}