public final class com.mongodb.client.model.geojson.Point 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.Point
super_class: com.mongodb.client.model.geojson.Geometry
{
private final com.mongodb.client.model.geojson.Position coordinate;
descriptor: Lcom/mongodb/client/model/geojson/Position;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.client.model.geojson.Position);
descriptor: (Lcom/mongodb/client/model/geojson/Position;)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.Point.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Lcom/mongodb/client/model/geojson/Position;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/Point;
0 2 1 coordinate Lcom/mongodb/client/model/geojson/Position;
MethodParameters:
Name Flags
coordinate final
public void <init>(com.mongodb.client.model.geojson.CoordinateReferenceSystem, com.mongodb.client.model.geojson.Position);
descriptor: (Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Lcom/mongodb/client/model/geojson/Position;)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.Position
putfield com.mongodb.client.model.geojson.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
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/Point;
0 3 1 coordinateReferenceSystem Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
0 3 2 coordinate Lcom/mongodb/client/model/geojson/Position;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
1:
MethodParameters:
Name Flags
coordinateReferenceSystem final
coordinate 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.POINT: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/Point;
public com.mongodb.client.model.geojson.Position getCoordinates();
descriptor: ()Lcom/mongodb/client/model/geojson/Position;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Point;
public com.mongodb.client.model.geojson.Position getPosition();
descriptor: ()Lcom/mongodb/client/model/geojson/Position;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Point;
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.Point
astore 2
start local 2 7: aload 0
getfield com.mongodb.client.model.geojson.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
aload 2
getfield com.mongodb.client.model.geojson.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
invokevirtual com.mongodb.client.model.geojson.Position.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals: com.mongodb.client.model.geojson.Point
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/Point;
0 10 1 o Ljava/lang/Object;
7 10 2 point Lcom/mongodb/client/model/geojson/Point;
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.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
invokevirtual com.mongodb.client.model.geojson.Position.hashCode:()I
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/Point;
1 2 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 "Point{coordinate="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.client.model.geojson.Point.coordinate:Lcom/mongodb/client/model/geojson/Position;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: aload 0
invokevirtual com.mongodb.client.model.geojson.Point.getCoordinateReferenceSystem:()Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
ifnonnull 3
ldc ""
goto 4
StackMap locals:
StackMap stack: java.lang.StringBuilder
3: new java.lang.StringBuilder
dup
ldc ", coordinateReferenceSystem="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.mongodb.client.model.geojson.Point.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.Point
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/client/model/geojson/Point;
}
SourceFile: "Point.java"