public class org.aspectj.weaver.tools.cache.DefaultCacheKeyResolver implements org.aspectj.weaver.tools.cache.CacheKeyResolver
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.weaver.tools.cache.DefaultCacheKeyResolver
super_class: java.lang.Object
{
public static final java.lang.String GENERATED_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ".generated"
public static final java.lang.String WEAVED_SUFFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: ".weaved"
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/weaver/tools/cache/DefaultCacheKeyResolver;
public java.lang.String createClassLoaderScope(java.lang.ClassLoader, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/ClassLoader;Ljava/util/List;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: ldc "unknown"
StackMap locals:
StackMap stack: java.lang.String
2: astore 3
start local 3 3: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 4
start local 4 4: new java.lang.StringBuilder
dup
sipush 256
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 5
start local 5 5: aload 1
ifnull 12
aload 1
instanceof java.net.URLClassLoader
ifeq 12
6: aload 1
checkcast java.net.URLClassLoader
invokevirtual java.net.URLClassLoader.getURLs:()[Ljava/net/URL;
astore 6
start local 6 7: iconst_0
istore 7
start local 7 8: goto 11
9: StackMap locals: org.aspectj.weaver.tools.cache.DefaultCacheKeyResolver java.lang.ClassLoader java.util.List java.lang.String java.util.List java.lang.StringBuilder java.net.URL[] int
StackMap stack:
aload 4
aload 6
iload 7
aaload
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
aload 6
arraylength
if_icmplt 9
end local 7 end local 6 12: StackMap locals:
StackMap stack:
aload 4
aload 2
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
13: aload 4
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
14: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
start local 6 15: goto 18
16: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
start local 7 17: aload 5
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 18: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 6 19: aconst_null
astore 6
start local 6 20: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
astore 7
start local 7 21: aload 0
aload 7
invokevirtual org.aspectj.weaver.tools.cache.DefaultCacheKeyResolver.crc:([B)Ljava/lang/String;
astore 6
22: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 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 23 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
0 23 1 cl Ljava/lang/ClassLoader;
0 23 2 aspects Ljava/util/List<Ljava/lang/String;>;
3 23 3 name Ljava/lang/String;
4 23 4 hashableStrings Ljava/util/List<Ljava/lang/String;>;
5 23 5 hashable Ljava/lang/StringBuilder;
7 12 6 urls [Ljava/net/URL;
8 12 7 i I
15 19 6 it Ljava/util/Iterator<Ljava/lang/String;>;
17 18 7 url Ljava/lang/String;
20 23 6 hash Ljava/lang/String;
21 23 7 bytes [B
Signature: (Ljava/lang/ClassLoader;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
cl
aspects
private java.lang.String crc(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new java.util.zip.CRC32
dup
invokespecial java.util.zip.CRC32.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
invokevirtual java.util.zip.CRC32.update:([B)V
2: aload 2
invokevirtual java.util.zip.CRC32.getValue:()J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
0 3 1 input [B
1 3 2 crc32 Ljava/util/zip/CRC32;
MethodParameters:
Name Flags
input
public java.lang.String getGeneratedRegex();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ".*.generated"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
public java.lang.String getWeavedRegex();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc ".*.weaved"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
public java.lang.String keyToClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc ".generated"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 1
ldc ".generated$"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc ".weaved"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 1
ldc "\\.[^.]+.weaved"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
0 5 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public org.aspectj.weaver.tools.cache.CachedClassReference weavedKey(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)Lorg/aspectj/weaver/tools/cache/CachedClassReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.aspectj.weaver.tools.cache.DefaultCacheKeyResolver.crc:([B)Ljava/lang/String;
astore 3
start local 3 1: new org.aspectj.weaver.tools.cache.CachedClassReference
dup
new java.lang.StringBuilder
dup
aload 1
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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".weaved"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.aspectj.weaver.tools.cache.CachedClassReference.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
0 2 1 className Ljava/lang/String;
0 2 2 original_bytes [B
1 2 3 hash Ljava/lang/String;
MethodParameters:
Name Flags
className
original_bytes
public org.aspectj.weaver.tools.cache.CachedClassReference generatedKey(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/aspectj/weaver/tools/cache/CachedClassReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.aspectj.weaver.tools.cache.CachedClassReference
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".generated"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.aspectj.weaver.tools.cache.CachedClassReference.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/weaver/tools/cache/DefaultCacheKeyResolver;
0 1 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
}
SourceFile: "DefaultCacheKeyResolver.java"