![JAR search and dependency download from the Maven repository](/logo.png)
com.github.fashionbrot.validated.validator.support.AnnotationCustom Maven / Gradle / Ivy
package com.github.fashionbrot.validated.validator.support;
import java.lang.annotation.Annotation;
public interface AnnotationCustom {
/**
* 根据 parmaeter 获取 参数
* 或者跟 field 获取属性
*
* @param annotationClass annotationClass
* @param annotationClass
* @return Annotation
*/
T getDeclaredAnnotation(ParameterType parameterType, Class annotationClass);
/**
* 设置默认值
*
* @param parameterType parameterType
* @param defaultValue defaultValue
* @param objects objects
* @param index index
*/
void setDefault(ParameterType parameterType, Object defaultValue, Object[] objects, int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy