public abstract class org.apache.lucene.util.automaton.RunAutomaton implements org.apache.lucene.util.Accountable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.util.automaton.RunAutomaton
super_class: java.lang.Object
{
private static final long BASE_RAM_BYTES;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final org.apache.lucene.util.automaton.Automaton automaton;
descriptor: Lorg/apache/lucene/util/automaton/Automaton;
flags: (0x0010) ACC_FINAL
final int alphabetSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final int size;
descriptor: I
flags: (0x0010) ACC_FINAL
final boolean[] accept;
descriptor: [Z
flags: (0x0010) ACC_FINAL
final int[] transitions;
descriptor: [I
flags: (0x0010) ACC_FINAL
final int[] points;
descriptor: [I
flags: (0x0010) ACC_FINAL
final int[] classmap;
descriptor: [I
flags: (0x0010) ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/automaton/RunAutomaton;
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.util.automaton.RunAutomaton.$assertionsDisabled:Z
3: ldc Lorg/apache/lucene/util/automaton/RunAutomaton;
invokestatic org.apache.lucene.util.RamUsageEstimator.shallowSizeOfInstance:(Ljava/lang/Class;)J
putstatic org.apache.lucene.util.automaton.RunAutomaton.BASE_RAM_BYTES:J
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.apache.lucene.util.automaton.Automaton, int);
descriptor: (Lorg/apache/lucene/util/automaton/Automaton;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
sipush 10000
invokespecial org.apache.lucene.util.automaton.RunAutomaton.<init>:(Lorg/apache/lucene/util/automaton/Automaton;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
0 2 1 a Lorg/apache/lucene/util/automaton/Automaton;
0 2 2 alphabetSize I
MethodParameters:
Name Flags
a
alphabetSize
protected void <init>(org.apache.lucene.util.automaton.Automaton, int, int);
descriptor: (Lorg/apache/lucene/util/automaton/Automaton;II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
putfield org.apache.lucene.util.automaton.RunAutomaton.alphabetSize:I
2: aload 1
iload 3
invokestatic org.apache.lucene.util.automaton.Operations.determinize:(Lorg/apache/lucene/util/automaton/Automaton;I)Lorg/apache/lucene/util/automaton/Automaton;
astore 1
3: aload 0
aload 1
putfield org.apache.lucene.util.automaton.RunAutomaton.automaton:Lorg/apache/lucene/util/automaton/Automaton;
4: aload 0
aload 1
invokevirtual org.apache.lucene.util.automaton.Automaton.getStartPoints:()[I
putfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
5: aload 0
iconst_1
aload 1
invokevirtual org.apache.lucene.util.automaton.Automaton.getNumStates:()I
invokestatic java.lang.Math.max:(II)I
putfield org.apache.lucene.util.automaton.RunAutomaton.size:I
6: aload 0
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
newarray 4
putfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
7: aload 0
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
imul
newarray 10
putfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
8: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
9: new org.apache.lucene.util.automaton.Transition
dup
invokespecial org.apache.lucene.util.automaton.Transition.<init>:()V
astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: goto 23
12: StackMap locals: org.apache.lucene.util.automaton.RunAutomaton org.apache.lucene.util.automaton.Automaton int int org.apache.lucene.util.automaton.Transition int
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
iload 5
aload 1
iload 5
invokevirtual org.apache.lucene.util.automaton.Automaton.isAccept:(I)Z
bastore
13: aload 4
iload 5
putfield org.apache.lucene.util.automaton.Transition.source:I
14: aload 4
iconst_m1
putfield org.apache.lucene.util.automaton.Transition.transitionUpto:I
15: iconst_0
istore 6
start local 6 16: goto 21
17: StackMap locals: int
StackMap stack:
aload 1
aload 4
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
iload 6
iaload
invokevirtual org.apache.lucene.util.automaton.Automaton.next:(Lorg/apache/lucene/util/automaton/Transition;I)I
istore 7
start local 7 18: getstatic org.apache.lucene.util.automaton.RunAutomaton.$assertionsDisabled:Z
ifne 19
iload 7
iconst_m1
if_icmpeq 19
iload 7
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
if_icmplt 19
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
19: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
iload 5
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
imul
iload 6
iadd
iload 7
iastore
end local 7 20: iinc 6 1
StackMap locals:
StackMap stack:
21: iload 6
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
if_icmplt 17
end local 6 22: iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
if_icmplt 12
end local 5 24: aload 0
sipush 256
iload 2
invokestatic java.lang.Math.min:(II)I
newarray 10
putfield org.apache.lucene.util.automaton.RunAutomaton.classmap:[I
25: iconst_0
istore 5
start local 5 26: iconst_0
istore 6
start local 6 27: goto 32
28: StackMap locals: int
StackMap stack:
iload 5
iconst_1
iadd
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
if_icmpge 30
iload 6
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
iload 5
iconst_1
iadd
iaload
if_icmpne 30
29: iinc 5 1
30: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.classmap:[I
iload 6
iload 5
iastore
31: iinc 6 1
StackMap locals:
StackMap stack:
32: iload 6
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.classmap:[I
arraylength
if_icmplt 28
end local 6 33: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
0 34 1 a Lorg/apache/lucene/util/automaton/Automaton;
0 34 2 alphabetSize I
0 34 3 maxDeterminizedStates I
10 34 4 transition Lorg/apache/lucene/util/automaton/Transition;
11 24 5 n I
16 22 6 c I
18 20 7 dest I
26 34 5 i I
27 33 6 j I
MethodParameters:
Name Flags
a
alphabetSize
maxDeterminizedStates
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "initial state: 0\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iconst_0
istore 2
start local 2 3: goto 24
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
aload 1
ldc "state "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
5: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
iload 2
baload
ifeq 6
aload 1
ldc " [accept]:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 7
6: StackMap locals:
StackMap stack:
aload 1
ldc " [reject]:\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 8: goto 22
9: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
iload 2
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
imul
iload 3
iadd
iaload
istore 4
start local 4 10: iload 4
iconst_m1
if_icmpeq 21
11: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
iload 3
iaload
istore 5
start local 5 12: iload 3
iconst_1
iadd
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
if_icmpge 14
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
iload 3
iconst_1
iadd
iaload
iconst_1
isub
istore 6
start local 6 13: goto 15
end local 6 14: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.alphabetSize:I
istore 6
start local 6 15: StackMap locals: int
StackMap stack:
aload 1
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: iload 5
aload 1
invokestatic org.apache.lucene.util.automaton.Automaton.appendCharString:(ILjava/lang/StringBuilder;)V
17: iload 5
iload 6
if_icmpeq 20
18: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: iload 6
aload 1
invokestatic org.apache.lucene.util.automaton.Automaton.appendCharString:(ILjava/lang/StringBuilder;)V
20: StackMap locals:
StackMap stack:
aload 1
ldc " -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 end local 5 end local 4 21: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
if_icmplt 9
end local 3 23: iinc 2 1
StackMap locals:
StackMap stack:
24: iload 2
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
if_icmplt 4
end local 2 25: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
1 26 1 b Ljava/lang/StringBuilder;
3 25 2 i I
8 23 3 j I
10 21 4 k I
12 21 5 min I
13 14 6 max I
15 21 6 max I
public final int getSize();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
public final boolean isAccept(int);
descriptor: (I)Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
0 1 1 state I
MethodParameters:
Name Flags
state
public final int[] getCharIntervals();
descriptor: ()[I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
final int getCharClass(int);
descriptor: (I)I
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
iload 2
iload 3
iadd
iconst_1
iushr
istore 4
start local 4 4: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
iload 4
iaload
iload 1
if_icmple 5
iload 4
istore 3
goto 7
5: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
iload 4
iaload
iload 1
if_icmpge 6
iload 4
istore 2
goto 7
6: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 7: StackMap locals:
StackMap stack:
iload 3
iload 2
isub
iconst_1
if_icmpgt 3
8: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
0 9 1 c I
1 9 2 a I
2 9 3 b I
4 7 4 d I
MethodParameters:
Name Flags
c
public final int step(int, int);
descriptor: (II)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.util.automaton.RunAutomaton.$assertionsDisabled:Z
ifne 1
iload 2
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.alphabetSize:I
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.classmap:[I
arraylength
if_icmplt 3
2: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
iload 1
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
imul
aload 0
iload 2
invokevirtual org.apache.lucene.util.automaton.RunAutomaton.getCharClass:(I)I
iadd
iaload
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
iload 1
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
imul
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.classmap:[I
iload 2
iaload
iadd
iaload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
0 4 1 state I
0 4 2 c I
MethodParameters:
Name Flags
state
c
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.alphabetSize:I
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
arraylength
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
1 5 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnonnull 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.util.automaton.RunAutomaton
astore 2
start local 2 4: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.alphabetSize:I
aload 2
getfield org.apache.lucene.util.automaton.RunAutomaton.alphabetSize:I
if_icmpeq 5
iconst_0
ireturn
5: StackMap locals: org.apache.lucene.util.automaton.RunAutomaton
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
aload 2
getfield org.apache.lucene.util.automaton.RunAutomaton.size:I
if_icmpeq 6
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
aload 2
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ifne 7
iconst_0
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
aload 2
getfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
invokestatic java.util.Arrays.equals:([Z[Z)Z
ifne 8
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
aload 2
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ifne 9
iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
0 10 1 obj Ljava/lang/Object;
4 10 2 other Lorg/apache/lucene/util/automaton/RunAutomaton;
MethodParameters:
Name Flags
obj
public long ramBytesUsed();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.util.automaton.RunAutomaton.BASE_RAM_BYTES:J
1: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.accept:[Z
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOfObject:(Ljava/lang/Object;)J
2: ladd
3: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.automaton:Lorg/apache/lucene/util/automaton/Automaton;
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOfObject:(Ljava/lang/Object;)J
4: ladd
5: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.classmap:[I
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOfObject:(Ljava/lang/Object;)J
6: ladd
7: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.points:[I
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOfObject:(Ljava/lang/Object;)J
8: ladd
9: aload 0
getfield org.apache.lucene.util.automaton.RunAutomaton.transitions:[I
invokestatic org.apache.lucene.util.RamUsageEstimator.sizeOfObject:(Ljava/lang/Object;)J
10: ladd
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/lucene/util/automaton/RunAutomaton;
}
SourceFile: "RunAutomaton.java"