return;
while (c != Object.class) {
for (final Field f : c.getDeclaredFields()) {
if (f.getDeclaredAnnotations().length > 0) {
final AbstractField af = new AbstractField(f);
Parameter p = createParameter(
resource.getResourceClass(),
f.getDeclaringClass(),
isEncoded,
f.getType(),
f.getGenericType(),
f.getAnnotations());
if (null != p) {
af.getParameters().add(p);
resource.getFields().add(af);
}
}
}
c = c.getSuperclass();