public class com.google.common.reflect.ClassPath$ResourceInfo
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.google.common.reflect.ClassPath$ResourceInfo
super_class: java.lang.Object
{
private final java.lang.String resourceName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final java.lang.ClassLoader loader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x0010) ACC_FINAL
static com.google.common.reflect.ClassPath$ResourceInfo of(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)Lcom/google/common/reflect/ClassPath$ResourceInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
1: new com.google.common.reflect.ClassPath$ClassInfo
dup
aload 0
aload 1
invokespecial com.google.common.reflect.ClassPath$ClassInfo.<init>:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
areturn
2: StackMap locals:
StackMap stack:
new com.google.common.reflect.ClassPath$ResourceInfo
dup
aload 0
aload 1
invokespecial com.google.common.reflect.ClassPath$ResourceInfo.<init>:(Ljava/lang/String;Ljava/lang/ClassLoader;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 resourceName Ljava/lang/String;
0 3 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
resourceName
loader
void <init>(java.lang.String, java.lang.ClassLoader);
descriptor: (Ljava/lang/String;Ljava/lang/ClassLoader;)V
flags: (0x0000)
Code:
stack=2, 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
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
2: aload 0
aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ClassLoader
putfield com.google.common.reflect.ClassPath$ResourceInfo.loader:Ljava/lang/ClassLoader;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
0 4 1 resourceName Ljava/lang/String;
0 4 2 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
resourceName
loader
public final java.net.URL url();
descriptor: ()Ljava/net/URL;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.loader:Ljava/lang/ClassLoader;
aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.util.NoSuchElementException
dup
aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.net.URL
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
1 4 1 url Ljava/net/URL;
public final com.google.common.io.ByteSource asByteSource();
descriptor: ()Lcom/google/common/io/ByteSource;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.reflect.ClassPath$ResourceInfo.url:()Ljava/net/URL;
invokestatic com.google.common.io.Resources.asByteSource:(Ljava/net/URL;)Lcom/google/common/io/ByteSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
public final com.google.common.io.CharSource asCharSource(java.nio.charset.Charset);
descriptor: (Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.reflect.ClassPath$ResourceInfo.url:()Ljava/net/URL;
aload 1
invokestatic com.google.common.io.Resources.asCharSource:(Ljava/net/URL;Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
0 1 1 charset Ljava/nio/charset/Charset;
MethodParameters:
Name Flags
charset
public final java.lang.String getResourceName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.google.common.reflect.ClassPath$ResourceInfo
ifeq 4
1: aload 1
checkcast com.google.common.reflect.ClassPath$ResourceInfo
astore 2
start local 2 2: aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
aload 2
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.loader:Ljava/lang/ClassLoader;
aload 2
getfield com.google.common.reflect.ClassPath$ResourceInfo.loader:Ljava/lang/ClassLoader;
if_acmpne 3
iconst_1
ireturn
StackMap locals: com.google.common.reflect.ClassPath$ResourceInfo
StackMap stack:
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
0 5 1 obj Ljava/lang/Object;
2 4 2 that Lcom/google/common/reflect/ClassPath$ResourceInfo;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.reflect.ClassPath$ResourceInfo.resourceName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/ClassPath$ResourceInfo;
}
SourceFile: "ClassPath.java"
NestHost: com.google.common.reflect.ClassPath
InnerClasses:
public final ClassInfo = com.google.common.reflect.ClassPath$ClassInfo of com.google.common.reflect.ClassPath
public ResourceInfo = com.google.common.reflect.ClassPath$ResourceInfo of com.google.common.reflect.ClassPath
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()