class org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry
super_class: java.lang.Object
{
private final boolean jar;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual java.net.URL.getPath:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
ldc ".jar"
invokevirtual java.lang.String.lastIndexOf:(Ljava/lang/String;)I
istore 3
start local 3 3: iload 3
iconst_m1
if_icmpeq 8
4: aload 0
iconst_1
putfield org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry.jar:Z
5: aload 2
bipush 47
iload 3
invokevirtual java.lang.String.lastIndexOf:(II)I
istore 4
start local 4 6: aload 0
aload 2
iload 4
iconst_1
iadd
iload 3
iconst_4
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry.name:Ljava/lang/String;
end local 4 7: goto 13
8: StackMap locals: org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry java.net.URL java.lang.String int
StackMap stack:
aload 0
iconst_0
putfield org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry.jar:Z
9: aload 2
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 11
10: aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
11: StackMap locals:
StackMap stack:
aload 2
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 12: aload 0
aload 2
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry.name:Ljava/lang/String;
end local 4 13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/tomcat/util/scan/StandardJarScanner$ClassPathEntry;
0 14 1 url Ljava/net/URL;
2 14 2 path Ljava/lang/String;
3 14 3 end I
6 7 4 start I
12 13 4 start I
MethodParameters:
Name Flags
url
public boolean isJar();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry.jar:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/scan/StandardJarScanner$ClassPathEntry;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/scan/StandardJarScanner$ClassPathEntry;
}
SourceFile: "StandardJarScanner.java"
NestHost: org.apache.tomcat.util.scan.StandardJarScanner
InnerClasses:
private ClassPathEntry = org.apache.tomcat.util.scan.StandardJarScanner$ClassPathEntry of org.apache.tomcat.util.scan.StandardJarScanner