code: static Field field(final Class<?> klass, final String name) throws NoSuchFieldException {
          try {
              return klass.getDeclaredField(name);
          } catch (final NoSuchFieldException nsfe) {
              final Class<?> superclass = klass.getSuperclass();
              if (superclass == null) {
                  throw nsfe;
              }
              return field(superclass, name);
          }
      }
docs: ----------------------------------------------------------------------------------------------- java.lang.reflect