public class sun.print.AttributeClass
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.AttributeClass
super_class: java.lang.Object
{
private java.lang.String myName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int myType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int nameLen;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.Object myValue;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
public static final int TAG_UNSUPPORTED_VALUE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int TAG_INT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 33
public static final int TAG_BOOL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 34
public static final int TAG_ENUM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 35
public static final int TAG_OCTET;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 48
public static final int TAG_DATE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 49
public static final int TAG_RESOLUTION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 50
public static final int TAG_RANGE_INTEGER;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 51
public static final int TAG_TEXT_LANGUAGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 53
public static final int TAG_NAME_LANGUAGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 54
public static final int TAG_TEXT_WO_LANGUAGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 65
public static final int TAG_NAME_WO_LANGUAGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 66
public static final int TAG_KEYWORD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 68
public static final int TAG_URI;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 69
public static final int TAG_CHARSET;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 71
public static final int TAG_NATURALLANGUAGE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 72
public static final int TAG_MIME_MEDIATYPE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 73
public static final int TAG_MEMBER_ATTRNAME;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 74
public static final sun.print.AttributeClass ATTRIBUTES_CHARSET;
descriptor: Lsun/print/AttributeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final sun.print.AttributeClass ATTRIBUTES_NATURAL_LANGUAGE;
descriptor: Lsun/print/AttributeClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new sun.print.AttributeClass
dup
ldc "attributes-charset"
1: bipush 71
ldc "utf-8"
2: invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
3: putstatic sun.print.AttributeClass.ATTRIBUTES_CHARSET:Lsun/print/AttributeClass;
4: new sun.print.AttributeClass
dup
ldc "attributes-natural-language"
5: bipush 72
ldc "en"
6: invokespecial sun.print.AttributeClass.<init>:(Ljava/lang/String;ILjava/lang/Object;)V
7: putstatic sun.print.AttributeClass.ATTRIBUTES_NATURAL_LANGUAGE:Lsun/print/AttributeClass;
8: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(java.lang.String, int, java.lang.Object);
descriptor: (Ljava/lang/String;ILjava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, 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: aload 0
aload 1
putfield sun.print.AttributeClass.myName:Ljava/lang/String;
2: aload 0
iload 2
putfield sun.print.AttributeClass.myType:I
3: aload 0
aload 1
invokevirtual java.lang.String.length:()I
putfield sun.print.AttributeClass.nameLen:I
4: aload 0
aload 3
putfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/print/AttributeClass;
0 6 1 name Ljava/lang/String;
0 6 2 type I
0 6 3 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
type
value
public byte getType();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myType:I
i2b
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/AttributeClass;
public char[] getLenChars();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_2
newarray 5
astore 1
start local 1 1: aload 1
iconst_0
iconst_0
castore
2: aload 1
iconst_1
aload 0
getfield sun.print.AttributeClass.nameLen:I
i2c
castore
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/AttributeClass;
1 4 1 chars [C
public java.lang.Object getObjectValue();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/AttributeClass;
public int getIntValue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
checkcast byte[]
astore 1
start local 1 1: aload 1
ifnull 9
2: iconst_4
newarray 8
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: byte[] byte[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
iconst_1
iadd
baload
bastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iconst_4
if_icmplt 5
end local 3 8: aload 0
aload 2
invokevirtual sun.print.AttributeClass.convertToInt:([B)I
ireturn
end local 2 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/print/AttributeClass;
1 10 1 bufArray [B
3 9 2 buf [B
4 8 3 i I
public int[] getArrayOfIntValues();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
checkcast byte[]
astore 1
start local 1 1: aload 1
ifnull 21
2: new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
3: astore 2
start local 2 4: aload 2
invokevirtual java.io.ByteArrayInputStream.available:()I
istore 3
start local 3 5: aload 2
iload 3
invokevirtual java.io.ByteArrayInputStream.mark:(I)V
6: aload 2
iload 3
iconst_1
isub
i2l
invokevirtual java.io.ByteArrayInputStream.skip:(J)J
pop2
7: aload 2
invokevirtual java.io.ByteArrayInputStream.read:()I
istore 4
start local 4 8: aload 2
invokevirtual java.io.ByteArrayInputStream.reset:()V
9: iload 4
newarray 10
astore 5
start local 5 10: iconst_0
istore 6
start local 6 11: goto 19
12: StackMap locals: sun.print.AttributeClass byte[] java.io.ByteArrayInputStream int int int[] int
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayInputStream.read:()I
istore 7
start local 7 13: iload 7
iconst_4
if_icmpeq 15
14: aconst_null
areturn
15: StackMap locals: int
StackMap stack:
iload 7
newarray 8
astore 8
start local 8 16: aload 2
aload 8
iconst_0
iload 7
invokevirtual java.io.ByteArrayInputStream.read:([BII)I
pop
17: aload 5
iload 6
aload 0
aload 8
invokevirtual sun.print.AttributeClass.convertToInt:([B)I
iastore
end local 8 end local 7 18: iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 4
if_icmplt 12
end local 6 20: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 21: StackMap locals: sun.print.AttributeClass byte[]
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/print/AttributeClass;
1 22 1 bufArray [B
4 21 2 bufStream Ljava/io/ByteArrayInputStream;
5 21 3 available I
8 21 4 length I
10 21 5 valueArray [I
11 20 6 i I
13 18 7 valLength I
16 18 8 bufBytes [B
public int[] getIntRangeValue();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: iconst_2
newarray 10
astore 1
start local 1 1: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
checkcast byte[]
astore 2
start local 2 2: aload 2
ifnull 15
3: iconst_4
istore 3
start local 3 4: iconst_0
istore 4
start local 4 5: goto 14
6: StackMap locals: sun.print.AttributeClass int[] byte[] int int
StackMap stack:
iload 3
newarray 8
astore 5
start local 5 7: iconst_0
istore 6
start local 6 8: goto 11
9: StackMap locals: byte[] int
StackMap stack:
aload 5
iload 6
aload 2
iload 6
iconst_4
iload 4
imul
iadd
iconst_1
iadd
baload
bastore
10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 3
if_icmplt 9
end local 6 12: aload 1
iload 4
aload 0
aload 5
invokevirtual sun.print.AttributeClass.convertToInt:([B)I
iastore
end local 5 13: iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
iconst_2
if_icmplt 6
end local 4 end local 3 15: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/AttributeClass;
1 16 1 range [I
2 16 2 bufArray [B
4 15 3 nBytes I
5 15 4 j I
7 13 5 intBytes [B
8 12 6 i I
public java.lang.String getStringValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
checkcast byte[]
astore 2
start local 2 2: aload 2
ifnull 11
3: new java.io.ByteArrayInputStream
dup
aload 2
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
4: astore 3
start local 3 5: aload 3
invokevirtual java.io.ByteArrayInputStream.read:()I
istore 4
start local 4 6: iload 4
newarray 8
astore 5
start local 5 7: aload 3
aload 5
iconst_0
iload 4
invokevirtual java.io.ByteArrayInputStream.read:([BII)I
pop
8: new java.lang.String
dup
aload 5
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
astore 1
9: goto 11
StackMap locals: sun.print.AttributeClass java.lang.String byte[] java.io.ByteArrayInputStream int byte[]
StackMap stack: java.io.UnsupportedEncodingException
10: pop
end local 5 end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/print/AttributeClass;
1 12 1 strVal Ljava/lang/String;
2 12 2 bufArray [B
5 11 3 bufStream Ljava/io/ByteArrayInputStream;
6 11 4 valLength I
7 11 5 strBytes [B
Exception table:
from to target type
8 9 10 Class java.io.UnsupportedEncodingException
public java.lang.String[] getArrayOfStringValues();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
checkcast byte[]
astore 1
start local 1 1: aload 1
ifnull 21
2: new java.io.ByteArrayInputStream
dup
aload 1
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
3: astore 2
start local 2 4: aload 2
invokevirtual java.io.ByteArrayInputStream.available:()I
istore 3
start local 3 5: aload 2
iload 3
invokevirtual java.io.ByteArrayInputStream.mark:(I)V
6: aload 2
iload 3
iconst_1
isub
i2l
invokevirtual java.io.ByteArrayInputStream.skip:(J)J
pop2
7: aload 2
invokevirtual java.io.ByteArrayInputStream.read:()I
istore 4
start local 4 8: aload 2
invokevirtual java.io.ByteArrayInputStream.reset:()V
9: iload 4
anewarray java.lang.String
astore 5
start local 5 10: iconst_0
istore 6
start local 6 11: goto 19
12: StackMap locals: sun.print.AttributeClass byte[] java.io.ByteArrayInputStream int int java.lang.String[] int
StackMap stack:
aload 2
invokevirtual java.io.ByteArrayInputStream.read:()I
istore 7
start local 7 13: iload 7
newarray 8
astore 8
start local 8 14: aload 2
aload 8
iconst_0
iload 7
invokevirtual java.io.ByteArrayInputStream.read:([BII)I
pop
15: aload 5
iload 6
new java.lang.String
dup
aload 8
ldc "UTF-8"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
aastore
16: goto 18
StackMap locals: sun.print.AttributeClass byte[] java.io.ByteArrayInputStream int int java.lang.String[] int int byte[]
StackMap stack: java.io.UnsupportedEncodingException
17: pop
end local 8 end local 7 18: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 4
if_icmplt 12
end local 6 20: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 21: StackMap locals: sun.print.AttributeClass byte[]
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/print/AttributeClass;
1 22 1 bufArray [B
4 21 2 bufStream Ljava/io/ByteArrayInputStream;
5 21 3 available I
8 21 4 length I
10 21 5 valueArray [Ljava/lang/String;
11 20 6 i I
13 18 7 valLength I
14 18 8 bufBytes [B
Exception table:
from to target type
15 16 17 Class java.io.UnsupportedEncodingException
public byte getByteValue();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
checkcast byte[]
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
arraylength
iconst_2
if_icmplt 3
2: aload 1
iconst_1
baload
ireturn
3: StackMap locals: byte[]
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/AttributeClass;
1 4 1 bufArray [B
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/AttributeClass;
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 sun.print.AttributeClass
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.print.AttributeClass
astore 2
start local 2 5: aload 0
getfield sun.print.AttributeClass.myType:I
aload 2
invokevirtual sun.print.AttributeClass.getType:()B
if_icmpne 9
6: aload 0
getfield sun.print.AttributeClass.myName:Ljava/lang/String;
aload 2
invokevirtual sun.print.AttributeClass.getName:()Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
aload 2
invokevirtual sun.print.AttributeClass.getObjectValue:()Ljava/lang/Object;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals: sun.print.AttributeClass
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/print/AttributeClass;
0 10 1 obj Ljava/lang/Object;
5 10 2 acObj Lsun/print/AttributeClass;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield sun.print.AttributeClass.myType:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield sun.print.AttributeClass.myName:Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield sun.print.AttributeClass.myValue:Ljava/lang/Object;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/AttributeClass;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.AttributeClass.myName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/AttributeClass;
private int unsignedByteToInt(byte);
descriptor: (B)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 255
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/AttributeClass;
0 1 1 b B
MethodParameters:
Name Flags
b
private int convertToInt(byte[]);
descriptor: ([B)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: iload 2
aload 0
aload 1
iload 3
iinc 3 1
baload
invokevirtual sun.print.AttributeClass.unsignedByteToInt:(B)I
bipush 24
ishl
iadd
istore 2
3: iload 2
aload 0
aload 1
iload 3
iinc 3 1
baload
invokevirtual sun.print.AttributeClass.unsignedByteToInt:(B)I
bipush 16
ishl
iadd
istore 2
4: iload 2
aload 0
aload 1
iload 3
iinc 3 1
baload
invokevirtual sun.print.AttributeClass.unsignedByteToInt:(B)I
bipush 8
ishl
iadd
istore 2
5: iload 2
aload 0
aload 1
iload 3
iinc 3 1
baload
invokevirtual sun.print.AttributeClass.unsignedByteToInt:(B)I
iconst_0
ishl
iadd
istore 2
6: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/print/AttributeClass;
0 7 1 buf [B
1 7 2 intVal I
2 7 3 pos I
MethodParameters:
Name Flags
buf
}
SourceFile: "AttributeClass.java"