public final class com.mongodb.client.model.geojson.Polygon extends com.mongodb.client.model.geojson.Geometry
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.geojson.Polygon
super_class: com.mongodb.client.model.geojson.Geometry
{
private final com.mongodb.client.model.geojson.PolygonCoordinates coordinates;
descriptor: Lcom/mongodb/client/model/geojson/PolygonCoordinates;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.List<com.mongodb.client.model.geojson.Position>, java.util.List<com.mongodb.client.model.geojson.Position>[]);
descriptor: (Ljava/util/List;[Ljava/util/List;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
new com.mongodb.client.model.geojson.PolygonCoordinates
dup
aload 1
aload 2
invokespecial com.mongodb.client.model.geojson.PolygonCoordinates.<init>:(Ljava/util/List;[Ljava/util/List;)V
invokespecial com.mongodb.client.model.geojson.Polygon.<init>:(Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/Polygon;
0 2 1 exterior Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
0 2 2 holes [Ljava/util/List;
Signature: (Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;[Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;)V
MethodParameters:
Name Flags
exterior final
holes final
public void <init>(com.mongodb.client.model.geojson.PolygonCoordinates);
descriptor: (Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aload 1
invokespecial com.mongodb.client.model.geojson.Polygon.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/Polygon;
0 2 1 coordinates Lcom/mongodb/client/model/geojson/PolygonCoordinates;
MethodParameters:
Name Flags
coordinates final
public void <init>(com.mongodb.client.model.geojson.CoordinateReferenceSystem, com.mongodb.client.model.geojson.PolygonCoordinates);
descriptor: (Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Lcom/mongodb/client/model/geojson/PolygonCoordinates;)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
invokespecial com.mongodb.client.model.geojson.Geometry.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;)V
1: aload 0
ldc "coordinates"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.client.model.geojson.PolygonCoordinates
putfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/geojson/Polygon;
0 3 1 coordinateReferenceSystem Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
0 3 2 coordinates Lcom/mongodb/client/model/geojson/PolygonCoordinates;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
MethodParameters:
Name Flags
coordinateReferenceSystem final
coordinates final
public com.mongodb.client.model.geojson.GeoJsonObjectType getType();
descriptor: ()Lcom/mongodb/client/model/geojson/GeoJsonObjectType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.mongodb.client.model.geojson.GeoJsonObjectType.POLYGON:Lcom/mongodb/client/model/geojson/GeoJsonObjectType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Polygon;
public com.mongodb.client.model.geojson.PolygonCoordinates getCoordinates();
descriptor: ()Lcom/mongodb/client/model/geojson/PolygonCoordinates;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Polygon;
public java.util.List<com.mongodb.client.model.geojson.Position> getExterior();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getExterior:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Polygon;
Signature: ()Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
public java.util.List<java.util.List<com.mongodb.client.model.geojson.Position>> getHoles();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getHoles:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Polygon;
Signature: ()Ljava/util/List<Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;>;
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 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.mongodb.client.model.geojson.Geometry.equals:(Ljava/lang/Object;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.client.model.geojson.Polygon
astore 2
start local 2 7: aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
aload 2
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals: com.mongodb.client.model.geojson.Polygon
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/client/model/geojson/Polygon;
0 10 1 o Ljava/lang/Object;
7 10 2 polygon Lcom/mongodb/client/model/geojson/Polygon;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial com.mongodb.client.model.geojson.Geometry.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.hashCode:()I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/geojson/Polygon;
1 3 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Polygon{exterior="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getExterior:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getHoles:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 3
ldc ""
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: new java.lang.StringBuilder
dup
ldc ", holes="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.mongodb.client.model.geojson.Polygon.coordinates:Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokevirtual com.mongodb.client.model.geojson.PolygonCoordinates.getHoles:()Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.mongodb.client.model.geojson.Polygon
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 0
invokevirtual com.mongodb.client.model.geojson.Polygon.getCoordinateReferenceSystem:()Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
ifnonnull 6
ldc ""
goto 7
StackMap locals:
StackMap stack: java.lang.StringBuilder
6: new java.lang.StringBuilder
dup
ldc ", coordinateReferenceSystem="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.mongodb.client.model.geojson.Polygon.getCoordinateReferenceSystem:()Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.mongodb.client.model.geojson.Polygon
StackMap stack: java.lang.StringBuilder java.lang.String
7: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/mongodb/client/model/geojson/Polygon;
}
SourceFile: "Polygon.java"