public override void ReflectWith(IAttributeReflector reflector) { reflector.Reflect(typeof(ICharTermAttribute), "term", ToString()); FillBytesRef(); reflector.Reflect(typeof(ITermToBytesRefAttribute), "bytes", BytesRef.DeepCopyOf(Bytes)); }