public class org.aspectj.weaver.bcel.UnwovenClassFile implements org.aspectj.weaver.IUnwovenClassFile
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.weaver.bcel.UnwovenClassFile
super_class: java.lang.Object
{
protected java.lang.String filename;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected char[] charfilename;
descriptor: [C
flags: (0x0004) ACC_PROTECTED
protected byte[] bytes;
descriptor: [B
flags: (0x0004) ACC_PROTECTED
protected java.util.List<org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass> writtenChildClasses;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;>;
protected java.lang.String className;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean isModule;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.aspectj.weaver.bcel.UnwovenClassFile.writtenChildClasses:Ljava/util/List;
2: aload 0
aconst_null
putfield org.aspectj.weaver.bcel.UnwovenClassFile.className:Ljava/lang/String;
3: aload 0
iconst_0
putfield org.aspectj.weaver.bcel.UnwovenClassFile.isModule:Z
4: aload 0
aload 1
putfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
5: aload 0
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "module-info.java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
putfield org.aspectj.weaver.bcel.UnwovenClassFile.isModule:Z
6: aload 0
aload 2
putfield org.aspectj.weaver.bcel.UnwovenClassFile.bytes:[B
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 8 1 filename Ljava/lang/String;
0 8 2 bytes [B
MethodParameters:
Name Flags
filename
bytes
public void <init>(java.lang.String, java.lang.String, byte[]);
descriptor: (Ljava/lang/String;Ljava/lang/String;[B)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: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.aspectj.weaver.bcel.UnwovenClassFile.writtenChildClasses:Ljava/util/List;
2: aload 0
aconst_null
putfield org.aspectj.weaver.bcel.UnwovenClassFile.className:Ljava/lang/String;
3: aload 0
iconst_0
putfield org.aspectj.weaver.bcel.UnwovenClassFile.isModule:Z
4: aload 0
aload 1
putfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
5: aload 0
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
ldc "module-info.class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
putfield org.aspectj.weaver.bcel.UnwovenClassFile.isModule:Z
6: aload 0
aload 2
putfield org.aspectj.weaver.bcel.UnwovenClassFile.className:Ljava/lang/String;
7: aload 0
aload 3
putfield org.aspectj.weaver.bcel.UnwovenClassFile.bytes:[B
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 9 1 filename Ljava/lang/String;
0 9 2 classname Ljava/lang/String;
0 9 3 bytes [B
MethodParameters:
Name Flags
filename
classname
bytes
public boolean shouldBeWoven();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.isModule:Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public java.lang.String getFilename();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public java.lang.String makeInnerFileName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
iconst_0
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
bipush 6
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 1: new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 2 1 innerName Ljava/lang/String;
1 2 2 prefix Ljava/lang/String;
MethodParameters:
Name Flags
innerName
public byte[] getBytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.bytes:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public org.aspectj.apache.bcel.classfile.JavaClass getJavaClass();
descriptor: ()Lorg/aspectj/apache/bcel/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getBytes:()[B
ifnonnull 3
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "no bytes for: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getFilename:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: invokestatic java.lang.Thread.dumpStack:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getBytes:()[B
invokestatic org.aspectj.weaver.bcel.Utility.makeJavaClass:(Ljava/lang/String;[B)Lorg/aspectj/apache/bcel/classfile/JavaClass;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public void writeUnchangedBytes();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getBytes:()[B
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.writeWovenBytes:([BLjava/util/List;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
Exceptions:
throws java.io.IOException
public void writeWovenBytes(byte[], java.util.List<org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass>);
descriptor: ([BLjava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.writeChildClasses:(Ljava/util/List;)V
1: new java.io.File
dup
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokestatic org.aspectj.util.FileUtil.makeOutputStream:(Ljava/io/File;)Ljava/io/BufferedOutputStream;
astore 3
start local 3 2: aload 3
aload 1
invokevirtual java.io.BufferedOutputStream.write:([B)V
3: aload 3
invokevirtual java.io.BufferedOutputStream.close:()V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 5 1 bytes [B
0 5 2 childClasses Ljava/util/List<Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;>;
2 5 3 os Ljava/io/BufferedOutputStream;
Exceptions:
throws java.io.IOException
Signature: ([BLjava/util/List<Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;>;)V
MethodParameters:
Name Flags
bytes
childClasses
private void writeChildClasses(java.util.List<org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.deleteAllChildClasses:()V
1: aload 1
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.writtenChildClasses:Ljava/util/List;
invokeinterface java.util.List.removeAll:(Ljava/util/Collection;)Z
pop
2: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.aspectj.weaver.bcel.UnwovenClassFile java.util.List top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass
astore 2
start local 2 4: aload 0
aload 2
getfield org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass.name:Ljava/lang/String;
aload 2
getfield org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass.bytes:[B
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.writeChildClassFile:(Ljava/lang/String;[B)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
aload 1
putfield org.aspectj.weaver.bcel.UnwovenClassFile.writtenChildClasses:Ljava/util/List;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 8 1 childClasses Ljava/util/List<Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;>;
4 5 2 childClass Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;
Exceptions:
throws java.io.IOException
Signature: (Ljava/util/List<Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;>;)V
MethodParameters:
Name Flags
childClasses
private void writeChildClassFile(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 0
aload 1
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.makeInnerFileName:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokestatic org.aspectj.util.FileUtil.makeOutputStream:(Ljava/io/File;)Ljava/io/BufferedOutputStream;
astore 3
start local 3 1: aload 3
aload 2
invokevirtual java.io.BufferedOutputStream.write:([B)V
2: aload 3
invokevirtual java.io.BufferedOutputStream.close:()V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 4 1 innerName Ljava/lang/String;
0 4 2 bytes [B
1 4 3 os Ljava/io/BufferedOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
innerName
bytes
protected void deleteAllChildClasses();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.writtenChildClasses:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: org.aspectj.weaver.bcel.UnwovenClassFile top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass
astore 1
start local 1 2: aload 0
aload 1
getfield org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass.name:Ljava/lang/String;
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.deleteChildClassFile:(Ljava/lang/String;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
2 3 1 childClass Lorg/aspectj/weaver/bcel/UnwovenClassFile$ChildClass;
protected void deleteChildClassFile(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new java.io.File
dup
aload 0
aload 1
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.makeInnerFileName:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.File.delete:()Z
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 3 1 innerName Ljava/lang/String;
1 3 2 childClassFile Ljava/io/File;
MethodParameters:
Name Flags
innerName
static boolean unchanged(byte[], byte[]);
descriptor: ([B[B)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
arraylength
istore 2
start local 2 1: aload 1
arraylength
iload 2
if_icmpeq 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: int
StackMap stack:
aload 0
iload 3
baload
aload 1
iload 3
baload
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 5
end local 3 9: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 b1 [B
0 10 1 b2 [B
1 10 2 len I
4 9 3 i I
MethodParameters:
Name Flags
b1
b2
public char[] getClassNameAsChars();
descriptor: ()[C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.charfilename:[C
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getClassName:()Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
putfield org.aspectj.weaver.bcel.UnwovenClassFile.charfilename:[C
2: StackMap locals:
StackMap stack:
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.charfilename:[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.className:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getJavaClass:()Lorg/aspectj/apache/bcel/classfile/JavaClass;
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.getClassName:()Ljava/lang/String;
putfield org.aspectj.weaver.bcel.UnwovenClassFile.className:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.className:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "UnwovenClassFile("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.aspectj.weaver.bcel.UnwovenClassFile.filename:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.aspectj.weaver.bcel.UnwovenClassFile.getClassName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
public void setClassNameAsChars(char[]);
descriptor: ([C)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.aspectj.weaver.bcel.UnwovenClassFile.charfilename:[C
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/weaver/bcel/UnwovenClassFile;
0 2 1 classNameAsChars [C
MethodParameters:
Name Flags
classNameAsChars
}
SourceFile: "UnwovenClassFile.java"
NestMembers:
org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass
InnerClasses:
public ChildClass = org.aspectj.weaver.bcel.UnwovenClassFile$ChildClass of org.aspectj.weaver.bcel.UnwovenClassFile