public class ValidateCache
extends java.lang.Object
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.annotation.Annotation[] |
getAnnotationsByField(java.lang.reflect.Field field) |
java.util.Set<java.lang.reflect.Field> |
getFieldsByClass(java.lang.Class classType) |
static ValidateCache |
getInstance() |
void |
setClassFields(java.lang.Class classType,
java.util.Set<java.lang.reflect.Field> fieldSet) |
void |
setFieldAnnotations(java.lang.reflect.Field field,
java.lang.annotation.Annotation[] annotations) |
public static ValidateCache getInstance()
public void setClassFields(java.lang.Class classType,
java.util.Set<java.lang.reflect.Field> fieldSet)
public void setFieldAnnotations(java.lang.reflect.Field field,
java.lang.annotation.Annotation[] annotations)
public java.util.Set<java.lang.reflect.Field> getFieldsByClass(java.lang.Class classType)
public java.lang.annotation.Annotation[] getAnnotationsByField(java.lang.reflect.Field field)