code: public boolean isBeanGenericType() {
          String stripped = type;
          if (isArrayType()) {
              stripped = type.substring(0, type.length() - 2);
          }
          return bean.isTypeGenerifiedBy(stripped);
      }
docs: Checks if the type is the generic type of the bean.
  For example, if the property is of type T or T[] in a bean of Foo[T].
  @return true if matches