code: @Override
      public PageElement getPageElementByKey(String key) {
          PageElement p;
          for (final Field f : getClass().getDeclaredFields()) {
              if (f.getType() == PageElement.class) {
                  try {
                      p = (PageElement) f.get(this);
                  } catch (IllegalArgumentException | IllegalAccessException e) {
                      logger.error("error Page.getPageElementByKey()", e);
                      return null;
                  }
                  if (key.equals(p.getKey())) {
                      return p;
                  }
              }
          }
          return new PageElement(key);
      }
docs: {@inheritDoc}