public final class com.google.common.primitives.Primitives
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.primitives.Primitives
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.Class<?>, java.lang.Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
private static final java.util.Map<java.lang.Class<?>, java.lang.Class<?>> WRAPPER_TO_PRIMITIVE_TYPE;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=0
0: new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
astore 0
start local 0 1: new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 2: aload 0
aload 1
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Boolean;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
3: aload 0
aload 1
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Byte;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
4: aload 0
aload 1
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Character;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
5: aload 0
aload 1
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Double;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
6: aload 0
aload 1
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Float;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
7: aload 0
aload 1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Integer;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
8: aload 0
aload 1
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Long;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
9: aload 0
aload 1
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Short;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
10: aload 0
aload 1
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Void;
invokestatic com.google.common.primitives.Primitives.add:(Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
11: aload 0
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic com.google.common.primitives.Primitives.PRIMITIVE_TO_WRAPPER_TYPE:Ljava/util/Map;
12: aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic com.google.common.primitives.Primitives.WRAPPER_TO_PRIMITIVE_TYPE:Ljava/util/Map;
end local 1 end local 0 13: return
LocalVariableTable:
Start End Slot Name Signature
1 13 0 primToWrap Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
2 13 1 wrapToPrim Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/primitives/Primitives;
private static void add(java.util.Map<java.lang.Class<?>, java.lang.Class<?>>, java.util.Map<java.lang.Class<?>, java.lang.Class<?>>, java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/util/Map;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 3
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 forward Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
0 3 1 backward Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
0 3 2 key Ljava/lang/Class<*>;
0 3 3 value Ljava/lang/Class<*>;
Signature: (Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;Ljava/lang/Class<*>;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
forward
backward
key
value
public static java.util.Set<java.lang.Class<?>> allPrimitiveTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.primitives.Primitives.PRIMITIVE_TO_WRAPPER_TYPE:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
public static java.util.Set<java.lang.Class<?>> allWrapperTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.primitives.Primitives.WRAPPER_TO_PRIMITIVE_TYPE:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
public static boolean isWrapperType(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.google.common.primitives.Primitives.WRAPPER_TO_PRIMITIVE_TYPE:Ljava/util/Map;
aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
type
public static <T> java.lang.Class<T> wrap(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic com.google.common.primitives.Primitives.PRIMITIVE_TO_WRAPPER_TYPE:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 2: aload 1
ifnonnull 3
aload 0
goto 4
StackMap locals: java.lang.Class
StackMap stack:
3: aload 1
StackMap locals:
StackMap stack: java.lang.Class
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type Ljava/lang/Class<TT;>;
2 5 1 wrapped Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/lang/Class<TT;>;
MethodParameters:
Name Flags
type
public static <T> java.lang.Class<T> unwrap(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic com.google.common.primitives.Primitives.WRAPPER_TO_PRIMITIVE_TYPE:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 2: aload 1
ifnonnull 3
aload 0
goto 4
StackMap locals: java.lang.Class
StackMap stack:
3: aload 1
StackMap locals:
StackMap stack: java.lang.Class
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type Ljava/lang/Class<TT;>;
2 5 1 unwrapped Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/lang/Class<TT;>;
MethodParameters:
Name Flags
type
}
SourceFile: "Primitives.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()