public class org.apache.tomcat.util.descriptor.web.ResourceBase implements java.io.Serializable, org.apache.tomcat.util.descriptor.web.Injectable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.descriptor.web.ResourceBase
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private java.lang.String description;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String lookupName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.String, java.lang.Object> properties;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private final java.util.List<org.apache.tomcat.util.descriptor.web.InjectionTarget> injectionTargets;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/tomcat/util/descriptor/web/InjectionTarget;>;
private org.apache.tomcat.util.descriptor.web.NamingResources resources;
descriptor: Lorg/apache/tomcat/util/descriptor/web/NamingResources;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
2: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
3: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
4: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
5: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
6: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
7: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.resources:Lorg/apache/tomcat/util/descriptor/web/NamingResources;
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
public java.lang.String getDescription();
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.descriptor.web.ResourceBase.description:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
public void setDescription(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 2 1 description Ljava/lang/String;
MethodParameters:
Name Flags
description
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.descriptor.web.ResourceBase.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
public void setName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.lang.String getType();
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.descriptor.web.ResourceBase.type:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
public void setType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 2 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public java.lang.String getLookupName();
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.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
public void setLookupName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 5 1 lookupName Ljava/lang/String;
MethodParameters:
Name Flags
lookupName
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void setProperty(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 2 1 name Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
name
value
public void removeProperty(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public java.util.Iterator<java.lang.String> listProperties();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
Signature: ()Ljava/util/Iterator<Ljava/lang/String;>;
public void addInjectionTarget(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.tomcat.util.descriptor.web.InjectionTarget
dup
aload 1
aload 2
invokespecial org.apache.tomcat.util.descriptor.web.InjectionTarget.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 3
start local 3 1: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 3 1 injectionTargetName Ljava/lang/String;
0 3 2 jndiName Ljava/lang/String;
1 3 3 target Lorg/apache/tomcat/util/descriptor/web/InjectionTarget;
MethodParameters:
Name Flags
injectionTargetName
jndiName
public java.util.List<org.apache.tomcat.util.descriptor.web.InjectionTarget> getInjectionTargets();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
Signature: ()Ljava/util/List<Lorg/apache/tomcat/util/descriptor/web/InjectionTarget;>;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int
2: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int int
6: iadd
istore 1
7: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
ifnonnull 8
iconst_0
goto 9
StackMap locals:
StackMap stack: int
8: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int int
9: iadd
istore 1
10: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
ifnonnull 11
iconst_0
goto 12
StackMap locals:
StackMap stack: int
11: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
invokeinterface java.util.Map.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int int
12: iadd
istore 1
13: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
ifnonnull 14
iconst_0
goto 15
StackMap locals:
StackMap stack: int
14: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int int
15: iadd
istore 1
16: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
ifnonnull 17
iconst_0
goto 18
StackMap locals:
StackMap stack: int
17: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase int
StackMap stack: int int
18: iadd
istore 1
19: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
1 20 1 result I
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.tomcat.util.descriptor.web.ResourceBase
astore 2
start local 2 7: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
ifnonnull 10
8: aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
ifnull 12
9: iconst_0
ireturn
10: StackMap locals: org.apache.tomcat.util.descriptor.web.ResourceBase
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.description:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
ifnonnull 15
13: aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
ifnull 17
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.injectionTargets:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
ifnonnull 20
18: aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
ifnull 22
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: iconst_0
ireturn
22: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
ifnonnull 25
23: aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
ifnull 27
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.properties:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ifne 27
26: iconst_0
ireturn
27: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
ifnonnull 30
28: aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
ifnull 32
29: iconst_0
ireturn
30: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.type:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 32
31: iconst_0
ireturn
32: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
ifnonnull 35
33: aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
ifnull 37
34: iconst_0
ireturn
35: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.lookupName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 37
36: iconst_0
ireturn
37: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 38 1 obj Ljava/lang/Object;
7 38 2 other Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
MethodParameters:
Name Flags
obj
public org.apache.tomcat.util.descriptor.web.NamingResources getNamingResources();
descriptor: ()Lorg/apache/tomcat/util/descriptor/web/NamingResources;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.descriptor.web.ResourceBase.resources:Lorg/apache/tomcat/util/descriptor/web/NamingResources;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
public void setNamingResources(org.apache.tomcat.util.descriptor.web.NamingResources);
descriptor: (Lorg/apache/tomcat/util/descriptor/web/NamingResources;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.tomcat.util.descriptor.web.ResourceBase.resources:Lorg/apache/tomcat/util/descriptor/web/NamingResources;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ResourceBase;
0 2 1 resources Lorg/apache/tomcat/util/descriptor/web/NamingResources;
MethodParameters:
Name Flags
resources
}
SourceFile: "ResourceBase.java"