public class com.fasterxml.jackson.dataformat.avro.AvroSchema implements com.fasterxml.jackson.core.FormatSchema
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.dataformat.avro.AvroSchema
super_class: java.lang.Object
{
public static final java.lang.String TYPE_ID;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "avro"
protected final org.apache.avro.Schema _writerSchema;
descriptor: Lorg/apache/avro/Schema;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final java.util.concurrent.atomic.AtomicReference<com.fasterxml.jackson.dataformat.avro.deser.AvroStructureReader> _reader;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lcom/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader;>;
public void <init>(org.apache.avro.Schema);
descriptor: (Lorg/apache/avro/Schema;)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 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield com.fasterxml.jackson.dataformat.avro.AvroSchema._reader:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
aload 1
putfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
0 4 1 asch Lorg/apache/avro/Schema;
MethodParameters:
Name Flags
asch
public com.fasterxml.jackson.dataformat.avro.AvroSchema withReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema);
descriptor: (Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;)Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
astore 2
start local 2 1: aload 1
invokevirtual com.fasterxml.jackson.dataformat.avro.AvroSchema.getAvroSchema:()Lorg/apache/avro/Schema;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.apache.avro.Schema.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
areturn
4: StackMap locals: org.apache.avro.Schema org.apache.avro.Schema
StackMap stack:
aload 2
aload 3
invokestatic org.apache.avro.Schema.applyAliases:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Lorg/apache/avro/Schema;
astore 2
5: aload 3
invokevirtual org.apache.avro.Schema.getType:()Lorg/apache/avro/Schema$Type;
aload 2
invokevirtual org.apache.avro.Schema.getType:()Lorg/apache/avro/Schema$Type;
if_acmpne 11
6: aload 0
aload 2
aload 3
invokevirtual com.fasterxml.jackson.dataformat.avro.AvroSchema._schemaNamesEqual:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Z
ifne 11
7: new com.fasterxml.jackson.databind.JsonMappingException
dup
aconst_null
8: ldc "Incompatible writer/reader schemas: root %ss have different names (\"%s\" vs \"%s\"), no match via aliases"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: aload 3
invokevirtual org.apache.avro.Schema.getType:()Lorg/apache/avro/Schema$Type;
invokevirtual org.apache.avro.Schema$Type.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
invokevirtual org.apache.avro.Schema.getFullName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 3
invokevirtual org.apache.avro.Schema.getFullName:()Ljava/lang/String;
aastore
10: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.fasterxml.jackson.databind.JsonMappingException.<init>:(Ljava/io/Closeable;Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 3
aload 2
invokestatic org.apache.avro.SchemaCompatibility.checkReaderWriterCompatibility:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Lorg/apache/avro/SchemaCompatibility$SchemaPairCompatibility;
astore 4
start local 4 12: goto 18
end local 4 StackMap locals:
StackMap stack: java.lang.Exception
13: astore 5
start local 5 14: new com.fasterxml.jackson.databind.JsonMappingException
dup
aconst_null
15: ldc "Failed to resolve given writer/reader schemas, problem: (%s) %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
16: aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
aastore
17: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.fasterxml.jackson.databind.JsonMappingException.<init>:(Ljava/io/Closeable;Ljava/lang/String;)V
athrow
end local 5 start local 4 18: StackMap locals: org.apache.avro.SchemaCompatibility$SchemaPairCompatibility
StackMap stack:
aload 4
invokevirtual org.apache.avro.SchemaCompatibility$SchemaPairCompatibility.getType:()Lorg/apache/avro/SchemaCompatibility$SchemaCompatibilityType;
getstatic org.apache.avro.SchemaCompatibility$SchemaCompatibilityType.COMPATIBLE:Lorg/apache/avro/SchemaCompatibility$SchemaCompatibilityType;
if_acmpeq 22
19: new com.fasterxml.jackson.databind.JsonMappingException
dup
aconst_null
ldc "Incompatible writer/reader schemas: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
20: aload 4
invokevirtual org.apache.avro.SchemaCompatibility$SchemaPairCompatibility.getDescription:()Ljava/lang/String;
aastore
21: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial com.fasterxml.jackson.databind.JsonMappingException.<init>:(Ljava/io/Closeable;Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
aload 3
invokestatic com.fasterxml.jackson.dataformat.avro.AvroSchema$Resolving.create:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Lcom/fasterxml/jackson/dataformat/avro/AvroSchema$Resolving;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
0 23 1 readerSchema Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
1 23 2 w Lorg/apache/avro/Schema;
2 23 3 r Lorg/apache/avro/Schema;
12 13 4 comp Lorg/apache/avro/SchemaCompatibility$SchemaPairCompatibility;
18 23 4 comp Lorg/apache/avro/SchemaCompatibility$SchemaPairCompatibility;
14 18 5 e Ljava/lang/Exception;
Exception table:
from to target type
11 12 13 Class java.lang.Exception
Exceptions:
throws com.fasterxml.jackson.core.JsonProcessingException
MethodParameters:
Name Flags
readerSchema
private boolean _schemaNamesEqual(org.apache.avro.Schema, org.apache.avro.Schema);
descriptor: (Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.apache.avro.Schema.getFullName:()Ljava/lang/String;
astore 3
start local 3 1: aload 2
invokevirtual org.apache.avro.Schema.getFullName:()Ljava/lang/String;
astore 4
start local 4 2: aload 3
aload 4
if_acmpeq 4
3: aload 3
ifnull 5
aload 3
aload 4
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals: java.lang.String java.lang.String
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.apache.avro.Schema.getAliases:()Ljava/util/Set;
astore 5
start local 5 6: aload 5
aload 3
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
0 7 1 w Lorg/apache/avro/Schema;
0 7 2 r Lorg/apache/avro/Schema;
1 7 3 wname Ljava/lang/String;
2 7 4 rname Ljava/lang/String;
6 7 5 aliases Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
w
r
public com.fasterxml.jackson.dataformat.avro.AvroSchema withUnsafeReaderSchema(com.fasterxml.jackson.dataformat.avro.AvroSchema);
descriptor: (Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;)Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
astore 2
start local 2 1: aload 1
invokevirtual com.fasterxml.jackson.dataformat.avro.AvroSchema.getAvroSchema:()Lorg/apache/avro/Schema;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.apache.avro.Schema.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
areturn
4: StackMap locals: org.apache.avro.Schema org.apache.avro.Schema
StackMap stack:
aload 2
aload 3
invokestatic org.apache.avro.Schema.applyAliases:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Lorg/apache/avro/Schema;
astore 2
5: aload 2
aload 3
invokestatic com.fasterxml.jackson.dataformat.avro.AvroSchema$Resolving.create:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Lcom/fasterxml/jackson/dataformat/avro/AvroSchema$Resolving;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
0 6 1 readerSchema Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
1 6 2 w Lorg/apache/avro/Schema;
2 6 3 r Lorg/apache/avro/Schema;
Exceptions:
throws com.fasterxml.jackson.core.JsonProcessingException
MethodParameters:
Name Flags
readerSchema
public java.lang.String getSchemaType();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "avro"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
public org.apache.avro.Schema getAvroSchema();
descriptor: ()Lorg/apache/avro/Schema;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
public com.fasterxml.jackson.dataformat.avro.deser.AvroStructureReader getReader();
descriptor: ()Lcom/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._reader:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast com.fasterxml.jackson.dataformat.avro.deser.AvroStructureReader
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
invokevirtual com.fasterxml.jackson.dataformat.avro.AvroSchema._constructReader:()Lcom/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader;
astore 1
3: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._reader:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReference.set:(Ljava/lang/Object;)V
4: StackMap locals: com.fasterxml.jackson.dataformat.avro.deser.AvroStructureReader
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
1 5 1 r Lcom/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader;
protected com.fasterxml.jackson.dataformat.avro.deser.AvroStructureReader _constructReader();
descriptor: ()Lcom/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
invokestatic com.fasterxml.jackson.dataformat.avro.deser.AvroReaderFactory.createFor:(Lorg/apache/avro/Schema;)Lcom/fasterxml/jackson/dataformat/avro/deser/AvroStructureReader;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "{AvroSchema: name=%s}"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
invokevirtual org.apache.avro.Schema.getFullName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
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.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
invokevirtual org.apache.avro.Schema.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
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
aload 0
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast com.fasterxml.jackson.dataformat.avro.AvroSchema
astore 2
start local 2 4: aload 0
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
aload 2
getfield com.fasterxml.jackson.dataformat.avro.AvroSchema._writerSchema:Lorg/apache/avro/Schema;
invokevirtual org.apache.avro.Schema.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
0 5 1 o Ljava/lang/Object;
4 5 2 other Lcom/fasterxml/jackson/dataformat/avro/AvroSchema;
MethodParameters:
Name Flags
o
}
SourceFile: "AvroSchema.java"
NestMembers:
com.fasterxml.jackson.dataformat.avro.AvroSchema$Resolving
InnerClasses:
private final Resolving = com.fasterxml.jackson.dataformat.avro.AvroSchema$Resolving of com.fasterxml.jackson.dataformat.avro.AvroSchema
public final Type = org.apache.avro.Schema$Type of org.apache.avro.Schema
public final SchemaCompatibilityType = org.apache.avro.SchemaCompatibility$SchemaCompatibilityType of org.apache.avro.SchemaCompatibility
public final SchemaPairCompatibility = org.apache.avro.SchemaCompatibility$SchemaPairCompatibility of org.apache.avro.SchemaCompatibility