public class org.aspectj.apache.bcel.classfile.AttributeUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.apache.bcel.classfile.AttributeUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/apache/bcel/classfile/AttributeUtils;
public static org.aspectj.apache.bcel.classfile.Attribute[] readAttributes(java.io.DataInputStream, org.aspectj.apache.bcel.classfile.ConstantPool);
descriptor: (Ljava/io/DataInputStream;Lorg/aspectj/apache/bcel/classfile/ConstantPool;)[Lorg/aspectj/apache/bcel/classfile/Attribute;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
istore 2
start local 2 1: iload 2
ifne 4
2: getstatic org.aspectj.apache.bcel.classfile.Attribute.NoAttributes:[Lorg/aspectj/apache/bcel/classfile/Attribute;
3: areturn
4: StackMap locals: int
StackMap stack:
iload 2
anewarray org.aspectj.apache.bcel.classfile.Attribute
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: org.aspectj.apache.bcel.classfile.Attribute[] int
StackMap stack:
aload 3
iload 4
aload 0
aload 1
invokestatic org.aspectj.apache.bcel.classfile.Attribute.readAttribute:(Ljava/io/DataInputStream;Lorg/aspectj/apache/bcel/classfile/ConstantPool;)Lorg/aspectj/apache/bcel/classfile/Attribute;
aastore
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
iload 2
if_icmplt 7
end local 4 10: aload 3
11: areturn
end local 3 end local 2 12: StackMap locals: java.io.DataInputStream org.aspectj.apache.bcel.classfile.ConstantPool
StackMap stack: java.io.IOException
astore 2
start local 2 13: new org.aspectj.apache.bcel.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
ldc "IOException whilst reading set of attributes: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.aspectj.apache.bcel.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 dataInputstream Ljava/io/DataInputStream;
0 14 1 cpool Lorg/aspectj/apache/bcel/classfile/ConstantPool;
1 12 2 length I
5 12 3 attrs [Lorg/aspectj/apache/bcel/classfile/Attribute;
6 10 4 i I
13 14 2 e Ljava/io/IOException;
Exception table:
from to target type
0 3 12 Class java.io.IOException
4 11 12 Class java.io.IOException
MethodParameters:
Name Flags
dataInputstream
cpool
public static void writeAttributes(org.aspectj.apache.bcel.classfile.Attribute[], java.io.DataOutputStream);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;Ljava/io/DataOutputStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 3
1: aload 1
iconst_0
invokevirtual java.io.DataOutputStream.writeShort:(I)V
2: goto 9
3: StackMap locals:
StackMap stack:
aload 1
aload 0
arraylength
invokevirtual java.io.DataOutputStream.writeShort:(I)V
4: iconst_0
istore 2
start local 2 5: goto 8
6: StackMap locals: int
StackMap stack:
aload 0
iload 2
aaload
aload 1
invokevirtual org.aspectj.apache.bcel.classfile.Attribute.dump:(Ljava/io/DataOutputStream;)V
7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
arraylength
if_icmplt 6
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
0 10 1 file Ljava/io/DataOutputStream;
5 9 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
attributes
file
public static org.aspectj.apache.bcel.classfile.Signature getSignatureAttribute(org.aspectj.apache.bcel.classfile.Attribute[]);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;)Lorg/aspectj/apache/bcel/classfile/Signature;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
getfield org.aspectj.apache.bcel.classfile.Attribute.tag:B
bipush 10
if_icmpne 4
3: aload 0
iload 1
aaload
checkcast org.aspectj.apache.bcel.classfile.Signature
areturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
1 6 1 i I
MethodParameters:
Name Flags
attributes
public static org.aspectj.apache.bcel.classfile.Code getCodeAttribute(org.aspectj.apache.bcel.classfile.Attribute[]);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;)Lorg/aspectj/apache/bcel/classfile/Code;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
getfield org.aspectj.apache.bcel.classfile.Attribute.tag:B
iconst_2
if_icmpne 4
3: aload 0
iload 1
aaload
checkcast org.aspectj.apache.bcel.classfile.Code
areturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
1 6 1 i I
MethodParameters:
Name Flags
attributes
public static org.aspectj.apache.bcel.classfile.ExceptionTable getExceptionTableAttribute(org.aspectj.apache.bcel.classfile.Attribute[]);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;)Lorg/aspectj/apache/bcel/classfile/ExceptionTable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
getfield org.aspectj.apache.bcel.classfile.Attribute.tag:B
iconst_3
if_icmpne 4
3: aload 0
iload 1
aaload
checkcast org.aspectj.apache.bcel.classfile.ExceptionTable
areturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
1 6 1 i I
MethodParameters:
Name Flags
attributes
public static org.aspectj.apache.bcel.classfile.ConstantValue getConstantValueAttribute(org.aspectj.apache.bcel.classfile.Attribute[]);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;)Lorg/aspectj/apache/bcel/classfile/ConstantValue;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
invokevirtual org.aspectj.apache.bcel.classfile.Attribute.getTag:()B
iconst_1
if_icmpne 4
3: aload 0
iload 1
aaload
checkcast org.aspectj.apache.bcel.classfile.ConstantValue
areturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
1 6 1 i I
MethodParameters:
Name Flags
attributes
public static void accept(org.aspectj.apache.bcel.classfile.Attribute[], org.aspectj.apache.bcel.classfile.ClassVisitor);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;Lorg/aspectj/apache/bcel/classfile/ClassVisitor;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
aaload
aload 1
invokevirtual org.aspectj.apache.bcel.classfile.Attribute.accept:(Lorg/aspectj/apache/bcel/classfile/ClassVisitor;)V
3: iinc 2 1
StackMap locals:
StackMap stack:
4: iload 2
aload 0
arraylength
if_icmplt 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
0 6 1 visitor Lorg/aspectj/apache/bcel/classfile/ClassVisitor;
1 5 2 i I
MethodParameters:
Name Flags
attributes
visitor
public static boolean hasSyntheticAttribute(org.aspectj.apache.bcel.classfile.Attribute[]);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
getfield org.aspectj.apache.bcel.classfile.Attribute.tag:B
bipush 7
if_icmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
1 6 1 i I
MethodParameters:
Name Flags
attributes
public static org.aspectj.apache.bcel.classfile.SourceFile getSourceFileAttribute(org.aspectj.apache.bcel.classfile.Attribute[]);
descriptor: ([Lorg/aspectj/apache/bcel/classfile/Attribute;)Lorg/aspectj/apache/bcel/classfile/SourceFile;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
iload 1
aaload
getfield org.aspectj.apache.bcel.classfile.Attribute.tag:B
ifne 4
3: aload 0
iload 1
aaload
checkcast org.aspectj.apache.bcel.classfile.SourceFile
areturn
4: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
arraylength
if_icmplt 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 attributes [Lorg/aspectj/apache/bcel/classfile/Attribute;
1 6 1 i I
MethodParameters:
Name Flags
attributes
}
SourceFile: "AttributeUtils.java"