public abstract class javax.print.attribute.Size2DSyntax implements java.io.Serializable, java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.print.attribute.Size2DSyntax
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5584439964938660530
private int x;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int y;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static final int INCH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 25400
public static final int MM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
protected void <init>(float, float, int);
descriptor: (FFI)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: fload 1
fconst_0
fcmpg
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "x < 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.Size2DSyntax float float int
StackMap stack:
fload 2
fconst_0
fcmpg
ifge 5
4: new java.lang.IllegalArgumentException
dup
ldc "y < 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpge 7
6: new java.lang.IllegalArgumentException
dup
ldc "units < 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
fload 1
iload 3
i2f
fmul
ldc 0.5
fadd
f2i
putfield javax.print.attribute.Size2DSyntax.x:I
8: aload 0
fload 2
iload 3
i2f
fmul
ldc 0.5
fadd
f2i
putfield javax.print.attribute.Size2DSyntax.y:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/print/attribute/Size2DSyntax;
0 10 1 x F
0 10 2 y F
0 10 3 units I
MethodParameters:
Name Flags
x
y
units
protected void <init>(int, int, int);
descriptor: (III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
ldc "x < 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.Size2DSyntax int int int
StackMap stack:
iload 2
ifge 5
4: new java.lang.IllegalArgumentException
dup
ldc "y < 0"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
iload 3
iconst_1
if_icmpge 7
6: new java.lang.IllegalArgumentException
dup
ldc "units < 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 3
imul
putfield javax.print.attribute.Size2DSyntax.x:I
8: aload 0
iload 2
iload 3
imul
putfield javax.print.attribute.Size2DSyntax.y:I
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/print/attribute/Size2DSyntax;
0 10 1 x I
0 10 2 y I
0 10 3 units I
MethodParameters:
Name Flags
x
y
units
private static float convertFromMicrometers(int, int);
descriptor: (II)F
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "units is < 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
i2f
iload 1
i2f
fdiv
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x I
0 3 1 units I
MethodParameters:
Name Flags
x
units
public float[] getSize(int);
descriptor: (I)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iconst_2
newarray 6
dup
iconst_0
aload 0
iload 1
invokevirtual javax.print.attribute.Size2DSyntax.getX:(I)F
fastore
dup
iconst_1
aload 0
iload 1
invokevirtual javax.print.attribute.Size2DSyntax.getY:(I)F
fastore
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/Size2DSyntax;
0 1 1 units I
MethodParameters:
Name Flags
units
public float getX(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.print.attribute.Size2DSyntax.x:I
iload 1
invokestatic javax.print.attribute.Size2DSyntax.convertFromMicrometers:(II)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/Size2DSyntax;
0 1 1 units I
MethodParameters:
Name Flags
units
public float getY(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.print.attribute.Size2DSyntax.y:I
iload 1
invokestatic javax.print.attribute.Size2DSyntax.convertFromMicrometers:(II)F
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/Size2DSyntax;
0 1 1 units I
MethodParameters:
Name Flags
units
public java.lang.String toString(int, java.lang.String);
descriptor: (ILjava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 3
aload 0
iload 1
invokevirtual javax.print.attribute.Size2DSyntax.getX:(I)F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
pop
2: aload 3
bipush 120
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 3
aload 0
iload 1
invokevirtual javax.print.attribute.Size2DSyntax.getY:(I)F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
pop
4: aload 2
ifnull 7
5: aload 3
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 3
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/print/attribute/Size2DSyntax;
0 8 1 units I
0 8 2 unitsName Ljava/lang/String;
1 8 3 result Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
units
unitsName
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 5
1: aload 1
instanceof javax.print.attribute.Size2DSyntax
ifeq 5
2: aload 0
getfield javax.print.attribute.Size2DSyntax.x:I
aload 1
checkcast javax.print.attribute.Size2DSyntax
getfield javax.print.attribute.Size2DSyntax.x:I
if_icmpne 5
3: aload 0
getfield javax.print.attribute.Size2DSyntax.y:I
aload 1
checkcast javax.print.attribute.Size2DSyntax
getfield javax.print.attribute.Size2DSyntax.y:I
if_icmpne 5
4: iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/print/attribute/Size2DSyntax;
0 6 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.print.attribute.Size2DSyntax.x:I
ldc 65535
iand
1: aload 0
getfield javax.print.attribute.Size2DSyntax.y:I
ldc 65535
iand
bipush 16
ishl
2: ior
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/print/attribute/Size2DSyntax;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield javax.print.attribute.Size2DSyntax.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 120
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
getfield javax.print.attribute.Size2DSyntax.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc " um"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/print/attribute/Size2DSyntax;
1 6 1 result Ljava/lang/StringBuilder;
protected int getXMicrometers();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.print.attribute.Size2DSyntax.x:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/Size2DSyntax;
protected int getYMicrometers();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.print.attribute.Size2DSyntax.y:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/Size2DSyntax;
}
SourceFile: "Size2DSyntax.java"