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

io.gsonfire.util.reflection.FieldInspector Maven / Gradle / Ivy

Go to download

A java library that adds some very useful features to Gson, like Date serializing to unix timestamp or RFC3339, method (getter) serialization, pre and post processors and many more. Check out the documentation to learn how to use it!

There is a newer version: 1.9.0
Show newest version
package io.gsonfire.util.reflection;

import java.lang.reflect.Field;

/**
 * Created by julio on 7/25/15.
 */
public class FieldInspector extends AnnotationInspector {

    @Override
    protected Field[] getDeclaredMembers(Class clazz) {
        return clazz.getDeclaredFields();
    }

    @Override
    protected Field map(Field member) {
        return member;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy