class sun.print.Win32MediaSize extends javax.print.attribute.standard.MediaSizeName
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.print.Win32MediaSize
super_class: javax.print.attribute.standard.MediaSizeName
{
private static java.util.ArrayList winStringTable;
descriptor: Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.ArrayList winEnumTable;
descriptor: Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.attribute.standard.MediaSize[] predefMedia;
descriptor: [Ljavax/print/attribute/standard/MediaSize;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private int dmPaperID;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic sun.print.Win32MediaSize.winStringTable:Ljava/util/ArrayList;
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic sun.print.Win32MediaSize.winEnumTable:Ljava/util/ArrayList;
2: new sun.print.Win32MediaSize
dup
iconst_m1
invokespecial sun.print.Win32MediaSize.<init>:(I)V
astore 0
start local 0 3: aload 0
invokevirtual sun.print.Win32MediaSize.getSuperEnumTable:()[Ljavax/print/attribute/standard/MediaSizeName;
astore 1
start local 1 4: aload 1
ifnull 11
5: aload 1
arraylength
anewarray javax.print.attribute.standard.MediaSize
putstatic sun.print.Win32MediaSize.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
6: iconst_0
istore 2
start local 2 7: goto 10
8: StackMap locals: sun.print.Win32MediaSize javax.print.attribute.standard.MediaSizeName[] int
StackMap stack:
getstatic sun.print.Win32MediaSize.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
iload 2
aload 1
iload 2
aaload
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
aastore
9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 1
arraylength
if_icmplt 8
end local 2 end local 1 end local 0 11: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 11 0 winMedia Lsun/print/Win32MediaSize;
4 11 1 enumMedia [Ljavax/print/attribute/standard/MediaSizeName;
7 11 2 i I
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial javax.print.attribute.standard.MediaSizeName.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/Win32MediaSize;
0 2 1 x I
MethodParameters:
Name Flags
x
private static synchronized int nextValue(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.print.Win32MediaSize.winStringTable:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
1: getstatic sun.print.Win32MediaSize.winStringTable:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static synchronized sun.print.Win32MediaSize findMediaName(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/print/Win32MediaSize;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.print.Win32MediaSize.winStringTable:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 3
2: getstatic sun.print.Win32MediaSize.winEnumTable:Ljava/util/ArrayList;
iload 1
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast sun.print.Win32MediaSize
areturn
3: StackMap locals: int
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 4 1 nameIndex I
MethodParameters:
Name Flags
name
public static javax.print.attribute.standard.MediaSize[] getPredefMedia();
descriptor: ()[Ljavax/print/attribute/standard/MediaSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.print.Win32MediaSize.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, int);
descriptor: (Ljava/lang/String;I)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
aload 1
invokestatic sun.print.Win32MediaSize.nextValue:(Ljava/lang/String;)I
invokespecial javax.print.attribute.standard.MediaSizeName.<init>:(I)V
1: aload 0
iload 2
putfield sun.print.Win32MediaSize.dmPaperID:I
2: getstatic sun.print.Win32MediaSize.winEnumTable:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/Win32MediaSize;
0 4 1 name Ljava/lang/String;
0 4 2 dmPaper I
MethodParameters:
Name Flags
name
dmPaper
private javax.print.attribute.standard.MediaSizeName[] getSuperEnumTable();
descriptor: ()[Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.print.attribute.standard.MediaSizeName.getEnumValueTable:()[Ljavax/print/attribute/EnumSyntax;
checkcast javax.print.attribute.standard.MediaSizeName[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32MediaSize;
int getDMPaper();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32MediaSize.dmPaperID:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32MediaSize;
protected java.lang.String[] getStringTable();
descriptor: ()[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.print.Win32MediaSize.winStringTable:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
astore 1
start local 1 1: getstatic sun.print.Win32MediaSize.winStringTable:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/Win32MediaSize;
1 2 1 nameTable [Ljava/lang/String;
protected javax.print.attribute.EnumSyntax[] getEnumValueTable();
descriptor: ()[Ljavax/print/attribute/EnumSyntax;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.print.Win32MediaSize.winEnumTable:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaSizeName
astore 1
start local 1 1: getstatic sun.print.Win32MediaSize.winEnumTable:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/Win32MediaSize;
1 2 1 enumTable [Ljavax/print/attribute/standard/MediaSizeName;
}
SourceFile: "Win32PrintService.java"