public class org.apache.lucene.search.TokenStreamToTermAutomatonQuery
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.lucene.search.TokenStreamToTermAutomatonQuery
  super_class: java.lang.Object
{
  private boolean preservePositionIncrements;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 35
            ldc Lorg/apache/lucene/search/TokenStreamToTermAutomatonQuery;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.lucene.search.TokenStreamToTermAutomatonQuery.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.search.TokenStreamToTermAutomatonQuery this
         0: .line 40
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 41
            aload 0 /* this */
            iconst_1
            putfield org.apache.lucene.search.TokenStreamToTermAutomatonQuery.preservePositionIncrements:Z
         2: .line 42
            return
        end local 0 // org.apache.lucene.search.TokenStreamToTermAutomatonQuery this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/lucene/search/TokenStreamToTermAutomatonQuery;

  public void setPreservePositionIncrements(boolean);
    descriptor: (Z)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.search.TokenStreamToTermAutomatonQuery this
        start local 1 // boolean enablePositionIncrements
         0: .line 46
            aload 0 /* this */
            iload 1 /* enablePositionIncrements */
            putfield org.apache.lucene.search.TokenStreamToTermAutomatonQuery.preservePositionIncrements:Z
         1: .line 47
            return
        end local 1 // boolean enablePositionIncrements
        end local 0 // org.apache.lucene.search.TokenStreamToTermAutomatonQuery this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0    2     0                      this  Lorg/apache/lucene/search/TokenStreamToTermAutomatonQuery;
            0    2     1  enablePositionIncrements  Z
    MethodParameters:
                          Name  Flags
      enablePositionIncrements  

  public org.apache.lucene.search.TermAutomatonQuery toQuery(java.lang.String, org.apache.lucene.analysis.TokenStream);
    descriptor: (Ljava/lang/String;Lorg/apache/lucene/analysis/TokenStream;)Lorg/apache/lucene/search/TermAutomatonQuery;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=15, args_size=3
        start local 0 // org.apache.lucene.search.TokenStreamToTermAutomatonQuery this
        start local 1 // java.lang.String field
        start local 2 // org.apache.lucene.analysis.TokenStream in
         0: .line 56
            aload 2 /* in */
            ldc Lorg/apache/lucene/analysis/tokenattributes/TermToBytesRefAttribute;
            invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
            checkcast org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute
            astore 3 /* termBytesAtt */
        start local 3 // org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute termBytesAtt
         1: .line 57
            aload 2 /* in */
            ldc Lorg/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute;
            invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
            checkcast org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
            astore 4 /* posIncAtt */
        start local 4 // org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAtt
         2: .line 58
            aload 2 /* in */
            ldc Lorg/apache/lucene/analysis/tokenattributes/PositionLengthAttribute;
            invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
            checkcast org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute
            astore 5 /* posLengthAtt */
        start local 5 // org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute posLengthAtt
         3: .line 59
            aload 2 /* in */
            ldc Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
            invokevirtual org.apache.lucene.analysis.TokenStream.addAttribute:(Ljava/lang/Class;)Lorg/apache/lucene/util/Attribute;
            checkcast org.apache.lucene.analysis.tokenattributes.OffsetAttribute
            astore 6 /* offsetAtt */
        start local 6 // org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAtt
         4: .line 61
            aload 2 /* in */
            invokevirtual org.apache.lucene.analysis.TokenStream.reset:()V
         5: .line 63
            new org.apache.lucene.search.TermAutomatonQuery
            dup
            aload 1 /* field */
            invokespecial org.apache.lucene.search.TermAutomatonQuery.<init>:(Ljava/lang/String;)V
            astore 7 /* query */
        start local 7 // org.apache.lucene.search.TermAutomatonQuery query
         6: .line 65
            iconst_m1
            istore 8 /* pos */
        start local 8 // int pos
         7: .line 67
            iconst_0
            istore 9 /* maxOffset */
        start local 9 // int maxOffset
         8: .line 68
            iconst_m1
            istore 10 /* maxPos */
        start local 10 // int maxPos
         9: .line 69
            iconst_m1
            istore 11 /* state */
        start local 11 // int state
        10: .line 70
            goto 30
        11: .line 71
      StackMap locals: org.apache.lucene.search.TokenStreamToTermAutomatonQuery java.lang.String org.apache.lucene.analysis.TokenStream org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute org.apache.lucene.analysis.tokenattributes.OffsetAttribute org.apache.lucene.search.TermAutomatonQuery int int int int
      StackMap stack:
            aload 4 /* posIncAtt */
            invokeinterface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute.getPositionIncrement:()I
            istore 12 /* posInc */
        start local 12 // int posInc
        12: .line 72
            aload 0 /* this */
            getfield org.apache.lucene.search.TokenStreamToTermAutomatonQuery.preservePositionIncrements:Z
            ifne 14
            iload 12 /* posInc */
            iconst_1
            if_icmple 14
        13: .line 73
            iconst_1
            istore 12 /* posInc */
        14: .line 75
      StackMap locals: int
      StackMap stack:
            getstatic org.apache.lucene.search.TokenStreamToTermAutomatonQuery.$assertionsDisabled:Z
            ifne 15
            iload 8 /* pos */
            iconst_m1
            if_icmpgt 15
            iload 12 /* posInc */
            ifgt 15
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        15: .line 77
      StackMap locals:
      StackMap stack:
            iload 12 /* posInc */
            iconst_1
            if_icmple 17
        16: .line 78
            new java.lang.IllegalArgumentException
            dup
            ldc "cannot handle holes; to accept any term, use '*' term"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 81
      StackMap locals:
      StackMap stack:
            iload 12 /* posInc */
            ifle 19
        18: .line 83
            iload 8 /* pos */
            iload 12 /* posInc */
            iadd
            istore 8 /* pos */
        19: .line 86
      StackMap locals:
      StackMap stack:
            iload 8 /* pos */
            aload 5 /* posLengthAtt */
            invokeinterface org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute.getPositionLength:()I
            iadd
            istore 13 /* endPos */
        start local 13 // int endPos
        20: .line 87
            goto 22
        21: .line 88
      StackMap locals: int
      StackMap stack:
            aload 7 /* query */
            invokevirtual org.apache.lucene.search.TermAutomatonQuery.createState:()I
            istore 11 /* state */
        22: .line 87
      StackMap locals:
      StackMap stack:
            iload 11 /* state */
            iload 13 /* endPos */
            if_icmplt 21
        23: .line 91
            aload 3 /* termBytesAtt */
            invokeinterface org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute.getBytesRef:()Lorg/apache/lucene/util/BytesRef;
            astore 14 /* term */
        start local 14 // org.apache.lucene.util.BytesRef term
        24: .line 93
            aload 14 /* term */
            getfield org.apache.lucene.util.BytesRef.length:I
            iconst_1
            if_icmpne 27
            aload 14 /* term */
            getfield org.apache.lucene.util.BytesRef.bytes:[B
            aload 14 /* term */
            getfield org.apache.lucene.util.BytesRef.offset:I
            baload
            bipush 42
            if_icmpne 27
        25: .line 94
            aload 7 /* query */
            iload 8 /* pos */
            iload 13 /* endPos */
            invokevirtual org.apache.lucene.search.TermAutomatonQuery.addAnyTransition:(II)V
        26: .line 95
            goto 28
        27: .line 96
      StackMap locals: org.apache.lucene.util.BytesRef
      StackMap stack:
            aload 7 /* query */
            iload 8 /* pos */
            iload 13 /* endPos */
            aload 14 /* term */
            invokevirtual org.apache.lucene.search.TermAutomatonQuery.addTransition:(IILorg/apache/lucene/util/BytesRef;)V
        28: .line 99
      StackMap locals:
      StackMap stack:
            iload 9 /* maxOffset */
            aload 6 /* offsetAtt */
            invokeinterface org.apache.lucene.analysis.tokenattributes.OffsetAttribute.endOffset:()I
            invokestatic java.lang.Math.max:(II)I
            istore 9 /* maxOffset */
        29: .line 100
            iload 10 /* maxPos */
            iload 13 /* endPos */
            invokestatic java.lang.Math.max:(II)I
            istore 10 /* maxPos */
        end local 14 // org.apache.lucene.util.BytesRef term
        end local 13 // int endPos
        end local 12 // int posInc
        30: .line 70
      StackMap locals:
      StackMap stack:
            aload 2 /* in */
            invokevirtual org.apache.lucene.analysis.TokenStream.incrementToken:()Z
            ifne 11
        31: .line 103
            aload 2 /* in */
            invokevirtual org.apache.lucene.analysis.TokenStream.end:()V
        32: .line 108
            aload 7 /* query */
            iload 11 /* state */
            iconst_1
            invokevirtual org.apache.lucene.search.TermAutomatonQuery.setAccept:(IZ)V
        33: .line 109
            aload 7 /* query */
            invokevirtual org.apache.lucene.search.TermAutomatonQuery.finish:()V
        34: .line 111
            aload 7 /* query */
            areturn
        end local 11 // int state
        end local 10 // int maxPos
        end local 9 // int maxOffset
        end local 8 // int pos
        end local 7 // org.apache.lucene.search.TermAutomatonQuery query
        end local 6 // org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAtt
        end local 5 // org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute posLengthAtt
        end local 4 // org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAtt
        end local 3 // org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute termBytesAtt
        end local 2 // org.apache.lucene.analysis.TokenStream in
        end local 1 // java.lang.String field
        end local 0 // org.apache.lucene.search.TokenStreamToTermAutomatonQuery this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   35     0          this  Lorg/apache/lucene/search/TokenStreamToTermAutomatonQuery;
            0   35     1         field  Ljava/lang/String;
            0   35     2            in  Lorg/apache/lucene/analysis/TokenStream;
            1   35     3  termBytesAtt  Lorg/apache/lucene/analysis/tokenattributes/TermToBytesRefAttribute;
            2   35     4     posIncAtt  Lorg/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute;
            3   35     5  posLengthAtt  Lorg/apache/lucene/analysis/tokenattributes/PositionLengthAttribute;
            4   35     6     offsetAtt  Lorg/apache/lucene/analysis/tokenattributes/OffsetAttribute;
            6   35     7         query  Lorg/apache/lucene/search/TermAutomatonQuery;
            7   35     8           pos  I
            8   35     9     maxOffset  I
            9   35    10        maxPos  I
           10   35    11         state  I
           12   30    12        posInc  I
           20   30    13        endPos  I
           24   30    14          term  Lorg/apache/lucene/util/BytesRef;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      field  
      in     
}
SourceFile: "TokenStreamToTermAutomatonQuery.java"