Package com.restfb.util
Class ReflectionUtils.FieldWithAnnotation<T extends Annotation>
- java.lang.Object
-
- com.restfb.util.ReflectionUtils.FieldWithAnnotation<T>
-
- Enclosing class:
- ReflectionUtils
public static class ReflectionUtils.FieldWithAnnotation<T extends Annotation> extends Object
A field/annotation pair.- Author:
- Mark Allen
-
-
Constructor Summary
Constructors Constructor Description FieldWithAnnotation(Field field, T annotation)
Creates a field/annotation pair.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getAnnotation()
Gets the annotation on the field.Field
getField()
Gets the field.String
toString()
-
-
-
Constructor Detail
-
FieldWithAnnotation
public FieldWithAnnotation(Field field, T annotation)
Creates a field/annotation pair.- Parameters:
field
- A field.annotation
- An annotation on the field.
-
-