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