public class org.aspectj.weaver.loadtime.DefaultWeavingContext implements org.aspectj.weaver.loadtime.IWeavingContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.weaver.loadtime.DefaultWeavingContext
super_class: java.lang.Object
{
protected org.aspectj.weaver.bcel.BcelWeakClassLoaderReference loaderRef;
descriptor: Lorg/aspectj/weaver/bcel/BcelWeakClassLoaderReference;
flags: (0x0004) ACC_PROTECTED
private java.lang.String shortName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static org.aspectj.weaver.tools.Trace trace;
descriptor: Lorg/aspectj/weaver/tools/Trace;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.aspectj.weaver.tools.TraceFactory.getTraceFactory:()Lorg/aspectj/weaver/tools/TraceFactory;
ldc Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
invokevirtual org.aspectj.weaver.tools.TraceFactory.getTrace:(Ljava/lang/Class;)Lorg/aspectj/weaver/tools/Trace;
putstatic org.aspectj.weaver.loadtime.DefaultWeavingContext.trace:Lorg/aspectj/weaver/tools/Trace;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.aspectj.weaver.bcel.BcelWeakClassLoaderReference
dup
aload 1
invokespecial org.aspectj.weaver.bcel.BcelWeakClassLoaderReference.<init>:(Ljava/lang/ClassLoader;)V
putfield org.aspectj.weaver.loadtime.DefaultWeavingContext.loaderRef:Lorg/aspectj/weaver/bcel/BcelWeakClassLoaderReference;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
0 3 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
public java.util.Enumeration<java.net.URL> getResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.aspectj.weaver.loadtime.DefaultWeavingContext.getClassLoader:()Ljava/lang/ClassLoader;
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
0 1 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
public java.lang.String getBundleIdFromURL(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
0 1 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public java.lang.String getClassLoaderName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.aspectj.weaver.loadtime.DefaultWeavingContext.getClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 1: aload 1
ifnull 2
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
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
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
2: StackMap locals: java.lang.ClassLoader
StackMap stack:
ldc "null"
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
1 4 1 loader Ljava/lang/ClassLoader;
public java.lang.ClassLoader getClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.loadtime.DefaultWeavingContext.loaderRef:Lorg/aspectj/weaver/bcel/BcelWeakClassLoaderReference;
invokevirtual org.aspectj.weaver.bcel.BcelWeakClassLoaderReference.getClassLoader:()Ljava/lang/ClassLoader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
public java.lang.String getFile(java.net.URL);
descriptor: (Ljava/net/URL;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
0 1 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.aspectj.weaver.loadtime.DefaultWeavingContext.shortName:Ljava/lang/String;
ifnonnull 5
1: aload 0
aload 0
invokevirtual org.aspectj.weaver.loadtime.DefaultWeavingContext.getClassLoaderName:()Ljava/lang/String;
bipush 36
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
putfield org.aspectj.weaver.loadtime.DefaultWeavingContext.shortName:Ljava/lang/String;
2: aload 0
getfield org.aspectj.weaver.loadtime.DefaultWeavingContext.shortName:Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 1
start local 1 3: iload 1
iconst_m1
if_icmpeq 5
4: aload 0
aload 0
getfield org.aspectj.weaver.loadtime.DefaultWeavingContext.shortName:Ljava/lang/String;
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.aspectj.weaver.loadtime.DefaultWeavingContext.shortName:Ljava/lang/String;
end local 1 5: StackMap locals:
StackMap stack:
aload 0
getfield org.aspectj.weaver.loadtime.DefaultWeavingContext.shortName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
3 5 1 index I
public java.lang.String getSuffix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.aspectj.weaver.loadtime.DefaultWeavingContext.getClassLoaderName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
public boolean isLocallyDefined(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
ldc ".class"
invokevirtual java.lang.String.concat:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
invokevirtual org.aspectj.weaver.loadtime.DefaultWeavingContext.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 3: aload 4
ifnonnull 5
4: iconst_0
ireturn
5: StackMap locals: java.lang.String java.lang.ClassLoader java.net.URL
StackMap stack:
iconst_1
istore 5
start local 5 6: aload 3
invokevirtual java.lang.ClassLoader.getParent:()Ljava/lang/ClassLoader;
astore 6
start local 6 7: aload 6
ifnull 11
8: aload 6
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 7
start local 7 9: aload 4
aload 7
invokevirtual java.net.URL.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iconst_0
istore 5
end local 7 11: StackMap locals: int java.lang.ClassLoader
StackMap stack:
iload 5
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
0 12 1 classname Ljava/lang/String;
1 12 2 asResource Ljava/lang/String;
2 12 3 loader Ljava/lang/ClassLoader;
3 12 4 localURL Ljava/net/URL;
6 12 5 isLocallyDefined Z
7 12 6 parent Ljava/lang/ClassLoader;
9 11 7 parentURL Ljava/net/URL;
MethodParameters:
Name Flags
classname
public java.util.List<org.aspectj.weaver.loadtime.definition.Definition> getDefinitions(java.lang.ClassLoader, org.aspectj.weaver.tools.WeavingAdaptor);
descriptor: (Ljava/lang/ClassLoader;Lorg/aspectj/weaver/tools/WeavingAdaptor;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.aspectj.weaver.loadtime.DefaultWeavingContext.trace:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 2
1: getstatic org.aspectj.weaver.loadtime.DefaultWeavingContext.trace:Lorg/aspectj/weaver/tools/Trace;
ldc "getDefinitions"
aload 0
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "goo"
aastore
dup
iconst_1
aload 2
aastore
invokeinterface org.aspectj.weaver.tools.Trace.enter:(Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
aload 2
checkcast org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor
aload 1
invokevirtual org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.parseDefinitions:(Ljava/lang/ClassLoader;)Ljava/util/List;
astore 3
start local 3 3: getstatic org.aspectj.weaver.loadtime.DefaultWeavingContext.trace:Lorg/aspectj/weaver/tools/Trace;
invokeinterface org.aspectj.weaver.tools.Trace.isTraceEnabled:()Z
ifeq 5
4: getstatic org.aspectj.weaver.loadtime.DefaultWeavingContext.trace:Lorg/aspectj/weaver/tools/Trace;
ldc "getDefinitions"
aload 3
invokeinterface org.aspectj.weaver.tools.Trace.exit:(Ljava/lang/String;Ljava/lang/Object;)V
5: StackMap locals: java.util.List
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/aspectj/weaver/loadtime/DefaultWeavingContext;
0 6 1 loader Ljava/lang/ClassLoader;
0 6 2 adaptor Lorg/aspectj/weaver/tools/WeavingAdaptor;
3 6 3 definitions Ljava/util/List<Lorg/aspectj/weaver/loadtime/definition/Definition;>;
Signature: (Ljava/lang/ClassLoader;Lorg/aspectj/weaver/tools/WeavingAdaptor;)Ljava/util/List<Lorg/aspectj/weaver/loadtime/definition/Definition;>;
MethodParameters:
Name Flags
loader final
adaptor final
}
SourceFile: "DefaultWeavingContext.java"