private static Skip.Policy findActualSkipPolicy(Class<?> type, Skip.Policy override) {
if (override != null) {
return override;
}
Skip skip = type.getAnnotation(Skip.class);
if (skip != null && skip.value() != null) {
return skip.value();
} else {
return Skip.Policy.EMPTY;
}
}