final class com.google.common.base.Enums$StringConverter<T extends java.lang.Enum<T>> extends com.google.common.base.Converter<java.lang.String, T> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.base.Enums$StringConverter
super_class: com.google.common.base.Converter
{
private final java.lang.Class<T> enumClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.base.Converter.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
putfield com.google.common.base.Enums$StringConverter.enumClass:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/Enums$StringConverter<TT;>;
0 3 1 enumClass Ljava/lang/Class<TT;>;
Signature: (Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
enumClass
protected T doForward(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Enum;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.base.Enums$StringConverter.enumClass:Ljava/lang/Class;
aload 1
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Enums$StringConverter<TT;>;
0 1 1 value Ljava/lang/String;
Signature: (Ljava/lang/String;)TT;
MethodParameters:
Name Flags
value
protected java.lang.String doBackward(T);
descriptor: (Ljava/lang/Enum;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Enum.name:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Enums$StringConverter<TT;>;
0 1 1 enumValue TT;
Signature: (TT;)Ljava/lang/String;
MethodParameters:
Name Flags
enumValue
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.google.common.base.Enums$StringConverter
ifeq 3
1: aload 1
checkcast com.google.common.base.Enums$StringConverter
astore 2
start local 2 2: aload 0
getfield com.google.common.base.Enums$StringConverter.enumClass:Ljava/lang/Class;
aload 2
getfield com.google.common.base.Enums$StringConverter.enumClass:Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/base/Enums$StringConverter<TT;>;
0 4 1 object Ljava/lang/Object;
2 3 2 that Lcom/google/common/base/Enums$StringConverter<*>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.base.Enums$StringConverter.enumClass:Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Enums$StringConverter<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Enums.stringConverter("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.base.Enums$StringConverter.enumClass:Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".class)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Enums$StringConverter<TT;>;
protected java.lang.Object doBackward(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, 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.base.Enums$StringConverter.doBackward:(Ljava/lang/Enum;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object doForward(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.lang.String
invokevirtual com.google.common.base.Enums$StringConverter.doForward:(Ljava/lang/String;)Ljava/lang/Enum;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Enum<TT;>;>Lcom/google/common/base/Converter<Ljava/lang/String;TT;>;Ljava/io/Serializable;
SourceFile: "Enums.java"
NestHost: com.google.common.base.Enums
InnerClasses:
private final StringConverter = com.google.common.base.Enums$StringConverter of com.google.common.base.Enums