Example usage for Java com.google.gson FieldAttributes fields, constructors, methods, implement or subclass
The text is from its open source code.
FieldAttributes(Field f) Constructs a Field Attributes object from the f . |
T | getAnnotation(Class Return the T annotation object from this field if it exist; otherwise returns null . |
Class> | getDeclaredClass() Returns the Class object that was declared for this field. |
Type | getDeclaredType() For example, assume the following class definition: public class Foo { private String bar; private List<String> red; } Type listParameterizedType = new TypeToken<List<String>>() {}.getType(); This method would return String.class for the bar field and listParameterizedType for the red field. |
Class> | getDeclaringClass() |
String | getName() |