private boolean isTemporaryField(Field field) {
Annotation[] declaredAnnotations = field.getDeclaredAnnotations();
if (declaredAnnotations != null) {
for (Annotation declaredAnnotation : declaredAnnotations) {
Temporary varTemporary = field.getAnnotation(Temporary.class);
if (varTemporary != null) {
return true;
}
}
}