io.gsonfire.util.reflection.FieldInspector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gson-fire Show documentation
Show all versions of gson-fire Show documentation
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!
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;
}
}