Uses of Class
com.restfb.util.ReflectionUtils.FieldWithAnnotation
-
Packages that use ReflectionUtils.FieldWithAnnotation Package Description com.restfb Contains types used to interact with the Facebook Graph API.com.restfb.util -
-
Uses of ReflectionUtils.FieldWithAnnotation in com.restfb
Methods in com.restfb with parameters of type ReflectionUtils.FieldWithAnnotation Modifier and Type Method Description protected String
DefaultJsonMapper. getFacebookFieldName(ReflectionUtils.FieldWithAnnotation<Facebook> fieldWithAnnotation)
For a Java field annotated with theFacebook
annotation, figure out what the corresponding Facebook JSON field name to map to it is.protected void
DefaultJsonMapper. logMultipleMappingFailedForField(String facebookFieldName, ReflectionUtils.FieldWithAnnotation<Facebook> fieldWithAnnotation, String json)
Dumps out a log message when one of a multiple-mapped Facebook field name JSON-to-Java mapping operation fails.protected Object
DefaultJsonMapper. toJavaType(ReflectionUtils.FieldWithAnnotation<Facebook> fieldWithAnnotation, JsonObject jsonObject, String facebookFieldName)
Extracts JSON data for a field according to itsFacebook
annotation and returns it converted to the proper Java type.Method parameters in com.restfb with type arguments of type ReflectionUtils.FieldWithAnnotation Modifier and Type Method Description protected Set<String>
DefaultJsonMapper. facebookFieldNamesWithMultipleMappings(List<ReflectionUtils.FieldWithAnnotation<Facebook>> fieldsWithAnnotation)
Finds any Facebook JSON fields that are mapped to more than 1 Java field. -
Uses of ReflectionUtils.FieldWithAnnotation in com.restfb.util
Methods in com.restfb.util that return types with arguments of type ReflectionUtils.FieldWithAnnotation Modifier and Type Method Description static <T extends Annotation>
List<ReflectionUtils.FieldWithAnnotation<T>>ReflectionUtils. findFieldsWithAnnotation(Class<?> type, Class<T> annotationType)
Finds fields on the giventype
and all of its superclasses annotated with annotations of typeannotationType
.
-