public final class com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder extends com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder
super_class: com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder
{
protected final java.lang.String _name;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.lang.String[] _values;
descriptor: [Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(java.lang.String, java.util.List<java.lang.String>);
descriptor: (Ljava/lang/String;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder.<init>:()V
1: aload 0
aload 1
putfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._name:Ljava/lang/String;
2: aload 0
aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
putfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._values:[Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;
0 4 1 name Ljava/lang/String;
0 4 2 enumNames Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
name
enumNames
public com.fasterxml.jackson.core.JsonToken decodeValue(com.fasterxml.jackson.dataformat.avro.deser.AvroParserImpl);
descriptor: (Lcom/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl;)Lcom/fasterxml/jackson/core/JsonToken;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
aload 1
invokevirtual com.fasterxml.jackson.dataformat.avro.deser.AvroParserImpl.decodeEnum:()I
invokevirtual com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._checkIndex:(I)Ljava/lang/String;
invokevirtual com.fasterxml.jackson.dataformat.avro.deser.AvroParserImpl.setString:(Ljava/lang/String;)Lcom/fasterxml/jackson/core/JsonToken;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;
0 1 1 parser Lcom/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
parser
protected void skipValue(com.fasterxml.jackson.dataformat.avro.deser.AvroParserImpl);
descriptor: (Lcom/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.fasterxml.jackson.dataformat.avro.deser.AvroParserImpl.decodeEnum:()I
invokevirtual com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._checkIndex:(I)Ljava/lang/String;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;
0 2 1 parser Lcom/fasterxml/jackson/dataformat/avro/deser/AvroParserImpl;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
parser
private final java.lang.String _checkIndex(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._values:[Ljava/lang/String;
arraylength
if_icmplt 5
1: StackMap locals:
StackMap stack:
new java.io.IOException
dup
2: ldc "Invalid Enum index (%s); enum '%s' only has %d types"
iconst_3
anewarray java.lang.Object
dup
iconst_0
3: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._name:Ljava/lang/String;
aastore
dup
iconst_2
aload 0
getfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._values:[Ljava/lang/String;
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._values:[Ljava/lang/String;
iload 1
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;
0 6 1 index I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
index
public java.lang.String getTypeId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;
public com.fasterxml.jackson.dataformat.avro.deser.AvroFieldReader asFieldReader(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Lcom/fasterxml/jackson/dataformat/avro/deser/AvroFieldReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder$FR
dup
aload 1
iload 2
aload 0
aload 0
getfield com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder._name:Ljava/lang/String;
invokespecial com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder$FR.<init>:(Ljava/lang/String;ZLcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/deser/ScalarDecoder$EnumDecoder;
0 1 1 name Ljava/lang/String;
0 1 2 skipper Z
MethodParameters:
Name Flags
name
skipper
}
SourceFile: "ScalarDecoder.java"
NestHost: com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder
InnerClasses:
protected final EnumDecoder = com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder of com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder
private final FR = com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder$FR of com.fasterxml.jackson.dataformat.avro.deser.ScalarDecoder$EnumDecoder