docs: public int getFieldTemplateIndex(final String name) {
          for ( int index = 0; index < this.fields.length; index++ ) {
              if ( this.fields[index].getName().equals( name ) ) {
                  return index;
              }
          }
          return -1;
      }