public class com.sun.xml.internal.bind.util.Which
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.xml.internal.bind.util.Which
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 Lcom/sun/xml/internal/bind/util/Which;
public static java.lang.String which(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aload 0
invokestatic com.sun.xml.internal.bind.util.SecureLoader.getClassClassLoader:(Ljava/lang/Class;)Ljava/lang/ClassLoader;
invokestatic com.sun.xml.internal.bind.util.Which.which:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class;
MethodParameters:
Name Flags
clazz
public static java.lang.String which(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 1: aload 1
ifnonnull 3
2: invokestatic com.sun.xml.internal.bind.util.SecureLoader.getSystemClassLoader:()Ljava/lang/ClassLoader;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
invokevirtual java.net.URL.toString:()Ljava/lang/String;
areturn
6: StackMap locals: java.net.URL
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 classname Ljava/lang/String;
0 7 1 loader Ljava/lang/ClassLoader;
1 7 2 classnameAsResource Ljava/lang/String;
4 7 3 it Ljava/net/URL;
MethodParameters:
Name Flags
classname
loader
}
SourceFile: "Which.java"