public abstract class java.awt.geom.RectangularShape implements java.awt.Shape, java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.awt.geom.RectangularShape
super_class: java.lang.Object
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
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 Ljava/awt/geom/RectangularShape;
public abstract double getX();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract double getY();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract double getWidth();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract double getHeight();
descriptor: ()D
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public double getMinX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getX:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
public double getMinY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getY:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
public double getMaxX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getX:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getWidth:()D
dadd
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
public double getMaxY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getY:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getHeight:()D
dadd
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
public double getCenterX();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getX:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getWidth:()D
ldc 2.0
ddiv
dadd
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
public double getCenterY();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getY:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getHeight:()D
ldc 2.0
ddiv
dadd
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
public java.awt.geom.Rectangle2D getFrame();
descriptor: ()Ljava/awt/geom/Rectangle2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=1, args_size=1
start local 0 0: new java.awt.geom.Rectangle2D$Double
dup
aload 0
invokevirtual java.awt.geom.RectangularShape.getX:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getY:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getWidth:()D
aload 0
invokevirtual java.awt.geom.RectangularShape.getHeight:()D
invokespecial java.awt.geom.Rectangle2D$Double.<init>:(DDDD)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
RuntimeVisibleAnnotations:
java.beans.Transient()
public abstract boolean isEmpty();
descriptor: ()Z
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract void setFrame(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
x
y
w
h
public void setFrame(java.awt.geom.Point2D, java.awt.geom.Dimension2D);
descriptor: (Ljava/awt/geom/Point2D;Ljava/awt/geom/Dimension2D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
aload 2
invokevirtual java.awt.geom.Dimension2D.getWidth:()D
aload 2
invokevirtual java.awt.geom.Dimension2D.getHeight:()D
invokevirtual java.awt.geom.RectangularShape.setFrame:(DDDD)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/geom/RectangularShape;
0 2 1 loc Ljava/awt/geom/Point2D;
0 2 2 size Ljava/awt/geom/Dimension2D;
MethodParameters:
Name Flags
loc
size
public void setFrame(java.awt.geom.Rectangle2D);
descriptor: (Ljava/awt/geom/Rectangle2D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Rectangle2D.getX:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getY:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getWidth:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getHeight:()D
invokevirtual java.awt.geom.RectangularShape.setFrame:(DDDD)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/geom/RectangularShape;
0 2 1 r Ljava/awt/geom/Rectangle2D;
MethodParameters:
Name Flags
r
public void setFrameFromDiagonal(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=11, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: dload 5
dload 1
dcmpg
ifge 4
1: dload 1
dstore 9
start local 9 2: dload 5
dstore 1
3: dload 9
dstore 5
end local 9 4: StackMap locals:
StackMap stack:
dload 7
dload 3
dcmpg
ifge 8
5: dload 3
dstore 9
start local 9 6: dload 7
dstore 3
7: dload 9
dstore 7
end local 9 8: StackMap locals:
StackMap stack:
aload 0
dload 1
dload 3
dload 5
dload 1
dsub
dload 7
dload 3
dsub
invokevirtual java.awt.geom.RectangularShape.setFrame:(DDDD)V
9: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/awt/geom/RectangularShape;
0 10 1 x1 D
0 10 3 y1 D
0 10 5 x2 D
0 10 7 y2 D
2 4 9 t D
6 8 9 t D
MethodParameters:
Name Flags
x1
y1
x2
y2
public void setFrameFromDiagonal(java.awt.geom.Point2D, java.awt.geom.Point2D);
descriptor: (Ljava/awt/geom/Point2D;Ljava/awt/geom/Point2D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
aload 2
invokevirtual java.awt.geom.Point2D.getX:()D
aload 2
invokevirtual java.awt.geom.Point2D.getY:()D
invokevirtual java.awt.geom.RectangularShape.setFrameFromDiagonal:(DDDD)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/geom/RectangularShape;
0 2 1 p1 Ljava/awt/geom/Point2D;
0 2 2 p2 Ljava/awt/geom/Point2D;
MethodParameters:
Name Flags
p1
p2
public void setFrameFromCenter(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=13, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: dload 5
dload 1
dsub
invokestatic java.lang.Math.abs:(D)D
dstore 9
start local 9 1: dload 7
dload 3
dsub
invokestatic java.lang.Math.abs:(D)D
dstore 11
start local 11 2: aload 0
dload 1
dload 9
dsub
dload 3
dload 11
dsub
dload 9
ldc 2.0
dmul
dload 11
ldc 2.0
dmul
invokevirtual java.awt.geom.RectangularShape.setFrame:(DDDD)V
3: return
end local 11 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/geom/RectangularShape;
0 4 1 centerX D
0 4 3 centerY D
0 4 5 cornerX D
0 4 7 cornerY D
1 4 9 halfW D
2 4 11 halfH D
MethodParameters:
Name Flags
centerX
centerY
cornerX
cornerY
public void setFrameFromCenter(java.awt.geom.Point2D, java.awt.geom.Point2D);
descriptor: (Ljava/awt/geom/Point2D;Ljava/awt/geom/Point2D;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
1: aload 2
invokevirtual java.awt.geom.Point2D.getX:()D
aload 2
invokevirtual java.awt.geom.Point2D.getY:()D
2: invokevirtual java.awt.geom.RectangularShape.setFrameFromCenter:(DDDD)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/geom/RectangularShape;
0 4 1 center Ljava/awt/geom/Point2D;
0 4 2 corner Ljava/awt/geom/Point2D;
MethodParameters:
Name Flags
center
corner
public boolean contains(java.awt.geom.Point2D);
descriptor: (Ljava/awt/geom/Point2D;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Point2D.getX:()D
aload 1
invokevirtual java.awt.geom.Point2D.getY:()D
invokevirtual java.awt.geom.RectangularShape.contains:(DD)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
0 1 1 p Ljava/awt/geom/Point2D;
MethodParameters:
Name Flags
p
public boolean intersects(java.awt.geom.Rectangle2D);
descriptor: (Ljava/awt/geom/Rectangle2D;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Rectangle2D.getX:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getY:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getWidth:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getHeight:()D
invokevirtual java.awt.geom.RectangularShape.intersects:(DDDD)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
0 1 1 r Ljava/awt/geom/Rectangle2D;
MethodParameters:
Name Flags
r
public boolean contains(java.awt.geom.Rectangle2D);
descriptor: (Ljava/awt/geom/Rectangle2D;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.awt.geom.Rectangle2D.getX:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getY:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getWidth:()D
aload 1
invokevirtual java.awt.geom.Rectangle2D.getHeight:()D
invokevirtual java.awt.geom.RectangularShape.contains:(DDDD)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
0 1 1 r Ljava/awt/geom/Rectangle2D;
MethodParameters:
Name Flags
r
public java.awt.Rectangle getBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=17, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.geom.RectangularShape.getWidth:()D
dstore 1
start local 1 1: aload 0
invokevirtual java.awt.geom.RectangularShape.getHeight:()D
dstore 3
start local 3 2: dload 1
dconst_0
dcmpg
iflt 3
dload 3
dconst_0
dcmpg
ifge 4
3: StackMap locals: double double
StackMap stack:
new java.awt.Rectangle
dup
invokespecial java.awt.Rectangle.<init>:()V
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.awt.geom.RectangularShape.getX:()D
dstore 5
start local 5 5: aload 0
invokevirtual java.awt.geom.RectangularShape.getY:()D
dstore 7
start local 7 6: dload 5
invokestatic java.lang.Math.floor:(D)D
dstore 9
start local 9 7: dload 7
invokestatic java.lang.Math.floor:(D)D
dstore 11
start local 11 8: dload 5
dload 1
dadd
invokestatic java.lang.Math.ceil:(D)D
dstore 13
start local 13 9: dload 7
dload 3
dadd
invokestatic java.lang.Math.ceil:(D)D
dstore 15
start local 15 10: new java.awt.Rectangle
dup
dload 9
d2i
dload 11
d2i
11: dload 13
dload 9
dsub
d2i
dload 15
dload 11
dsub
d2i
12: invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 15 end local 13 end local 11 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/geom/RectangularShape;
1 13 1 width D
2 13 3 height D
5 13 5 x D
6 13 7 y D
7 13 9 x1 D
8 13 11 y1 D
9 13 13 x2 D
10 13 15 y2 D
public java.awt.geom.PathIterator getPathIterator(java.awt.geom.AffineTransform, double);
descriptor: (Ljava/awt/geom/AffineTransform;D)Ljava/awt/geom/PathIterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.awt.geom.FlatteningPathIterator
dup
aload 0
aload 1
invokevirtual java.awt.geom.RectangularShape.getPathIterator:(Ljava/awt/geom/AffineTransform;)Ljava/awt/geom/PathIterator;
dload 2
invokespecial java.awt.geom.FlatteningPathIterator.<init>:(Ljava/awt/geom/PathIterator;D)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/geom/RectangularShape;
0 1 1 at Ljava/awt/geom/AffineTransform;
0 1 2 flatness D
MethodParameters:
Name Flags
at
flatness
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 3: new java.lang.InternalError
dup
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/awt/geom/RectangularShape;
3 4 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 1 2 Class java.lang.CloneNotSupportedException
}
SourceFile: "RectangularShape.java"
InnerClasses:
public Double = java.awt.geom.Rectangle2D$Double of java.awt.geom.Rectangle2D