public class org.apache.tomcat.util.descriptor.web.ContextEnvironment 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.ContextEnvironment
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 boolean override;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String value;
descriptor: Ljava/lang/String;
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
iconst_1
putfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.override:Z
2: aload 0
aconst_null
putfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
public boolean getOverride();
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.ContextEnvironment.override:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
public void setOverride(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.ContextEnvironment.override: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/ContextEnvironment;
0 2 1 override Z
MethodParameters:
Name Flags
override
public java.lang.String getValue();
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.ContextEnvironment.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
public void setValue(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.ContextEnvironment.value: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/ContextEnvironment;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
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 "ContextEnvironment["
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.ContextEnvironment.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.ContextEnvironment.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.ContextEnvironment.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.ContextEnvironment.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.ContextEnvironment.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.ContextEnvironment.value:Ljava/lang/String;
ifnull 12
10: aload 1
ldc ", value="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: StackMap locals:
StackMap stack:
aload 1
ldc ", override="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.override:Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
pop
14: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
1 16 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.ContextEnvironment.override:Z
ifeq 2
sipush 1231
goto 3
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextEnvironment int
StackMap stack: int
2: sipush 1237
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextEnvironment int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.tomcat.util.descriptor.web.ContextEnvironment int
StackMap stack: int int
6: iadd
istore 1
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
1 8 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.ContextEnvironment
astore 2
start local 2 7: aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.override:Z
aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.override:Z
if_icmpeq 9
8: iconst_0
ireturn
9: StackMap locals: org.apache.tomcat.util.descriptor.web.ContextEnvironment
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
ifnonnull 12
10: aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
ifnull 14
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
aload 2
getfield org.apache.tomcat.util.descriptor.web.ContextEnvironment.value:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
0 15 1 obj Ljava/lang/Object;
7 15 2 other Lorg/apache/tomcat/util/descriptor/web/ContextEnvironment;
MethodParameters:
Name Flags
obj
}
SourceFile: "ContextEnvironment.java"