Package io.datarouter.gson
Class GsonReflectionTool
java.lang.Object
io.datarouter.gson.GsonReflectionTool
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDeclaredFieldsIncludingAncestors(Class<?> clazz) This will return a list of all the fields declared in the given class and in its super types.
-
Constructor Details
-
GsonReflectionTool
public GsonReflectionTool()
-
-
Method Details
-
getDeclaredFieldsIncludingAncestors
This will return a list of all the fields declared in the given class and in its super types.- Parameters:
clazz- class from which the field list will be extracted.- Returns:
- a list of the inherited declared Fields not including any declared field from YourClass.
-