class org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell implements org.apache.lucene.spatial.prefix.tree.CellCanPrune
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell
super_class: java.lang.Object
{
private static com.google.common.geometry.S2CellId[] FACES;
descriptor: [Lcom/google/common/geometry/S2CellId;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final byte LEAF;
descriptor: B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 43
private static final byte[] TOKENS;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.Byte, java.lang.Integer> PIXELS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Byte;Ljava/lang/Integer;>;
com.google.common.geometry.S2CellId cellId;
descriptor: Lcom/google/common/geometry/S2CellId;
flags: (0x0000)
int level;
descriptor: I
flags: (0x0000)
org.apache.lucene.spatial.prefix.tree.S2PrefixTree tree;
descriptor: Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
flags: (0x0000)
org.locationtech.spatial4j.shape.SpatialRelation shapeRel;
descriptor: Lorg/locationtech/spatial4j/shape/SpatialRelation;
flags: (0x0000)
boolean isLeaf;
descriptor: Z
flags: (0x0000)
org.locationtech.spatial4j.shape.Shape shape;
descriptor: Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0000)
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=6, locals=1, args_size=0
0: ldc Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
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.spatial.prefix.tree.S2PrefixTreeCell.$assertionsDisabled:Z
3: bipush 6
anewarray com.google.common.geometry.S2CellId
putstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
4: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iconst_0
iconst_0
lconst_0
iconst_0
invokestatic com.google.common.geometry.S2CellId.fromFacePosLevel:(IJI)Lcom/google/common/geometry/S2CellId;
aastore
5: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iconst_1
iconst_1
lconst_0
iconst_0
invokestatic com.google.common.geometry.S2CellId.fromFacePosLevel:(IJI)Lcom/google/common/geometry/S2CellId;
aastore
6: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iconst_2
iconst_2
lconst_0
iconst_0
invokestatic com.google.common.geometry.S2CellId.fromFacePosLevel:(IJI)Lcom/google/common/geometry/S2CellId;
aastore
7: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iconst_3
iconst_3
lconst_0
iconst_0
invokestatic com.google.common.geometry.S2CellId.fromFacePosLevel:(IJI)Lcom/google/common/geometry/S2CellId;
aastore
8: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iconst_4
iconst_4
lconst_0
iconst_0
invokestatic com.google.common.geometry.S2CellId.fromFacePosLevel:(IJI)Lcom/google/common/geometry/S2CellId;
aastore
9: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iconst_5
iconst_5
lconst_0
iconst_0
invokestatic com.google.common.geometry.S2CellId.fromFacePosLevel:(IJI)Lcom/google/common/geometry/S2CellId;
aastore
10: bipush 64
newarray 8
dup
iconst_0
bipush 46
bastore
dup
iconst_1
bipush 47
bastore
dup
iconst_2
bipush 48
bastore
dup
iconst_3
bipush 49
bastore
dup
iconst_4
bipush 50
bastore
dup
iconst_5
bipush 51
bastore
dup
bipush 6
bipush 52
bastore
dup
bipush 7
bipush 53
bastore
dup
bipush 8
bipush 54
bastore
dup
bipush 9
bipush 55
bastore
dup
bipush 10
bipush 56
bastore
dup
bipush 11
bipush 57
bastore
dup
bipush 12
11: bipush 65
bastore
dup
bipush 13
bipush 66
bastore
dup
bipush 14
bipush 67
bastore
dup
bipush 15
bipush 68
bastore
dup
bipush 16
bipush 69
bastore
dup
bipush 17
bipush 70
bastore
dup
bipush 18
bipush 71
bastore
dup
bipush 19
bipush 72
bastore
dup
bipush 20
bipush 73
bastore
dup
bipush 21
bipush 74
bastore
dup
bipush 22
bipush 75
bastore
dup
bipush 23
bipush 76
bastore
dup
bipush 24
bipush 77
bastore
dup
bipush 25
bipush 78
bastore
dup
bipush 26
bipush 79
bastore
dup
bipush 27
bipush 80
bastore
dup
bipush 28
bipush 81
bastore
dup
bipush 29
bipush 82
bastore
dup
bipush 30
bipush 83
bastore
dup
bipush 31
bipush 84
bastore
dup
bipush 32
bipush 85
bastore
dup
bipush 33
bipush 86
bastore
dup
bipush 34
bipush 87
bastore
dup
bipush 35
bipush 88
bastore
dup
bipush 36
bipush 89
bastore
dup
bipush 37
bipush 90
bastore
dup
bipush 38
12: bipush 97
bastore
dup
bipush 39
bipush 98
bastore
dup
bipush 40
bipush 99
bastore
dup
bipush 41
bipush 100
bastore
dup
bipush 42
bipush 101
bastore
dup
bipush 43
bipush 102
bastore
dup
bipush 44
bipush 103
bastore
dup
bipush 45
bipush 104
bastore
dup
bipush 46
bipush 105
bastore
dup
bipush 47
bipush 106
bastore
dup
bipush 48
bipush 107
bastore
dup
bipush 49
bipush 108
bastore
dup
bipush 50
bipush 109
bastore
dup
bipush 51
bipush 110
bastore
dup
bipush 52
bipush 111
bastore
dup
bipush 53
bipush 112
bastore
dup
bipush 54
bipush 113
bastore
dup
bipush 55
bipush 114
bastore
dup
bipush 56
bipush 115
bastore
dup
bipush 57
bipush 116
bastore
dup
bipush 58
bipush 117
bastore
dup
bipush 59
bipush 118
bastore
dup
bipush 60
bipush 119
bastore
dup
bipush 61
bipush 120
bastore
dup
bipush 62
bipush 121
bastore
dup
bipush 63
bipush 122
bastore
13: putstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.TOKENS:[B
14: new java.util.HashMap
dup
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.TOKENS:[B
arraylength
invokespecial java.util.HashMap.<init>:(I)V
putstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.PIXELS:Ljava/util/Map;
15: iconst_0
istore 0
start local 0 16: goto 19
17: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.PIXELS:Ljava/util/Map;
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.TOKENS:[B
iload 0
baload
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
iload 0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: iinc 0 1
StackMap locals:
StackMap stack:
19: iload 0
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.TOKENS:[B
arraylength
if_icmplt 17
end local 0 20: return
LocalVariableTable:
Start End Slot Name Signature
16 20 0 i I
void <init>(org.apache.lucene.spatial.prefix.tree.S2PrefixTree, com.google.common.geometry.S2CellId);
descriptor: (Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;Lcom/google/common/geometry/S2CellId;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shapeRel:Lorg/locationtech/spatial4j/shape/SpatialRelation;
2: aload 0
aconst_null
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shape:Lorg/locationtech/spatial4j/shape/Shape;
3: aload 0
aload 2
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
4: aload 0
aload 1
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
5: aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.setLevel:()V
6: aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getLevel:()I
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTree.getMaxLevels:()I
if_icmpne 8
7: aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.setLeaf:()V
8: StackMap locals: org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell org.apache.lucene.spatial.prefix.tree.S2PrefixTree com.google.common.geometry.S2CellId
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 9 1 tree Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
0 9 2 cellId Lcom/google/common/geometry/S2CellId;
MethodParameters:
Name Flags
tree
cellId
void readCell(org.apache.lucene.spatial.prefix.tree.S2PrefixTree, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.isLeaf:Z
1: aload 0
aconst_null
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shape:Lorg/locationtech/spatial4j/shape/Shape;
2: aload 0
aconst_null
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shapeRel:Lorg/locationtech/spatial4j/shape/SpatialRelation;
3: aload 0
aload 1
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
4: aload 0
aload 0
aload 2
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getS2CellIdFromBytesRef:(Lorg/apache/lucene/util/BytesRef;)Lcom/google/common/geometry/S2CellId;
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
5: aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.setLevel:()V
6: aload 0
aload 2
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.isLeaf:(Lorg/apache/lucene/util/BytesRef;)Z
ifne 7
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getLevel:()I
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTree.getMaxLevels:()I
if_icmpne 8
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.setLeaf:()V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 9 1 tree Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
0 9 2 ref Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
tree
ref
public org.locationtech.spatial4j.shape.SpatialRelation getShapeRel();
descriptor: ()Lorg/locationtech/spatial4j/shape/SpatialRelation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shapeRel:Lorg/locationtech/spatial4j/shape/SpatialRelation;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
public void setShapeRel(org.locationtech.spatial4j.shape.SpatialRelation);
descriptor: (Lorg/locationtech/spatial4j/shape/SpatialRelation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shapeRel:Lorg/locationtech/spatial4j/shape/SpatialRelation;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 2 1 rel Lorg/locationtech/spatial4j/shape/SpatialRelation;
MethodParameters:
Name Flags
rel
public boolean isLeaf();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.isLeaf:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
public void setLeaf();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.isLeaf:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
public org.apache.lucene.util.BytesRef getTokenBytesWithLeaf(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getTokenBytesNoLeaf:(Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
astore 1
1: aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.isLeaf:()Z
ifeq 4
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getLevel:()I
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTree.getMaxLevels:()I
if_icmpeq 4
2: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
bipush 43
bastore
3: aload 1
dup
getfield org.apache.lucene.util.BytesRef.length:I
iconst_1
iadd
putfield org.apache.lucene.util.BytesRef.length:I
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 5 1 result Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
result
public org.apache.lucene.util.BytesRef getTokenBytesNoLeaf(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new org.apache.lucene.util.BytesRef
dup
invokespecial org.apache.lucene.util.BytesRef.<init>:()V
astore 1
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getBytesRefFromS2CellId:(Lcom/google/common/geometry/S2CellId;Lorg/apache/lucene/util/BytesRef;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 4 1 result Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
result
public int getLevel();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.level:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
private void setLevel();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 3
1: aload 0
iconst_0
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.level:I
2: goto 5
3: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.level:()I
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
irem
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.level:()I
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
idiv
iconst_1
iadd
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.level:I
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
public org.apache.lucene.spatial.prefix.tree.CellIterator getNextLevelCells(org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/locationtech/spatial4j/shape/Shape;)Lorg/apache/lucene/spatial/prefix/tree/CellIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 3
1: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
astore 2
start local 2 2: goto 11
end local 2 3: StackMap locals:
StackMap stack:
ldc 4.0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
i2d
invokestatic java.lang.Math.pow:(DD)D
d2i
istore 3
start local 3 4: iload 3
anewarray com.google.common.geometry.S2CellId
astore 2
start local 2 5: aload 2
iconst_0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.level:()I
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
iadd
invokevirtual com.google.common.geometry.S2CellId.childBegin:(I)Lcom/google/common/geometry/S2CellId;
aastore
6: iconst_1
istore 4
start local 4 7: goto 10
8: StackMap locals: com.google.common.geometry.S2CellId[] int int
StackMap stack:
aload 2
iload 4
aload 2
iload 4
iconst_1
isub
aaload
invokevirtual com.google.common.geometry.S2CellId.next:()Lcom/google/common/geometry/S2CellId;
aastore
9: iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 3
if_icmplt 8
end local 4 end local 3 11: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 2
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 12: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 16
StackMap locals: org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell org.locationtech.spatial4j.shape.Shape com.google.common.geometry.S2CellId[] java.util.List top int int com.google.common.geometry.S2CellId[]
StackMap stack:
13: aload 7
iload 5
aaload
astore 4
start local 4 14: aload 3
new org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell
dup
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
aload 4
invokespecial org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.<init>:(Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;Lcom/google/common/geometry/S2CellId;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 15: iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 6
if_icmplt 13
17: new org.apache.lucene.spatial.prefix.tree.FilterCellIterator
dup
aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
aload 1
invokespecial org.apache.lucene.spatial.prefix.tree.FilterCellIterator.<init>:(Ljava/util/Iterator;Lorg/locationtech/spatial4j/shape/Shape;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 18 1 shapeFilter Lorg/locationtech/spatial4j/shape/Shape;
2 3 2 children [Lcom/google/common/geometry/S2CellId;
5 18 2 children [Lcom/google/common/geometry/S2CellId;
4 11 3 nChildren I
7 11 4 i I
12 18 3 cells Ljava/util/List<Lorg/apache/lucene/spatial/prefix/tree/Cell;>;
14 15 4 pixel Lcom/google/common/geometry/S2CellId;
MethodParameters:
Name Flags
shapeFilter
public org.locationtech.spatial4j.shape.Shape getShape();
descriptor: ()Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shape:Lorg/locationtech/spatial4j/shape/Shape;
ifnonnull 5
1: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 4
2: aload 0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTree.getSpatialContext:()Lorg/locationtech/spatial4j/context/SpatialContext;
invokevirtual org.locationtech.spatial4j.context.SpatialContext.getWorldBounds:()Lorg/locationtech/spatial4j/shape/Rectangle;
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shape:Lorg/locationtech/spatial4j/shape/Shape;
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.s2ShapeFactory:Lorg/apache/lucene/spatial/prefix/tree/S2ShapeFactory;
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokeinterface org.apache.lucene.spatial.prefix.tree.S2ShapeFactory.getS2CellShape:(Lcom/google/common/geometry/S2CellId;)Lorg/locationtech/spatial4j/shape/Shape;
putfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shape:Lorg/locationtech/spatial4j/shape/Shape;
5: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.shape:Lorg/locationtech/spatial4j/shape/Shape;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
public boolean isPrefixOf(org.apache.lucene.spatial.prefix.tree.Cell);
descriptor: (Lorg/apache/lucene/spatial/prefix/tree/Cell;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell
astore 2
start local 2 3: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
aload 2
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.contains:(Lcom/google/common/geometry/S2CellId;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 4 1 c Lorg/apache/lucene/spatial/prefix/tree/Cell;
3 4 2 cell Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
MethodParameters:
Name Flags
c
public int compareToNoLeaf(org.apache.lucene.spatial.prefix.tree.Cell);
descriptor: (Lorg/apache/lucene/spatial/prefix/tree/Cell;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell
astore 2
start local 2 3: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
aload 2
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.compareTo:(Lcom/google/common/geometry/S2CellId;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 4 1 fromCell Lorg/apache/lucene/spatial/prefix/tree/Cell;
3 4 2 cell Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
MethodParameters:
Name Flags
fromCell
private boolean isLeaf(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
iconst_1
isub
baload
bipush 43
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 2 1 ref Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
ref
private com.google.common.geometry.S2CellId getS2CellIdFromBytesRef(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)Lcom/google/common/geometry/S2CellId;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: aload 1
getfield org.apache.lucene.util.BytesRef.length:I
istore 2
start local 2 1: aload 0
aload 1
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.isLeaf:(Lorg/apache/lucene/util/BytesRef;)Z
ifeq 3
2: iinc 2 -1
3: StackMap locals: int
StackMap stack:
iload 2
ifne 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.PIXELS:Ljava/util/Map;
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
baload
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 6: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.FACES:[Lcom/google/common/geometry/S2CellId;
iload 3
aaload
astore 4
start local 4 7: aload 4
invokevirtual com.google.common.geometry.S2CellId.id:()J
lstore 5
start local 5 8: aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
iconst_1
iadd
istore 7
start local 7 9: goto 15
10: StackMap locals: org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell org.apache.lucene.util.BytesRef int int com.google.common.geometry.S2CellId long int
StackMap stack:
iload 7
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
isub
istore 8
start local 8 11: getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.PIXELS:Ljava/util/Map;
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 7
baload
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 9
start local 9 12: lload 5
lload 5
lload 5
lneg
land
lsub
lconst_1
iconst_2
bipush 30
iload 8
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
imul
isub
imul
lshl
ladd
lstore 5
13: lload 5
iload 9
i2l
lload 5
lload 5
lneg
land
iconst_1
lshl
lmul
ladd
lstore 5
end local 9 end local 8 14: iinc 7 1
StackMap locals:
StackMap stack:
15: iload 7
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
iload 2
iadd
if_icmplt 10
end local 7 16: new com.google.common.geometry.S2CellId
dup
lload 5
invokespecial com.google.common.geometry.S2CellId.<init>:(J)V
areturn
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 17 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 17 1 ref Lorg/apache/lucene/util/BytesRef;
1 17 2 length I
6 17 3 face I
7 17 4 cellId Lcom/google/common/geometry/S2CellId;
8 17 5 id J
9 16 7 i I
11 14 8 thisLevel I
12 14 9 pos I
MethodParameters:
Name Flags
ref
private void getBytesRefFromS2CellId(com.google.common.geometry.S2CellId, org.apache.lucene.util.BytesRef);
descriptor: (Lcom/google/common/geometry/S2CellId;Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 3
1: aload 2
iconst_0
putfield org.apache.lucene.util.BytesRef.length:I
2: return
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getLevel:()I
iconst_1
iadd
istore 3
start local 3 4: aload 2
getfield org.apache.lucene.util.BytesRef.bytes:[B
arraylength
iload 3
if_icmplt 5
aload 2
getfield org.apache.lucene.util.BytesRef.bytes:[B
goto 6
StackMap locals: int
StackMap stack:
5: iload 3
newarray 8
StackMap locals:
StackMap stack: byte[]
6: astore 4
start local 4 7: aload 4
iconst_0
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.TOKENS:[B
aload 1
invokevirtual com.google.common.geometry.S2CellId.face:()I
baload
bastore
8: iconst_1
istore 5
start local 5 9: goto 19
10: StackMap locals: byte[] int
StackMap stack:
iconst_0
istore 6
start local 6 11: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
iload 5
imul
istore 7
start local 7 12: iconst_1
istore 8
start local 8 13: goto 16
14: StackMap locals: int int int
StackMap stack:
iconst_4
iload 6
imul
aload 1
iload 7
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
isub
iload 8
iadd
invokevirtual com.google.common.geometry.S2CellId.childPosition:(I)I
iadd
istore 6
15: iinc 8 1
StackMap locals:
StackMap stack:
16: iload 8
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
if_icmplt 14
end local 8 17: aload 4
iload 5
getstatic org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.TOKENS:[B
iconst_4
iload 6
imul
aload 1
iload 7
invokevirtual com.google.common.geometry.S2CellId.childPosition:(I)I
iadd
baload
bastore
end local 7 end local 6 18: iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getLevel:()I
if_icmplt 10
end local 5 20: aload 2
aload 4
putfield org.apache.lucene.util.BytesRef.bytes:[B
21: aload 2
aload 0
invokevirtual org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.getLevel:()I
putfield org.apache.lucene.util.BytesRef.length:I
22: aload 2
iconst_0
putfield org.apache.lucene.util.BytesRef.offset:I
23: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 24 1 cellId Lcom/google/common/geometry/S2CellId;
0 24 2 bref Lorg/apache/lucene/util/BytesRef;
4 24 3 length I
7 24 4 b [B
9 20 5 i I
11 18 6 offset I
12 18 7 level I
13 17 8 j I
MethodParameters:
Name Flags
cellId
bref
public int getSubCellsSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 2
1: bipush 6
ireturn
2: StackMap locals:
StackMap stack:
ldc 4.0
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.tree:Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTree;
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTree.arity:I
i2d
invokestatic java.lang.Math.pow:(DD)D
d2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 2
1: aload 0
invokespecial java.lang.Object.hashCode:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
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 1
checkcast org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell
astore 2
start local 2 1: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
aload 2
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
0 2 1 o Ljava/lang/Object;
1 2 2 cell Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
MethodParameters:
Name Flags
o
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
ifnonnull 2
1: ldc "0"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.spatial.prefix.tree.S2PrefixTreeCell.cellId:Lcom/google/common/geometry/S2CellId;
invokevirtual com.google.common.geometry.S2CellId.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/prefix/tree/S2PrefixTreeCell;
}
SourceFile: "S2PrefixTreeCell.java"