public abstract class javax.print.attribute.ResolutionSyntax 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.ResolutionSyntax
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2706743076526672017
private int crossFeedResolution;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int feedResolution;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public static final int DPI;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 100
public static final int DPCM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 254
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
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
iconst_1
if_icmpge 3
2: new java.lang.IllegalArgumentException
dup
ldc "crossFeedResolution is < 1"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.print.attribute.ResolutionSyntax int int int
StackMap stack:
iload 2
iconst_1
if_icmpge 5
4: new java.lang.IllegalArgumentException
dup
ldc "feedResolution is < 1"
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 is < 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.ResolutionSyntax.crossFeedResolution:I
8: aload 0
iload 2
iload 3
imul
putfield javax.print.attribute.ResolutionSyntax.feedResolution: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/ResolutionSyntax;
0 10 1 crossFeedResolution I
0 10 2 feedResolution I
0 10 3 units I
MethodParameters:
Name Flags
crossFeedResolution
feedResolution
units
private static int convertFromDphi(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, 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 1
iconst_2
idiv
istore 2
start local 2 3: iload 0
iload 2
iadd
iload 1
idiv
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 dphi I
0 4 1 units I
3 4 2 round I
MethodParameters:
Name Flags
dphi
units
public int[] getResolution(int);
descriptor: (I)[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iconst_2
newarray 10
dup
iconst_0
aload 0
iload 1
invokevirtual javax.print.attribute.ResolutionSyntax.getCrossFeedResolution:(I)I
iastore
dup
iconst_1
1: aload 0
iload 1
invokevirtual javax.print.attribute.ResolutionSyntax.getFeedResolution:(I)I
iastore
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/print/attribute/ResolutionSyntax;
0 3 1 units I
MethodParameters:
Name Flags
units
public int getCrossFeedResolution(int);
descriptor: (I)I
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.ResolutionSyntax.crossFeedResolution:I
iload 1
invokestatic javax.print.attribute.ResolutionSyntax.convertFromDphi:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/ResolutionSyntax;
0 1 1 units I
MethodParameters:
Name Flags
units
public int getFeedResolution(int);
descriptor: (I)I
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.ResolutionSyntax.feedResolution:I
iload 1
invokestatic javax.print.attribute.ResolutionSyntax.convertFromDphi:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/ResolutionSyntax;
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.ResolutionSyntax.getCrossFeedResolution:(I)I
invokevirtual java.lang.StringBuilder.append:(I)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.ResolutionSyntax.getFeedResolution:(I)I
invokevirtual java.lang.StringBuilder.append:(I)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/ResolutionSyntax;
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 lessThanOrEquals(javax.print.attribute.ResolutionSyntax);
descriptor: (Ljavax/print/attribute/ResolutionSyntax;)Z
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.ResolutionSyntax.crossFeedResolution:I
aload 1
getfield javax.print.attribute.ResolutionSyntax.crossFeedResolution:I
if_icmpgt 3
1: aload 0
getfield javax.print.attribute.ResolutionSyntax.feedResolution:I
aload 1
getfield javax.print.attribute.ResolutionSyntax.feedResolution:I
2: if_icmpgt 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/print/attribute/ResolutionSyntax;
0 4 1 other Ljavax/print/attribute/ResolutionSyntax;
MethodParameters:
Name Flags
other
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 9
1: aload 1
instanceof javax.print.attribute.ResolutionSyntax
ifeq 9
2: aload 0
getfield javax.print.attribute.ResolutionSyntax.crossFeedResolution:I
3: aload 1
checkcast javax.print.attribute.ResolutionSyntax
getfield javax.print.attribute.ResolutionSyntax.crossFeedResolution:I
4: if_icmpne 9
5: aload 0
getfield javax.print.attribute.ResolutionSyntax.feedResolution:I
6: aload 1
checkcast javax.print.attribute.ResolutionSyntax
getfield javax.print.attribute.ResolutionSyntax.feedResolution:I
7: if_icmpne 9
8: iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/print/attribute/ResolutionSyntax;
0 10 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.ResolutionSyntax.crossFeedResolution:I
ldc 65535
iand
1: aload 0
getfield javax.print.attribute.ResolutionSyntax.feedResolution: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/ResolutionSyntax;
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.ResolutionSyntax.crossFeedResolution: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.ResolutionSyntax.feedResolution:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc " dphi"
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/ResolutionSyntax;
1 6 1 result Ljava/lang/StringBuilder;
protected int getCrossFeedResolutionDphi();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.print.attribute.ResolutionSyntax.crossFeedResolution:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/ResolutionSyntax;
protected int getFeedResolutionDphi();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.print.attribute.ResolutionSyntax.feedResolution:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/attribute/ResolutionSyntax;
}
SourceFile: "ResolutionSyntax.java"