public class org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec extends org.locationtech.spatial4j.io.BinaryCodec
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec
super_class: org.locationtech.spatial4j.io.BinaryCodec
{
private org.apache.lucene.spatial3d.geom.PlanetModel planetModel;
descriptor: Lorg/apache/lucene/spatial3d/geom/PlanetModel;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.locationtech.spatial4j.context.SpatialContext, org.locationtech.spatial4j.context.SpatialContextFactory);
descriptor: (Lorg/locationtech/spatial4j/context/SpatialContext;Lorg/locationtech/spatial4j/context/SpatialContextFactory;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.locationtech.spatial4j.io.BinaryCodec.<init>:(Lorg/locationtech/spatial4j/context/SpatialContext;Lorg/locationtech/spatial4j/context/SpatialContextFactory;)V
1: aload 0
aload 2
checkcast org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory
getfield org.apache.lucene.spatial.spatial4j.Geo3dSpatialContextFactory.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
putfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 3 1 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
0 3 2 factory Lorg/locationtech/spatial4j/context/SpatialContextFactory;
MethodParameters:
Name Flags
ctx
factory
public org.locationtech.spatial4j.shape.Shape readShape(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 1
checkcast java.io.InputStream
invokestatic org.apache.lucene.spatial3d.geom.SerializableObject.readObject:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)Lorg/apache/lucene/spatial3d/geom/SerializableObject;
astore 2
start local 2 1: aload 2
instanceof org.apache.lucene.spatial3d.geom.GeoAreaShape
ifeq 4
2: aload 2
checkcast org.apache.lucene.spatial3d.geom.GeoAreaShape
astore 3
start local 3 3: new org.apache.lucene.spatial.spatial4j.Geo3dShape
dup
aload 3
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokespecial org.apache.lucene.spatial.spatial4j.Geo3dShape.<init>:(Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;Lorg/locationtech/spatial4j/context/SpatialContext;)V
areturn
end local 3 4: StackMap locals: org.apache.lucene.spatial3d.geom.SerializableObject
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "trying to read a not supported shape: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 5 1 dataInput Ljava/io/DataInput;
1 5 2 serializableObject Lorg/apache/lucene/spatial3d/geom/SerializableObject;
3 4 3 shape Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput
public void writeShape(java.io.DataOutput, org.locationtech.spatial4j.shape.Shape);
descriptor: (Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Shape;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof org.apache.lucene.spatial.spatial4j.Geo3dShape
ifeq 4
1: aload 2
checkcast org.apache.lucene.spatial.spatial4j.Geo3dShape
astore 3
start local 3 2: aload 1
checkcast java.io.OutputStream
aload 3
getfield org.apache.lucene.spatial.spatial4j.Geo3dShape.shape:Lorg/apache/lucene/spatial3d/geom/GeoAreaShape;
invokestatic org.apache.lucene.spatial3d.geom.SerializableObject.writeObject:(Ljava/io/OutputStream;Lorg/apache/lucene/spatial3d/geom/SerializableObject;)V
end local 3 3: goto 5
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "trying to write a not supported shape: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 6 1 dataOutput Ljava/io/DataOutput;
0 6 2 s Lorg/locationtech/spatial4j/shape/Shape;
2 3 3 geoAreaShape Lorg/apache/lucene/spatial/spatial4j/Geo3dShape;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataOutput
s
public org.locationtech.spatial4j.shape.Point readPoint(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lorg/locationtech/spatial4j/shape/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 1
checkcast java.io.InputStream
invokestatic org.apache.lucene.spatial3d.geom.SerializableObject.readObject:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)Lorg/apache/lucene/spatial3d/geom/SerializableObject;
astore 2
start local 2 1: aload 2
instanceof org.apache.lucene.spatial3d.geom.GeoPointShape
ifeq 4
2: aload 2
checkcast org.apache.lucene.spatial3d.geom.GeoPointShape
astore 3
start local 3 3: new org.apache.lucene.spatial.spatial4j.Geo3dPointShape
dup
aload 3
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokespecial org.apache.lucene.spatial.spatial4j.Geo3dPointShape.<init>:(Lorg/apache/lucene/spatial3d/geom/GeoPointShape;Lorg/locationtech/spatial4j/context/SpatialContext;)V
areturn
end local 3 4: StackMap locals: org.apache.lucene.spatial3d.geom.SerializableObject
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "trying to read a not supported point shape: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 5 1 dataInput Ljava/io/DataInput;
1 5 2 serializableObject Lorg/apache/lucene/spatial3d/geom/SerializableObject;
3 4 3 shape Lorg/apache/lucene/spatial3d/geom/GeoPointShape;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput
public void writePoint(java.io.DataOutput, org.locationtech.spatial4j.shape.Point);
descriptor: (Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.writeShape:(Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Shape;)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/spatial/spatial4j/Geo3dBinaryCodec;
0 2 1 dataOutput Ljava/io/DataOutput;
0 2 2 pt Lorg/locationtech/spatial4j/shape/Point;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataOutput
pt
public org.locationtech.spatial4j.shape.Rectangle readRect(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lorg/locationtech/spatial4j/shape/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 1
checkcast java.io.InputStream
invokestatic org.apache.lucene.spatial3d.geom.SerializableObject.readObject:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)Lorg/apache/lucene/spatial3d/geom/SerializableObject;
astore 2
start local 2 1: aload 2
instanceof org.apache.lucene.spatial3d.geom.GeoBBox
ifeq 4
2: aload 2
checkcast org.apache.lucene.spatial3d.geom.GeoBBox
astore 3
start local 3 3: new org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape
dup
aload 3
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokespecial org.apache.lucene.spatial.spatial4j.Geo3dRectangleShape.<init>:(Lorg/apache/lucene/spatial3d/geom/GeoBBox;Lorg/locationtech/spatial4j/context/SpatialContext;)V
areturn
end local 3 4: StackMap locals: org.apache.lucene.spatial3d.geom.SerializableObject
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "trying to read a not supported rectangle shape: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 5 1 dataInput Ljava/io/DataInput;
1 5 2 serializableObject Lorg/apache/lucene/spatial3d/geom/SerializableObject;
3 4 3 shape Lorg/apache/lucene/spatial3d/geom/GeoBBox;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput
public void writeRect(java.io.DataOutput, org.locationtech.spatial4j.shape.Rectangle);
descriptor: (Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Rectangle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.writeShape:(Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Shape;)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/spatial/spatial4j/Geo3dBinaryCodec;
0 2 1 dataOutput Ljava/io/DataOutput;
0 2 2 r Lorg/locationtech/spatial4j/shape/Rectangle;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataOutput
r
public org.locationtech.spatial4j.shape.Circle readCircle(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lorg/locationtech/spatial4j/shape/Circle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.planetModel:Lorg/apache/lucene/spatial3d/geom/PlanetModel;
aload 1
checkcast java.io.InputStream
invokestatic org.apache.lucene.spatial3d.geom.SerializableObject.readObject:(Lorg/apache/lucene/spatial3d/geom/PlanetModel;Ljava/io/InputStream;)Lorg/apache/lucene/spatial3d/geom/SerializableObject;
astore 2
start local 2 1: aload 2
instanceof org.apache.lucene.spatial3d.geom.GeoCircle
ifeq 4
2: aload 2
checkcast org.apache.lucene.spatial3d.geom.GeoCircle
astore 3
start local 3 3: new org.apache.lucene.spatial.spatial4j.Geo3dCircleShape
dup
aload 3
aload 0
getfield org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.ctx:Lorg/locationtech/spatial4j/context/SpatialContext;
invokespecial org.apache.lucene.spatial.spatial4j.Geo3dCircleShape.<init>:(Lorg/apache/lucene/spatial3d/geom/GeoCircle;Lorg/locationtech/spatial4j/context/SpatialContext;)V
areturn
end local 3 4: StackMap locals: org.apache.lucene.spatial3d.geom.SerializableObject
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "trying to read a not supported circle shape: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 5 1 dataInput Ljava/io/DataInput;
1 5 2 serializableObject Lorg/apache/lucene/spatial3d/geom/SerializableObject;
3 4 3 shape Lorg/apache/lucene/spatial3d/geom/GeoCircle;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput
public void writeCircle(java.io.DataOutput, org.locationtech.spatial4j.shape.Circle);
descriptor: (Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Circle;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.spatial.spatial4j.Geo3dBinaryCodec.writeShape:(Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/Shape;)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/spatial/spatial4j/Geo3dBinaryCodec;
0 2 1 dataOutput Ljava/io/DataOutput;
0 2 2 c Lorg/locationtech/spatial4j/shape/Circle;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataOutput
c
public org.locationtech.spatial4j.shape.ShapeCollection readCollection(java.io.DataInput);
descriptor: (Ljava/io/DataInput;)Lorg/locationtech/spatial4j/shape/ShapeCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 1 1 dataInput Ljava/io/DataInput;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataInput
public void writeCollection(java.io.DataOutput, org.locationtech.spatial4j.shape.ShapeCollection);
descriptor: (Ljava/io/DataOutput;Lorg/locationtech/spatial4j/shape/ShapeCollection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/spatial4j/Geo3dBinaryCodec;
0 1 1 dataOutput Ljava/io/DataOutput;
0 1 2 col Lorg/locationtech/spatial4j/shape/ShapeCollection;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
dataOutput
col
}
SourceFile: "Geo3dBinaryCodec.java"