public class org.eclipse.jetty.util.AttributesMap implements org.eclipse.jetty.util.Attributes, org.eclipse.jetty.util.component.Dumpable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.AttributesMap
super_class: java.lang.Object
{
private final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.ConcurrentMap<java.lang.String, java.lang.Object>> _map;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/lang/Object;>;>;
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.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield org.eclipse.jetty.util.AttributesMap._map:Ljava/util/concurrent/atomic/AtomicReference;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/AttributesMap;
public void <init>(org.eclipse.jetty.util.AttributesMap);
descriptor: (Lorg/eclipse/jetty/util/AttributesMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield org.eclipse.jetty.util.AttributesMap._map:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 1
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 0
getfield org.eclipse.jetty.util.AttributesMap._map:Ljava/util/concurrent/atomic/AtomicReference;
new java.util.concurrent.ConcurrentHashMap
dup
aload 2
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(Ljava/util/Map;)V
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
5: StackMap locals: org.eclipse.jetty.util.AttributesMap org.eclipse.jetty.util.AttributesMap java.util.concurrent.ConcurrentMap
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/AttributesMap;
0 6 1 attributes Lorg/eclipse/jetty/util/AttributesMap;
3 6 2 map Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
attributes
private java.util.concurrent.ConcurrentMap<java.lang.String, java.lang.Object> map();
descriptor: ()Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.AttributesMap._map:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast java.util.concurrent.ConcurrentMap
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/AttributesMap;
Signature: ()Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/lang/Object;>;
private java.util.concurrent.ConcurrentMap<java.lang.String, java.lang.Object> ensureMap();
descriptor: ()Ljava/util/concurrent/ConcurrentMap;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
areturn
3: StackMap locals: java.util.concurrent.ConcurrentMap
StackMap stack:
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
astore 1
4: aload 0
getfield org.eclipse.jetty.util.AttributesMap._map:Ljava/util/concurrent/atomic/AtomicReference;
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 0
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/AttributesMap;
1 6 1 map Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/lang/Object;>;
public void removeAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.util.Map
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
0 4 1 name Ljava/lang/String;
1 4 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
name
public void setAttribute(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: aload 0
aload 1
invokevirtual org.eclipse.jetty.util.AttributesMap.removeAttribute:(Ljava/lang/String;)V
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.ensureMap:()Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 2
invokeinterface java.util.concurrent.ConcurrentMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
0 4 1 name Ljava/lang/String;
0 4 2 attribute Ljava/lang/Object;
MethodParameters:
Name Flags
name
attribute
public java.lang.Object getAttribute(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 2
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
0 4 1 name Ljava/lang/String;
1 4 2 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
MethodParameters:
Name Flags
name
public java.util.Enumeration<java.lang.String> getAttributeNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.getAttributeNameSet:()Ljava/util/Set;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/AttributesMap;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public java.util.Set<java.lang.String> getAttributeNameSet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/AttributesMap;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public java.util.Set<java.util.Map$Entry<java.lang.String, java.lang.Object>> getAttributeEntrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 1
start local 1 1: aload 1
ifnonnull 2
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Object;>;>;
public static java.util.Enumeration<java.lang.String> getAttributeNamesCopy(org.eclipse.jetty.util.Attributes);
descriptor: (Lorg/eclipse/jetty/util/Attributes;)Ljava/util/Enumeration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
instanceof org.eclipse.jetty.util.AttributesMap
ifeq 2
1: aload 0
checkcast org.eclipse.jetty.util.AttributesMap
invokevirtual org.eclipse.jetty.util.AttributesMap.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 0
invokeinterface org.eclipse.jetty.util.Attributes.getAttributeNames:()Ljava/util/Enumeration;
invokestatic java.util.Collections.list:(Ljava/util/Enumeration;)Ljava/util/ArrayList;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 3: aload 1
invokestatic java.util.Collections.enumeration:(Ljava/util/Collection;)Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 attrs Lorg/eclipse/jetty/util/Attributes;
3 4 1 names Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/eclipse/jetty/util/Attributes;)Ljava/util/Enumeration<Ljava/lang/String;>;
MethodParameters:
Name Flags
attrs
public void clearAttributes();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.util.Map.clear:()V
3: StackMap locals: java.util.Map
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 1
start local 1 1: aload 1
ifnonnull 2
iconst_0
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
invokeinterface java.util.Map.size:()I
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc "{}"
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private java.util.Set<java.lang.String> keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
astore 1
start local 1 1: aload 1
ifnonnull 2
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jetty/util/AttributesMap;
1 4 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void addAll(org.eclipse.jetty.util.Attributes);
descriptor: (Lorg/eclipse/jetty/util/Attributes;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.eclipse.jetty.util.Attributes.getAttributeNames:()Ljava/util/Enumeration;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Enumeration
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 0
aload 3
aload 1
aload 3
invokeinterface org.eclipse.jetty.util.Attributes.getAttribute:(Ljava/lang/String;)Ljava/lang/Object;
invokevirtual org.eclipse.jetty.util.AttributesMap.setAttribute:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/jetty/util/AttributesMap;
0 6 1 attributes Lorg/eclipse/jetty/util/Attributes;
1 6 2 e Ljava/util/Enumeration<Ljava/lang/String;>;
3 4 3 name Ljava/lang/String;
MethodParameters:
Name Flags
attributes
public java.lang.String dump();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.jetty.util.component.Dumpable.dump:(Lorg/eclipse/jetty/util/component/Dumpable;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/AttributesMap;
public void dump(java.lang.Appendable, java.lang.String);
descriptor: (Ljava/lang/Appendable;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
ldc "%s@%x"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.eclipse.jetty.util.AttributesMap.map:()Ljava/util/concurrent/ConcurrentMap;
aastore
invokestatic org.eclipse.jetty.util.component.Dumpable.dumpObjects:(Ljava/lang/Appendable;Ljava/lang/String;Ljava/lang/Object;[Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/AttributesMap;
0 2 1 out Ljava/lang/Appendable;
0 2 2 indent Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
indent
}
SourceFile: "AttributesMap.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map