@SuppressWarnings("unchecked")
    @Override
    protected @Nullable GenericAttributeValue<String> getNameElement(Extension extension) {
      return (GenericAttributeValue<String>)getAttribute(extension, "key");
    }
@SuppressWarnings("unchecked")
    @Override
    protected @Nullable GenericAttributeValue<String> getNameElement(Extension extension)