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

com.sjx.annotation.convert.ConvertClass Maven / Gradle / Ivy

The newest version!
package com.sjx.annotation.convert;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.List;

/**
 * author: hanwang
 * time: 2020/9/27  17:30
 * 通过Class指定转化器
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.CLASS)
public @interface ConvertClass {

       String simpleArg() default "";


       /**
        * 转化器的Class
        * @return
        */
       Class convertClass() ;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy