public class org.apache.tomcat.util.descriptor.web.ContextResource extends org.apache.tomcat.util.descriptor.web.ResourceBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.descriptor.web.ContextResource
super_class: org.apache.tomcat.util.descriptor.web.ResourceBase
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private java.lang.String auth;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String scope;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean singleton;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String closeMethod;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private boolean closeMethodConfigured;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.descriptor.web.ResourceBase.<init>:()V
1: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
2: aload 0
ldc "Shareable"
putfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
3: aload 0
iconst_1
putfield org.apache.tomcat.util.descriptor.web.ContextResource.singleton:Z
4: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
5: aload 0
iconst_0
putfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethodConfigured:Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
public java.lang.String getAuth();
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.ContextResource.auth:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
public void setAuth(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.ContextResource.auth: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/ContextResource;
0 2 1 auth Ljava/lang/String;
MethodParameters:
Name Flags
auth
public java.lang.String getScope();
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.ContextResource.scope:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
public void setScope(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.ContextResource.scope: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/ContextResource;
0 2 1 scope Ljava/lang/String;
MethodParameters:
Name Flags
scope
public boolean getSingleton();
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.descriptor.web.ContextResource.singleton:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
public void setSingleton(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.descriptor.web.ContextResource.singleton:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
0 2 1 singleton Z
MethodParameters:
Name Flags
singleton
public java.lang.String getCloseMethod();
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.ContextResource.closeMethod:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
public void setCloseMethod(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
iconst_1
putfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethodConfigured:Z
1: aload 0
aload 1
putfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
0 3 1 closeMethod Ljava/lang/String;
MethodParameters:
Name Flags
closeMethod
public boolean getCloseMethodConfigured();
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.descriptor.web.ContextResource.closeMethodConfigured:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ContextResource["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "name="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getDescription:()Ljava/lang/String;
ifnull 6
4: aload 1
ldc ", description="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getDescription:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getType:()Ljava/lang/String;
ifnull 9
7: aload 1
ldc ", type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
aload 0
invokevirtual org.apache.tomcat.util.descriptor.web.ContextResource.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
ifnull 12
10: aload 1
ldc ", auth="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
ifnull 15
13: aload 1
ldc ", scope="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: aload 1
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
1 17 1 sb Ljava/lang/StringBuilder;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.apache.tomcat.util.descriptor.web.ResourceBase.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextResource int
StackMap stack: int
2: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextResource int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
5: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
ifnonnull 6
iconst_0
goto 7
StackMap locals:
StackMap stack: int
6: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
7: StackMap locals: org.apache.tomcat.util.descriptor.web.ContextResource int
StackMap stack: int int
iadd
istore 1
8: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
ifnonnull 9
iconst_0
goto 10
StackMap locals:
StackMap stack: int
9: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextResource int
StackMap stack: int int
10: iadd
istore 1
11: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.singleton:Z
ifeq 12
sipush 1231
goto 13
StackMap locals:
StackMap stack: int
12: sipush 1237
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextResource int
StackMap stack: int int
13: iadd
istore 1
14: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
1 15 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 0
aload 1
invokespecial org.apache.tomcat.util.descriptor.web.ResourceBase.equals:(Ljava/lang/Object;)Z
ifne 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.ContextResource
astore 2
start local 2 7: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
ifnonnull 10
8: aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
ifnull 12
9: iconst_0
ireturn
10: StackMap locals: org.apache.tomcat.util.descriptor.web.ContextResource
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.auth: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.ContextResource.closeMethod:Ljava/lang/String;
ifnonnull 15
13: aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
ifnull 17
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.closeMethod:Ljava/lang/String;
invokevirtual java.lang.String.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.ContextResource.scope:Ljava/lang/String;
ifnonnull 20
18: aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
ifnull 22
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.scope: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.ContextResource.singleton:Z
aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextResource.singleton:Z
if_icmpeq 24
23: iconst_0
ireturn
24: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/tomcat/util/descriptor/web/ContextResource;
0 25 1 obj Ljava/lang/Object;
7 25 2 other Lorg/apache/tomcat/util/descriptor/web/ContextResource;
MethodParameters:
Name Flags
obj
}
SourceFile: "ContextResource.java"