public final class org.glassfish.grizzly.websockets.Extension
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.websockets.Extension
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<org.glassfish.grizzly.websockets.Extension$Parameter> parameters;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/grizzly/websockets/Extension$Parameter;>;
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
2: aload 0
aload 1
putfield org.glassfish.grizzly.websockets.Extension.name:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/websockets/Extension;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
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.glassfish.grizzly.websockets.Extension.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/Extension;
public java.util.List<org.glassfish.grizzly.websockets.Extension$Parameter> getParameters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/websockets/Extension;
Signature: ()Ljava/util/List<Lorg/glassfish/grizzly/websockets/Extension$Parameter;>;
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
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.glassfish.grizzly.websockets.Extension
astore 2
start local 2 5: aload 0
getfield org.glassfish.grizzly.websockets.Extension.name:Ljava/lang/String;
aload 2
getfield org.glassfish.grizzly.websockets.Extension.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
aload 0
getfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
aload 2
getfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifeq 6
iconst_1
ireturn
StackMap locals: org.glassfish.grizzly.websockets.Extension
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/websockets/Extension;
0 7 1 o Ljava/lang/Object;
5 7 2 extension Lorg/glassfish/grizzly/websockets/Extension;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.websockets.Extension.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/websockets/Extension;
1 3 1 result I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.glassfish.grizzly.websockets.Extension.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 8
3: aload 0
getfield org.glassfish.grizzly.websockets.Extension.parameters:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: org.glassfish.grizzly.websockets.Extension java.lang.StringBuilder top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.grizzly.websockets.Extension$Parameter
astore 2
start local 2 5: aload 1
ldc "; "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
aload 2
invokevirtual org.glassfish.grizzly.websockets.Extension$Parameter.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: StackMap locals: org.glassfish.grizzly.websockets.Extension java.lang.StringBuilder
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/glassfish/grizzly/websockets/Extension;
1 9 1 sb Ljava/lang/StringBuilder;
5 7 2 p Lorg/glassfish/grizzly/websockets/Extension$Parameter;
}
SourceFile: "Extension.java"
NestMembers:
org.glassfish.grizzly.websockets.Extension$Parameter
InnerClasses:
public final Parameter = org.glassfish.grizzly.websockets.Extension$Parameter of org.glassfish.grizzly.websockets.Extension