docs: public boolean matches(Object clazz) {
          return clazz instanceof FactTemplate ?
                 this.typeTemplate.equals( clazz ) :
                 this.typeClass.isAssignableFrom( (Class< ? >) clazz );
      }