class org.apache.avro.ValidateMutualRead implements org.apache.avro.SchemaValidationStrategy
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.avro.ValidateMutualRead
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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 Lorg/apache/avro/ValidateMutualRead;
public void validate(org.apache.avro.Schema, org.apache.avro.Schema);
descriptor: (Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokestatic org.apache.avro.ValidateMutualRead.canRead:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)V
1: aload 2
aload 1
invokestatic org.apache.avro.ValidateMutualRead.canRead:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/avro/ValidateMutualRead;
0 3 1 toValidate Lorg/apache/avro/Schema;
0 3 2 existing Lorg/apache/avro/Schema;
Exceptions:
throws org.apache.avro.SchemaValidationException
MethodParameters:
Name Flags
toValidate
existing
static void canRead(org.apache.avro.Schema, org.apache.avro.Schema);
descriptor: (Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new org.apache.avro.io.parsing.ResolvingGrammarGenerator
dup
invokespecial org.apache.avro.io.parsing.ResolvingGrammarGenerator.<init>:()V
aload 0
aload 1
invokevirtual org.apache.avro.io.parsing.ResolvingGrammarGenerator.generate:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)Lorg/apache/avro/io/parsing/Symbol;
invokestatic org.apache.avro.io.parsing.Symbol.hasErrors:(Lorg/apache/avro/io/parsing/Symbol;)Z
istore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.io.IOException
2: astore 3
start local 3 3: new org.apache.avro.SchemaValidationException
dup
aload 1
aload 0
aload 3
invokespecial org.apache.avro.SchemaValidationException.<init>:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;Ljava/lang/Throwable;)V
athrow
end local 3 start local 2 4: StackMap locals: int
StackMap stack:
iload 2
ifeq 6
5: new org.apache.avro.SchemaValidationException
dup
aload 1
aload 0
invokespecial org.apache.avro.SchemaValidationException.<init>:(Lorg/apache/avro/Schema;Lorg/apache/avro/Schema;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 writtenWith Lorg/apache/avro/Schema;
0 7 1 readUsing Lorg/apache/avro/Schema;
1 2 2 error Z
4 7 2 error Z
3 4 3 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.apache.avro.SchemaValidationException
MethodParameters:
Name Flags
writtenWith
readUsing
}
SourceFile: "ValidateMutualRead.java"