code: public static String getPattern(Object bean, Object target)
      {
          return stream(bean).filter((s)->{return target.equals(getValue(bean, s));}
docs: Returns targets pattern or null if target not found.
  @param bean
  @param target
  @return