public class org.glassfish.grizzly.attributes.DefaultAttributeBuilder implements org.glassfish.grizzly.attributes.AttributeBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.glassfish.grizzly.attributes.DefaultAttributeBuilder
super_class: java.lang.Object
{
protected final java.util.List<org.glassfish.grizzly.attributes.Attribute> attributes;
descriptor: Ljava/util/List;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/List<Lorg/glassfish/grizzly/attributes/Attribute;>;
protected final java.util.Map<java.lang.String, org.glassfish.grizzly.attributes.Attribute> name2Attribute;
descriptor: Ljava/util/Map;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/glassfish/grizzly/attributes/Attribute;>;
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
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.attributes:Ljava/util/List;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.name2Attribute:Ljava/util/Map;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
public synchronized <T> org.glassfish.grizzly.attributes.Attribute<T> createAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.glassfish.grizzly.attributes.DefaultAttributeBuilder.createAttribute:(Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/grizzly/attributes/Attribute;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
0 1 1 name Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;)Lorg/glassfish/grizzly/attributes/Attribute<TT;>;
MethodParameters:
Name Flags
name final
public synchronized <T> org.glassfish.grizzly.attributes.Attribute<T> createAttribute(java.lang.String, T);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.name2Attribute:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.attributes.Attribute
astore 3
start local 3 1: aload 3
ifnonnull 5
2: new org.glassfish.grizzly.attributes.Attribute
dup
aload 0
aload 1
aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.attributes:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 2
invokespecial org.glassfish.grizzly.attributes.Attribute.<init>:(Lorg/glassfish/grizzly/attributes/AttributeBuilder;Ljava/lang/String;ILjava/lang/Object;)V
astore 3
3: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.attributes:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.name2Attribute:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: org.glassfish.grizzly.attributes.Attribute
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
0 6 1 name Ljava/lang/String;
0 6 2 defaultValue TT;
1 6 3 attribute Lorg/glassfish/grizzly/attributes/Attribute<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)Lorg/glassfish/grizzly/attributes/Attribute<TT;>;
MethodParameters:
Name Flags
name final
defaultValue final
public synchronized <T> org.glassfish.grizzly.attributes.Attribute<T> createAttribute(java.lang.String, org.glassfish.grizzly.utils.NullaryFunction<T>);
descriptor: (Ljava/lang/String;Lorg/glassfish/grizzly/utils/NullaryFunction;)Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.name2Attribute:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.attributes.Attribute
astore 3
start local 3 1: aload 3
ifnonnull 5
2: new org.glassfish.grizzly.attributes.Attribute
dup
aload 0
aload 1
aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.attributes:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 2
invokespecial org.glassfish.grizzly.attributes.Attribute.<init>:(Lorg/glassfish/grizzly/attributes/AttributeBuilder;Ljava/lang/String;ILorg/glassfish/grizzly/utils/NullaryFunction;)V
astore 3
3: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.attributes:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.name2Attribute:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: org.glassfish.grizzly.attributes.Attribute
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
0 6 1 name Ljava/lang/String;
0 6 2 initializer Lorg/glassfish/grizzly/utils/NullaryFunction<TT;>;
1 6 3 attribute Lorg/glassfish/grizzly/attributes/Attribute<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lorg/glassfish/grizzly/utils/NullaryFunction<TT;>;)Lorg/glassfish/grizzly/attributes/Attribute<TT;>;
MethodParameters:
Name Flags
name final
initializer final
public <T> org.glassfish.grizzly.attributes.Attribute<T> createAttribute(java.lang.String, org.glassfish.grizzly.attributes.NullaryFunction<T>);
descriptor: (Ljava/lang/String;Lorg/glassfish/grizzly/attributes/NullaryFunction;)Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ifnonnull 1
aconst_null
goto 2
StackMap locals: org.glassfish.grizzly.attributes.DefaultAttributeBuilder java.lang.String org.glassfish.grizzly.attributes.NullaryFunction
StackMap stack: org.glassfish.grizzly.attributes.DefaultAttributeBuilder java.lang.String
1: new org.glassfish.grizzly.attributes.DefaultAttributeBuilder$1
dup
aload 0
aload 2
invokespecial org.glassfish.grizzly.attributes.DefaultAttributeBuilder$1.<init>:(Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;Lorg/glassfish/grizzly/attributes/NullaryFunction;)V
StackMap locals: org.glassfish.grizzly.attributes.DefaultAttributeBuilder java.lang.String org.glassfish.grizzly.attributes.NullaryFunction
StackMap stack: org.glassfish.grizzly.attributes.DefaultAttributeBuilder java.lang.String org.glassfish.grizzly.attributes.DefaultAttributeBuilder$1
2: invokevirtual org.glassfish.grizzly.attributes.DefaultAttributeBuilder.createAttribute:(Ljava/lang/String;Lorg/glassfish/grizzly/utils/NullaryFunction;)Lorg/glassfish/grizzly/attributes/Attribute;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
0 3 1 name Ljava/lang/String;
0 3 2 initializer Lorg/glassfish/grizzly/attributes/NullaryFunction<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lorg/glassfish/grizzly/attributes/NullaryFunction<TT;>;)Lorg/glassfish/grizzly/attributes/Attribute<TT;>;
MethodParameters:
Name Flags
name final
initializer final
public org.glassfish.grizzly.attributes.AttributeHolder createSafeAttributeHolder();
descriptor: ()Lorg/glassfish/grizzly/attributes/AttributeHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.attributes.IndexedAttributeHolder
dup
aload 0
invokespecial org.glassfish.grizzly.attributes.IndexedAttributeHolder.<init>:(Lorg/glassfish/grizzly/attributes/AttributeBuilder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
public org.glassfish.grizzly.attributes.AttributeHolder createUnsafeAttributeHolder();
descriptor: ()Lorg/glassfish/grizzly/attributes/AttributeHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.glassfish.grizzly.attributes.UnsafeAttributeHolder
dup
aload 0
invokespecial org.glassfish.grizzly.attributes.UnsafeAttributeHolder.<init>:(Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
protected org.glassfish.grizzly.attributes.Attribute getAttributeByName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.name2Attribute:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.glassfish.grizzly.attributes.Attribute
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
0 1 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
protected org.glassfish.grizzly.attributes.Attribute getAttributeByIndex(int);
descriptor: (I)Lorg/glassfish/grizzly/attributes/Attribute;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.glassfish.grizzly.attributes.DefaultAttributeBuilder.attributes:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.glassfish.grizzly.attributes.Attribute
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/attributes/DefaultAttributeBuilder;
0 1 1 index I
MethodParameters:
Name Flags
index final
}
SourceFile: "DefaultAttributeBuilder.java"
NestMembers:
org.glassfish.grizzly.attributes.DefaultAttributeBuilder$1
InnerClasses:
org.glassfish.grizzly.attributes.DefaultAttributeBuilder$1