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

shade.com.alibaba.fastjson2.modules.ObjectReaderAnnotationProcessor Maven / Gradle / Ivy

There is a newer version: 1.3.7
Show newest version
package com.alibaba.fastjson2.modules;

import com.alibaba.fastjson2.codec.BeanInfo;
import com.alibaba.fastjson2.codec.FieldInfo;

import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;

public interface ObjectReaderAnnotationProcessor {
    default void getBeanInfo(BeanInfo beanInfo, Class objectClass) {
    }

    default void getFieldInfo(FieldInfo fieldInfo, Class objectClass, Field field) {
    }

    default void getFieldInfo(FieldInfo fieldInfo, Class objectClass, Constructor constructor, int paramIndex, Parameter parameter) {
    }

    default void getFieldInfo(FieldInfo fieldInfo, Class objectClass, Method method, int paramIndex, Parameter parameter) {
    }

    default void getFieldInfo(FieldInfo fieldInfo, Class objectClass, Method method) {
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy