public class javax.script.SimpleBindings implements javax.script.Bindings
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.script.SimpleBindings
super_class: java.lang.Object
{
private final java.util.Map map;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.script.SimpleBindings.map:Ljava/util/Map;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/script/SimpleBindings;
public void <init>(java.util.Map);
descriptor: (Ljava/util/Map;)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 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "parameter must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.script.SimpleBindings java.util.Map
StackMap stack:
aload 0
aload 1
putfield javax.script.SimpleBindings.map:Ljava/util/Map;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/script/SimpleBindings;
0 5 1 map Ljava/util/Map;
MethodParameters:
Name Flags
map
private void validateKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "key must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.String
ifne 4
3: new java.lang.ClassCastException
dup
ldc "key must be a String"
invokespecial java.lang.ClassCastException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.lang.String
invokevirtual java.lang.String.length:()I
ifne 6
5: new java.lang.IllegalArgumentException
dup
ldc "key must not be the empty string"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/script/SimpleBindings;
0 7 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public java.lang.Object put(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.script.SimpleBindings.validateKey:(Ljava/lang/Object;)V
1: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/SimpleBindings;
0 2 1 key Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public java.lang.Object put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual javax.script.SimpleBindings.validateKey:(Ljava/lang/Object;)V
1: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/SimpleBindings;
0 2 1 key Ljava/lang/Object;
0 2 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key
value
public void putAll(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 4
3: StackMap locals: java.util.Set java.util.Iterator
StackMap stack:
aload 0
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual javax.script.SimpleBindings.validateKey:(Ljava/lang/Object;)V
4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
5: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/script/SimpleBindings;
0 7 1 toMerge Ljava/util/Map;
1 7 2 keySet Ljava/util/Set;
2 7 3 keys Ljava/util/Iterator;
MethodParameters:
Name Flags
toMerge
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
invokeinterface java.util.Map.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/SimpleBindings;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/SimpleBindings;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
invokeinterface java.util.Map.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/SimpleBindings;
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.script.SimpleBindings.validateKey:(Ljava/lang/Object;)V
1: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/SimpleBindings;
0 2 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsValue:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/SimpleBindings;
0 1 1 value Ljava/lang/Object;
MethodParameters:
Name Flags
value
public java.util.Collection values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/SimpleBindings;
public java.util.Set entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/SimpleBindings;
public java.lang.Object get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.script.SimpleBindings.validateKey:(Ljava/lang/Object;)V
1: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/SimpleBindings;
0 2 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public java.util.Set keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/script/SimpleBindings;
public java.lang.Object remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.script.SimpleBindings.validateKey:(Ljava/lang/Object;)V
1: aload 0
getfield javax.script.SimpleBindings.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/script/SimpleBindings;
0 2 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
}
SourceFile: "SimpleBindings.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map