public class org.apache.catalina.util.ManifestResource
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.catalina.util.ManifestResource
super_class: java.lang.Object
{
public static final int SYSTEM;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int WAR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int APPLICATION;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private java.util.ArrayList<org.apache.catalina.util.Extension> availableExtensions;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
private java.util.ArrayList<org.apache.catalina.util.Extension> requiredExtensions;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
private final java.lang.String resourceName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int resourceType;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, java.util.jar.Manifest, int);
descriptor: (Ljava/lang/String;Ljava/util/jar/Manifest;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.catalina.util.ManifestResource.availableExtensions:Ljava/util/ArrayList;
2: aload 0
aconst_null
putfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
3: aload 0
aload 1
putfield org.apache.catalina.util.ManifestResource.resourceName:Ljava/lang/String;
4: aload 0
iload 3
putfield org.apache.catalina.util.ManifestResource.resourceType:I
5: aload 0
aload 2
invokevirtual org.apache.catalina.util.ManifestResource.processManifest:(Ljava/util/jar/Manifest;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/util/ManifestResource;
0 7 1 resourceName Ljava/lang/String;
0 7 2 manifest Ljava/util/jar/Manifest;
0 7 3 resourceType I
MethodParameters:
Name Flags
resourceName
manifest
resourceType
public java.lang.String getResourceName();
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.catalina.util.ManifestResource.resourceName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/ManifestResource;
public java.util.ArrayList<org.apache.catalina.util.Extension> getAvailableExtensions();
descriptor: ()Ljava/util/ArrayList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.ManifestResource.availableExtensions:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/ManifestResource;
Signature: ()Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
public java.util.ArrayList<org.apache.catalina.util.Extension> getRequiredExtensions();
descriptor: ()Ljava/util/ArrayList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/catalina/util/ManifestResource;
Signature: ()Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
public int getAvailableExtensionCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.ManifestResource.availableExtensions:Ljava/util/ArrayList;
ifnull 1
aload 0
getfield org.apache.catalina.util.ManifestResource.availableExtensions:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/util/ManifestResource;
public int getRequiredExtensionCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
ifnull 1
aload 0
getfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/util/ManifestResource;
public boolean isFulfilled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 5
StackMap locals: org.apache.catalina.util.ManifestResource top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.catalina.util.Extension
astore 1
start local 1 4: aload 1
invokevirtual org.apache.catalina.util.Extension.isFulfilled:()Z
ifne 5
iconst_0
ireturn
end local 1 5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/catalina/util/ManifestResource;
4 5 1 ext Lorg/apache/catalina/util/Extension;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ManifestResource["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.catalina.util.ManifestResource.resourceName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc ", isFulfilled="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.apache.catalina.util.ManifestResource.isFulfilled:()Z
invokestatic java.lang.String.valueOf:(Z)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc ", requiredExtensionCount ="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
aload 0
invokevirtual org.apache.catalina.util.ManifestResource.getRequiredExtensionCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc ", availableExtensionCount="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 0
invokevirtual org.apache.catalina.util.ManifestResource.getAvailableExtensionCount:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
8: aload 0
getfield org.apache.catalina.util.ManifestResource.resourceType:I
tableswitch { // 1 - 3
1: 9
2: 10
3: 11
default: 12
}
9: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc ", resourceType=SYSTEM"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 12
10: StackMap locals:
StackMap stack:
aload 1
ldc ", resourceType=WAR"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
goto 12
11: StackMap locals:
StackMap stack:
aload 1
ldc ", resourceType=APPLICATION"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 1
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/catalina/util/ManifestResource;
1 14 1 sb Ljava/lang/StringBuilder;
private void processManifest(java.util.jar.Manifest);
descriptor: (Ljava/util/jar/Manifest;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
aload 1
invokevirtual org.apache.catalina.util.ManifestResource.getAvailableExtensions:(Ljava/util/jar/Manifest;)Ljava/util/ArrayList;
putfield org.apache.catalina.util.ManifestResource.availableExtensions:Ljava/util/ArrayList;
1: aload 0
aload 0
aload 1
invokevirtual org.apache.catalina.util.ManifestResource.getRequiredExtensions:(Ljava/util/jar/Manifest;)Ljava/util/ArrayList;
putfield org.apache.catalina.util.ManifestResource.requiredExtensions:Ljava/util/ArrayList;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/catalina/util/ManifestResource;
0 3 1 manifest Ljava/util/jar/Manifest;
MethodParameters:
Name Flags
manifest
private java.util.ArrayList<org.apache.catalina.util.Extension> getRequiredExtensions(java.util.jar.Manifest);
descriptor: (Ljava/util/jar/Manifest;)Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 2
start local 2 1: aload 2
ldc "Extension-List"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.util.jar.Attributes java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 5: 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
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
6: StackMap locals: java.util.ArrayList
StackMap stack:
aload 3
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 7: iload 5
ifge 9
8: goto 30
9: StackMap locals: int
StackMap stack:
aload 3
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
start local 6 10: aload 3
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
11: aload 2
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Extension-Name"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
12: astore 7
start local 7 13: aload 7
ifnonnull 15
14: goto 6
15: StackMap locals: java.lang.String java.lang.String
StackMap stack:
new org.apache.catalina.util.Extension
dup
invokespecial org.apache.catalina.util.Extension.<init>:()V
astore 8
start local 8 16: aload 8
aload 7
invokevirtual org.apache.catalina.util.Extension.setExtensionName:(Ljava/lang/String;)V
17: aload 8
18: aload 2
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Implementation-URL"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
19: invokevirtual org.apache.catalina.util.Extension.setImplementationURL:(Ljava/lang/String;)V
20: aload 8
21: aload 2
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Implementation-Vendor-Id"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
22: invokevirtual org.apache.catalina.util.Extension.setImplementationVendorId:(Ljava/lang/String;)V
23: aload 2
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Implementation-Version"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 24: aload 8
aload 9
invokevirtual org.apache.catalina.util.Extension.setImplementationVersion:(Ljava/lang/String;)V
25: aload 8
26: aload 2
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "-Specification-Version"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
27: invokevirtual org.apache.catalina.util.Extension.setSpecificationVersion:(Ljava/lang/String;)V
28: aload 4
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 end local 7 end local 6 end local 5 29: goto 6
30: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/apache/catalina/util/ManifestResource;
0 31 1 manifest Ljava/util/jar/Manifest;
1 31 2 attributes Ljava/util/jar/Attributes;
2 31 3 names Ljava/lang/String;
5 31 4 extensionList Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
7 29 5 space I
10 29 6 name Ljava/lang/String;
13 29 7 value Ljava/lang/String;
16 29 8 extension Lorg/apache/catalina/util/Extension;
24 29 9 version Ljava/lang/String;
Signature: (Ljava/util/jar/Manifest;)Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
MethodParameters:
Name Flags
manifest
private java.util.ArrayList<org.apache.catalina.util.Extension> getAvailableExtensions(java.util.jar.Manifest);
descriptor: (Ljava/util/jar/Manifest;)Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.util.jar.Manifest.getMainAttributes:()Ljava/util/jar/Attributes;
astore 2
start local 2 1: aload 2
ldc "Extension-Name"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: java.util.jar.Attributes java.lang.String
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 5: new org.apache.catalina.util.Extension
dup
invokespecial org.apache.catalina.util.Extension.<init>:()V
astore 5
start local 5 6: aload 5
aload 3
invokevirtual org.apache.catalina.util.Extension.setExtensionName:(Ljava/lang/String;)V
7: aload 5
8: aload 2
ldc "Implementation-URL"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
9: invokevirtual org.apache.catalina.util.Extension.setImplementationURL:(Ljava/lang/String;)V
10: aload 5
11: aload 2
ldc "Implementation-Vendor"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
12: invokevirtual org.apache.catalina.util.Extension.setImplementationVendor:(Ljava/lang/String;)V
13: aload 5
14: aload 2
ldc "Implementation-Vendor-Id"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
15: invokevirtual org.apache.catalina.util.Extension.setImplementationVendorId:(Ljava/lang/String;)V
16: aload 5
17: aload 2
ldc "Implementation-Version"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
18: invokevirtual org.apache.catalina.util.Extension.setImplementationVersion:(Ljava/lang/String;)V
19: aload 5
20: aload 2
ldc "Specification-Version"
invokevirtual java.util.jar.Attributes.getValue:(Ljava/lang/String;)Ljava/lang/String;
21: invokevirtual org.apache.catalina.util.Extension.setSpecificationVersion:(Ljava/lang/String;)V
22: aload 4
aload 5
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: aload 4
areturn
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 24 0 this Lorg/apache/catalina/util/ManifestResource;
0 24 1 manifest Ljava/util/jar/Manifest;
1 24 2 attributes Ljava/util/jar/Attributes;
2 24 3 name Ljava/lang/String;
5 24 4 extensionList Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
6 24 5 extension Lorg/apache/catalina/util/Extension;
Signature: (Ljava/util/jar/Manifest;)Ljava/util/ArrayList<Lorg/apache/catalina/util/Extension;>;
MethodParameters:
Name Flags
manifest
}
SourceFile: "ManifestResource.java"