final class com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper
super_class: java.lang.Object
{
static void encodeGeometry(org.bson.BsonWriter, com.mongodb.client.model.geojson.Geometry, org.bson.codecs.EncoderContext, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartDocument:()V
1: aload 0
ldc "type"
aload 1
invokevirtual com.mongodb.client.model.geojson.Geometry.getType:()Lcom/mongodb/client/model/geojson/GeoJsonObjectType;
invokevirtual com.mongodb.client.model.geojson.GeoJsonObjectType.getTypeName:()Ljava/lang/String;
invokeinterface org.bson.BsonWriter.writeString:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 1
instanceof com.mongodb.client.model.geojson.GeometryCollection
ifeq 6
3: aload 0
ldc "geometries"
invokeinterface org.bson.BsonWriter.writeName:(Ljava/lang/String;)V
4: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.GeometryCollection
aload 2
aload 3
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeGeometryCollection:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/GeometryCollection;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)V
5: goto 26
6: StackMap locals:
StackMap stack:
aload 0
ldc "coordinates"
invokeinterface org.bson.BsonWriter.writeName:(Ljava/lang/String;)V
7: aload 1
instanceof com.mongodb.client.model.geojson.Point
ifeq 10
8: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.Point
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePoint:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Point;)V
9: goto 26
StackMap locals:
StackMap stack:
10: aload 1
instanceof com.mongodb.client.model.geojson.MultiPoint
ifeq 13
11: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.MultiPoint
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeMultiPoint:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/MultiPoint;)V
12: goto 26
StackMap locals:
StackMap stack:
13: aload 1
instanceof com.mongodb.client.model.geojson.Polygon
ifeq 16
14: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.Polygon
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePolygon:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Polygon;)V
15: goto 26
StackMap locals:
StackMap stack:
16: aload 1
instanceof com.mongodb.client.model.geojson.MultiPolygon
ifeq 19
17: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.MultiPolygon
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeMultiPolygon:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/MultiPolygon;)V
18: goto 26
StackMap locals:
StackMap stack:
19: aload 1
instanceof com.mongodb.client.model.geojson.LineString
ifeq 22
20: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.LineString
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeLineString:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/LineString;)V
21: goto 26
StackMap locals:
StackMap stack:
22: aload 1
instanceof com.mongodb.client.model.geojson.MultiLineString
ifeq 25
23: aload 0
aload 1
checkcast com.mongodb.client.model.geojson.MultiLineString
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeMultiLineString:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/MultiLineString;)V
24: goto 26
25: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unsupported Geometry: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
aload 3
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeCoordinateReferenceSystem:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)V
27: aload 0
invokeinterface org.bson.BsonWriter.writeEndDocument:()V
28: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 writer Lorg/bson/BsonWriter;
0 29 1 value Lcom/mongodb/client/model/geojson/Geometry;
0 29 2 encoderContext Lorg/bson/codecs/EncoderContext;
0 29 3 registry Lorg/bson/codecs/configuration/CodecRegistry;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
registry final
private static void encodePoint(org.bson.BsonWriter, com.mongodb.client.model.geojson.Point);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Point;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.mongodb.client.model.geojson.Point.getPosition:()Lcom/mongodb/client/model/geojson/Position;
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePosition:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Position;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 writer Lorg/bson/BsonWriter;
0 2 1 value Lcom/mongodb/client/model/geojson/Point;
MethodParameters:
Name Flags
writer final
value final
private static void encodeMultiPoint(org.bson.BsonWriter, com.mongodb.client.model.geojson.MultiPoint);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/MultiPoint;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.MultiPoint.getCoordinates:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.MultiPoint top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.Position
astore 2
start local 2 3: aload 0
aload 2
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePosition:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Position;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writer Lorg/bson/BsonWriter;
0 7 1 value Lcom/mongodb/client/model/geojson/MultiPoint;
3 4 2 position Lcom/mongodb/client/model/geojson/Position;
MethodParameters:
Name Flags
writer final
value final
private static void encodePolygon(org.bson.BsonWriter, com.mongodb.client.model.geojson.Polygon);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Polygon;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.mongodb.client.model.geojson.Polygon.getCoordinates:()Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePolygonCoordinates:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 writer Lorg/bson/BsonWriter;
0 2 1 value Lcom/mongodb/client/model/geojson/Polygon;
MethodParameters:
Name Flags
writer final
value final
private static void encodeMultiPolygon(org.bson.BsonWriter, com.mongodb.client.model.geojson.MultiPolygon);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/MultiPolygon;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.MultiPolygon.getCoordinates:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.MultiPolygon top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.PolygonCoordinates
astore 2
start local 2 3: aload 0
aload 2
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePolygonCoordinates:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writer Lorg/bson/BsonWriter;
0 7 1 value Lcom/mongodb/client/model/geojson/MultiPolygon;
3 4 2 polygonCoordinates Lcom/mongodb/client/model/geojson/PolygonCoordinates;
MethodParameters:
Name Flags
writer final
value final
private static void encodeLineString(org.bson.BsonWriter, com.mongodb.client.model.geojson.LineString);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/LineString;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.LineString.getCoordinates:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.LineString top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.Position
astore 2
start local 2 3: aload 0
aload 2
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePosition:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Position;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writer Lorg/bson/BsonWriter;
0 7 1 value Lcom/mongodb/client/model/geojson/LineString;
3 4 2 position Lcom/mongodb/client/model/geojson/Position;
MethodParameters:
Name Flags
writer final
value final
private static void encodeMultiLineString(org.bson.BsonWriter, com.mongodb.client.model.geojson.MultiLineString);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/MultiLineString;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.MultiLineString.getCoordinates:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 9
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.MultiLineString top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 3: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.MultiLineString java.util.List java.util.Iterator top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.Position
astore 4
start local 4 6: aload 0
aload 4
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePosition:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Position;)V
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
end local 2 9: StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.MultiLineString top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 writer Lorg/bson/BsonWriter;
0 12 1 value Lcom/mongodb/client/model/geojson/MultiLineString;
3 9 2 ring Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
6 7 4 position Lcom/mongodb/client/model/geojson/Position;
MethodParameters:
Name Flags
writer final
value final
private static void encodeGeometryCollection(org.bson.BsonWriter, com.mongodb.client.model.geojson.GeometryCollection, org.bson.codecs.EncoderContext, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/GeometryCollection;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.GeometryCollection.getGeometries:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 4
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.GeometryCollection org.bson.codecs.EncoderContext org.bson.codecs.configuration.CodecRegistry top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.Geometry
astore 4
start local 4 3: aload 0
aload 4
aload 2
aload 3
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeGeometry:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)V
end local 4 4: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writer Lorg/bson/BsonWriter;
0 7 1 value Lcom/mongodb/client/model/geojson/GeometryCollection;
0 7 2 encoderContext Lorg/bson/codecs/EncoderContext;
0 7 3 registry Lorg/bson/codecs/configuration/CodecRegistry;
3 4 4 geometry Lcom/mongodb/client/model/geojson/Geometry;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
registry final
static void encodeCoordinateReferenceSystem(org.bson.BsonWriter, com.mongodb.client.model.geojson.Geometry, org.bson.codecs.EncoderContext, org.bson.codecs.configuration.CodecRegistry);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokevirtual com.mongodb.client.model.geojson.Geometry.getCoordinateReferenceSystem:()Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 4
start local 4 1: aload 4
ifnull 5
2: aload 0
ldc "crs"
invokeinterface org.bson.BsonWriter.writeName:(Ljava/lang/String;)V
3: aload 3
aload 4
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
astore 5
start local 5 4: aload 2
aload 5
aload 0
aload 4
invokevirtual org.bson.codecs.EncoderContext.encodeWithChildContext:(Lorg/bson/codecs/Encoder;Lorg/bson/BsonWriter;Ljava/lang/Object;)V
end local 5 5: StackMap locals: com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 writer Lorg/bson/BsonWriter;
0 6 1 geometry Lcom/mongodb/client/model/geojson/Geometry;
0 6 2 encoderContext Lorg/bson/codecs/EncoderContext;
0 6 3 registry Lorg/bson/codecs/configuration/CodecRegistry;
1 6 4 coordinateReferenceSystem Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
4 5 5 codec Lorg/bson/codecs/Codec;
MethodParameters:
Name Flags
writer final
geometry final
encoderContext final
registry final
static void encodePolygonCoordinates(org.bson.BsonWriter, com.mongodb.client.model.geojson.PolygonCoordinates);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getExterior:()Ljava/util/List;
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeLinearRing:(Ljava/util/List;Lorg/bson/BsonWriter;)V
2: aload 1
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getHoles:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.PolygonCoordinates top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 4: aload 2
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeLinearRing:(Ljava/util/List;Lorg/bson/BsonWriter;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 writer Lorg/bson/BsonWriter;
0 8 1 polygonCoordinates Lcom/mongodb/client/model/geojson/PolygonCoordinates;
4 5 2 ring Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
MethodParameters:
Name Flags
writer final
polygonCoordinates final
private static void encodeLinearRing(java.util.List<com.mongodb.client.model.geojson.Position>, org.bson.BsonWriter);
descriptor: (Ljava/util/List;Lorg/bson/BsonWriter;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List org.bson.BsonWriter top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.Position
astore 2
start local 2 3: aload 1
aload 2
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodePosition:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Position;)V
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
invokeinterface org.bson.BsonWriter.writeEndArray:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ring Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
0 7 1 writer Lorg/bson/BsonWriter;
3 4 2 position Lcom/mongodb/client/model/geojson/Position;
Signature: (Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;Lorg/bson/BsonWriter;)V
MethodParameters:
Name Flags
ring final
writer final
static void encodePosition(org.bson.BsonWriter, com.mongodb.client.model.geojson.Position);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Position;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.bson.BsonWriter.writeStartArray:()V
1: aload 1
invokevirtual com.mongodb.client.model.geojson.Position.getValues:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.bson.BsonWriter com.mongodb.client.model.geojson.Position top top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Double
invokevirtual java.lang.Double.doubleValue:()D
dstore 2
start local 2 3: aload 0
dload 2
invokeinterface org.bson.BsonWriter.writeDouble:(D)V
end local 2 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokeinterface org.bson.BsonWriter.writeEndArray:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writer Lorg/bson/BsonWriter;
0 7 1 value Lcom/mongodb/client/model/geojson/Position;
3 4 2 number D
MethodParameters:
Name Flags
writer final
value final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/codecs/GeometryEncoderHelper;
}
SourceFile: "GeometryEncoderHelper.java"