@Override
protected Set<AnnotatedField<? super X>> computeValue() {
ImmutableSet.Builder<AnnotatedField<? super X>> fields = ImmutableSet.builder();
Class<? super X> clazz = javaClass;
while (clazz != Object.class && clazz != null) {
for (Field field : AccessController.doPrivileged(new GetDeclaredFieldsAction(clazz))) {
fields.add(BackedAnnotatedField.of(field, BackedAnnotatedType.this, sharedObjectCache));
}
clazz = clazz.getSuperclass();
}
return fields.build();