public class java.awt.Point extends java.awt.geom.Point2D implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.Point
super_class: java.awt.geom.Point2D
{
public int x;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int y;
descriptor: I
flags: (0x0001) ACC_PUBLIC
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5276940640259749850
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Point;
public void <init>(java.awt.Point);
descriptor: (Ljava/awt/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield java.awt.Point.x:I
aload 1
getfield java.awt.Point.y:I
invokespecial java.awt.Point.<init>:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Point;
0 2 1 p Ljava/awt/Point;
MethodParameters:
Name Flags
p
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.awt.geom.Point2D.<init>:()V
1: aload 0
iload 1
putfield java.awt.Point.x:I
2: aload 0
iload 2
putfield java.awt.Point.y:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/Point;
0 4 1 x I
0 4 2 y I
MethodParameters:
Name Flags
x
y
public double getX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Point.x:I
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Point;
public double getY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Point.y:I
i2d
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Point;
public java.awt.Point getLocation();
descriptor: ()Ljava/awt/Point;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.awt.Point
dup
aload 0
getfield java.awt.Point.x:I
aload 0
getfield java.awt.Point.y:I
invokespecial java.awt.Point.<init>:(II)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Point;
RuntimeVisibleAnnotations:
java.beans.Transient()
public void setLocation(java.awt.Point);
descriptor: (Ljava/awt/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield java.awt.Point.x:I
aload 1
getfield java.awt.Point.y:I
invokevirtual java.awt.Point.setLocation:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Point;
0 2 1 p Ljava/awt/Point;
MethodParameters:
Name Flags
p
public void setLocation(int, int);
descriptor: (II)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
iload 1
iload 2
invokevirtual java.awt.Point.move:(II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Point;
0 2 1 x I
0 2 2 y I
MethodParameters:
Name Flags
x
y
public void setLocation(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
ldc 0.5
dadd
invokestatic java.lang.Math.floor:(D)D
d2i
putfield java.awt.Point.x:I
1: aload 0
dload 3
ldc 0.5
dadd
invokestatic java.lang.Math.floor:(D)D
d2i
putfield java.awt.Point.y:I
2: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Point;
0 3 1 x D
0 3 3 y D
MethodParameters:
Name Flags
x
y
public void move(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield java.awt.Point.x:I
1: aload 0
iload 2
putfield java.awt.Point.y:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Point;
0 3 1 x I
0 3 2 y I
MethodParameters:
Name Flags
x
y
public void translate(int, int);
descriptor: (II)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
dup
getfield java.awt.Point.x:I
iload 1
iadd
putfield java.awt.Point.x:I
1: aload 0
dup
getfield java.awt.Point.y:I
iload 2
iadd
putfield java.awt.Point.y:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Point;
0 3 1 dx I
0 3 2 dy I
MethodParameters:
Name Flags
dx
dy
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
instanceof java.awt.Point
ifeq 4
1: aload 1
checkcast java.awt.Point
astore 2
start local 2 2: aload 0
getfield java.awt.Point.x:I
aload 2
getfield java.awt.Point.x:I
if_icmpne 3
aload 0
getfield java.awt.Point.y:I
aload 2
getfield java.awt.Point.y:I
if_icmpne 3
iconst_1
ireturn
StackMap locals: java.awt.Point
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.awt.geom.Point2D.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Point;
0 5 1 obj Ljava/lang/Object;
2 4 2 pt Ljava/awt/Point;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[x="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.awt.Point.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",y="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.awt.Point.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Point;
}
SourceFile: "Point.java"