class org.bson.json.ShellRegularExpressionConverter implements org.bson.json.Converter<org.bson.BsonRegularExpression>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bson.json.ShellRegularExpressionConverter
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/bson/json/ShellRegularExpressionConverter;
public void convert(org.bson.BsonRegularExpression, org.bson.json.StrictJsonWriter);
descriptor: (Lorg/bson/BsonRegularExpression;Lorg/bson/json/StrictJsonWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.bson.BsonRegularExpression.getPattern:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 1
ldc "(?:)"
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual org.bson.BsonRegularExpression.getPattern:()Ljava/lang/String;
ldc "/"
ldc "\\/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: astore 3
start local 3 3: aload 2
new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual org.bson.BsonRegularExpression.getOptions:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.bson.json.StrictJsonWriter.writeRaw:(Ljava/lang/String;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bson/json/ShellRegularExpressionConverter;
0 5 1 value Lorg/bson/BsonRegularExpression;
0 5 2 writer Lorg/bson/json/StrictJsonWriter;
3 5 3 escaped Ljava/lang/String;
MethodParameters:
Name Flags
value final
writer final
public void convert(java.lang.Object, org.bson.json.StrictJsonWriter);
descriptor: (Ljava/lang/Object;Lorg/bson/json/StrictJsonWriter;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.bson.BsonRegularExpression
aload 2
invokevirtual org.bson.json.ShellRegularExpressionConverter.convert:(Lorg/bson/BsonRegularExpression;Lorg/bson/json/StrictJsonWriter;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/bson/json/Converter<Lorg/bson/BsonRegularExpression;>;
SourceFile: "ShellRegularExpressionConverter.java"