public final class com.google.common.collect.EnumBiMap<K extends java.lang.Enum<K>, V extends java.lang.Enum<V>> extends com.google.common.collect.AbstractBiMap<K, V>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.EnumBiMap
super_class: com.google.common.collect.AbstractBiMap
{
private transient java.lang.Class<K> keyType;
descriptor: Ljava/lang/Class;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/lang/Class<TK;>;
private transient java.lang.Class<V> valueType;
descriptor: Ljava/lang/Class;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/lang/Class<TV;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
public static <K extends java.lang.Enum<K>, V extends java.lang.Enum<V>> com.google.common.collect.EnumBiMap<K, V> create(java.lang.Class<K>, java.lang.Class<V>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/common/collect/EnumBiMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.collect.EnumBiMap
dup
aload 0
aload 1
invokespecial com.google.common.collect.EnumBiMap.<init>:(Ljava/lang/Class;Ljava/lang/Class;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 keyType Ljava/lang/Class<TK;>;
0 1 1 valueType Ljava/lang/Class<TV;>;
Signature: <K:Ljava/lang/Enum<TK;>;V:Ljava/lang/Enum<TV;>;>(Ljava/lang/Class<TK;>;Ljava/lang/Class<TV;>;)Lcom/google/common/collect/EnumBiMap<TK;TV;>;
MethodParameters:
Name Flags
keyType
valueType
public static <K extends java.lang.Enum<K>, V extends java.lang.Enum<V>> com.google.common.collect.EnumBiMap<K, V> create(java.util.Map<K, V>);
descriptor: (Ljava/util/Map;)Lcom/google/common/collect/EnumBiMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.EnumBiMap.inferKeyType:(Ljava/util/Map;)Ljava/lang/Class;
aload 0
invokestatic com.google.common.collect.EnumBiMap.inferValueType:(Ljava/util/Map;)Ljava/lang/Class;
invokestatic com.google.common.collect.EnumBiMap.create:(Ljava/lang/Class;Ljava/lang/Class;)Lcom/google/common/collect/EnumBiMap;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.collect.EnumBiMap.putAll:(Ljava/util/Map;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 map Ljava/util/Map<TK;TV;>;
1 3 1 bimap Lcom/google/common/collect/EnumBiMap<TK;TV;>;
Signature: <K:Ljava/lang/Enum<TK;>;V:Ljava/lang/Enum<TV;>;>(Ljava/util/Map<TK;TV;>;)Lcom/google/common/collect/EnumBiMap<TK;TV;>;
MethodParameters:
Name Flags
map
private void <init>(java.lang.Class<K>, java.lang.Class<V>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
1: new java.util.EnumMap
dup
aload 1
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
invokestatic com.google.common.collect.WellBehavedMap.wrap:(Ljava/util/Map;)Lcom/google/common/collect/WellBehavedMap;
2: new java.util.EnumMap
dup
aload 2
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
invokestatic com.google.common.collect.WellBehavedMap.wrap:(Ljava/util/Map;)Lcom/google/common/collect/WellBehavedMap;
invokespecial com.google.common.collect.AbstractBiMap.<init>:(Ljava/util/Map;Ljava/util/Map;)V
3: aload 0
aload 1
putfield com.google.common.collect.EnumBiMap.keyType:Ljava/lang/Class;
4: aload 0
aload 2
putfield com.google.common.collect.EnumBiMap.valueType:Ljava/lang/Class;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
0 6 1 keyType Ljava/lang/Class<TK;>;
0 6 2 valueType Ljava/lang/Class<TV;>;
Signature: (Ljava/lang/Class<TK;>;Ljava/lang/Class<TV;>;)V
MethodParameters:
Name Flags
keyType
valueType
static <K extends java.lang.Enum<K>> java.lang.Class<K> inferKeyType(java.util.Map<K, ?>);
descriptor: (Ljava/util/Map;)Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.collect.EnumBiMap
ifeq 2
1: aload 0
checkcast com.google.common.collect.EnumBiMap
invokevirtual com.google.common.collect.EnumBiMap.keyType:()Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof com.google.common.collect.EnumHashBiMap
ifeq 4
3: aload 0
checkcast com.google.common.collect.EnumHashBiMap
invokevirtual com.google.common.collect.EnumHashBiMap.keyType:()Ljava/lang/Class;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifeq 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
7: aload 0
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Enum
invokevirtual java.lang.Enum.getDeclaringClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 map Ljava/util/Map<TK;*>;
Signature: <K:Ljava/lang/Enum<TK;>;>(Ljava/util/Map<TK;*>;)Ljava/lang/Class<TK;>;
MethodParameters:
Name Flags
map
private static <V extends java.lang.Enum<V>> java.lang.Class<V> inferValueType(java.util.Map<?, V>);
descriptor: (Ljava/util/Map;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.collect.EnumBiMap
ifeq 2
1: aload 0
checkcast com.google.common.collect.EnumBiMap
getfield com.google.common.collect.EnumBiMap.valueType:Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Map.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
5: aload 0
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Enum
invokevirtual java.lang.Enum.getDeclaringClass:()Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 map Ljava/util/Map<*TV;>;
Signature: <V:Ljava/lang/Enum<TV;>;>(Ljava/util/Map<*TV;>;)Ljava/lang/Class<TV;>;
MethodParameters:
Name Flags
map
public java.lang.Class<K> keyType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.EnumBiMap.keyType:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
Signature: ()Ljava/lang/Class<TK;>;
public java.lang.Class<V> valueType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.EnumBiMap.valueType:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
Signature: ()Ljava/lang/Class<TV;>;
K checkKey();
descriptor: (Ljava/lang/Enum;)Ljava/lang/Enum;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Enum
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
0 1 1 key TK;
Signature: (TK;)TK;
MethodParameters:
Name Flags
key
V checkValue();
descriptor: (Ljava/lang/Enum;)Ljava/lang/Enum;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Enum
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
0 1 1 value TV;
Signature: (TV;)TV;
MethodParameters:
Name Flags
value
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
getfield com.google.common.collect.EnumBiMap.keyType:Ljava/lang/Class;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
2: aload 1
aload 0
getfield com.google.common.collect.EnumBiMap.valueType:Ljava/lang/Class;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
3: aload 0
aload 1
invokestatic com.google.common.collect.Serialization.writeMap:(Ljava/util/Map;Ljava/io/ObjectOutputStream;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
0 5 1 stream Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
stream
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.Class
putfield com.google.common.collect.EnumBiMap.keyType:Ljava/lang/Class;
2: aload 0
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
checkcast java.lang.Class
putfield com.google.common.collect.EnumBiMap.valueType:Ljava/lang/Class;
3: aload 0
4: new java.util.EnumMap
dup
aload 0
getfield com.google.common.collect.EnumBiMap.keyType:Ljava/lang/Class;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
invokestatic com.google.common.collect.WellBehavedMap.wrap:(Ljava/util/Map;)Lcom/google/common/collect/WellBehavedMap;
5: new java.util.EnumMap
dup
aload 0
getfield com.google.common.collect.EnumBiMap.valueType:Ljava/lang/Class;
invokespecial java.util.EnumMap.<init>:(Ljava/lang/Class;)V
invokestatic com.google.common.collect.WellBehavedMap.wrap:(Ljava/util/Map;)Lcom/google/common/collect/WellBehavedMap;
6: invokevirtual com.google.common.collect.EnumBiMap.setDelegates:(Ljava/util/Map;Ljava/util/Map;)V
7: aload 0
aload 1
invokestatic com.google.common.collect.Serialization.populateMap:(Ljava/util/Map;Ljava/io/ObjectInputStream;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/EnumBiMap<TK;TV;>;
0 9 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
stream
public java.util.Set keySet();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.collect.AbstractBiMap.keySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void clear();
descriptor: ()V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.collect.AbstractBiMap.clear:()V
return
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.collect.AbstractBiMap.entrySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void putAll(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.collect.AbstractBiMap.putAll:(Ljava/util/Map;)V
return
LocalVariableTable:
Start End Slot Name Signature
public com.google.common.collect.BiMap inverse();
descriptor: ()Lcom/google/common/collect/BiMap;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.collect.AbstractBiMap.inverse:()Lcom/google/common/collect/BiMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.util.Set values();
descriptor: ()Ljava/util/Set;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.google.common.collect.AbstractBiMap.values:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
java.lang.Object checkKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Enum
invokevirtual com.google.common.collect.EnumBiMap.checkKey:(Ljava/lang/Enum;)Ljava/lang/Enum;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void replaceAll(java.util.function.BiFunction);
descriptor: (Ljava/util/function/BiFunction;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.collect.AbstractBiMap.replaceAll:(Ljava/util/function/BiFunction;)V
return
LocalVariableTable:
Start End Slot Name Signature
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.collect.AbstractBiMap.containsValue:(Ljava/lang/Object;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object forcePut(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokespecial com.google.common.collect.AbstractBiMap.forcePut:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
java.lang.Object checkValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.Enum
invokevirtual com.google.common.collect.EnumBiMap.checkValue:(Ljava/lang/Enum;)Ljava/lang/Enum;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.google.common.collect.AbstractBiMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object put(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokespecial com.google.common.collect.AbstractBiMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <K:Ljava/lang/Enum<TK;>;V:Ljava/lang/Enum<TV;>;>Lcom/google/common/collect/AbstractBiMap<TK;TV;>;
SourceFile: "EnumBiMap.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)