public class org.bson.BsonJavaScriptWithScope extends org.bson.BsonValue
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.BsonJavaScriptWithScope
super_class: org.bson.BsonValue
{
private final java.lang.String code;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.BsonDocument scope;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, org.bson.BsonDocument);
descriptor: (Ljava/lang/String;Lorg/bson/BsonDocument;)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 org.bson.BsonValue.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "code can not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bson.BsonJavaScriptWithScope java.lang.String org.bson.BsonDocument
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "scope can not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.bson.BsonJavaScriptWithScope.code:Ljava/lang/String;
6: aload 0
aload 2
putfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bson/BsonJavaScriptWithScope;
0 8 1 code Ljava/lang/String;
0 8 2 scope Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
code final
scope final
public org.bson.BsonType getBsonType();
descriptor: ()Lorg/bson/BsonType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.bson.BsonType.JAVASCRIPT_WITH_SCOPE:Lorg/bson/BsonType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonJavaScriptWithScope;
public java.lang.String getCode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonJavaScriptWithScope.code:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonJavaScriptWithScope;
public org.bson.BsonDocument getScope();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/BsonJavaScriptWithScope;
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.bson.BsonJavaScriptWithScope
astore 2
start local 2 5: aload 0
getfield org.bson.BsonJavaScriptWithScope.code:Ljava/lang/String;
aload 2
getfield org.bson.BsonJavaScriptWithScope.code:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: org.bson.BsonJavaScriptWithScope
StackMap stack:
aload 0
getfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
aload 2
getfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bson/BsonJavaScriptWithScope;
0 10 1 o Ljava/lang/Object;
5 10 2 that Lorg/bson/BsonJavaScriptWithScope;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bson.BsonJavaScriptWithScope.code:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.hashCode:()I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bson/BsonJavaScriptWithScope;
1 3 1 result I
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 "BsonJavaScriptWithScope{code="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
invokevirtual org.bson.BsonJavaScriptWithScope.getCode:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: ldc "scope="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bson/BsonJavaScriptWithScope;
static org.bson.BsonJavaScriptWithScope clone(org.bson.BsonJavaScriptWithScope);
descriptor: (Lorg/bson/BsonJavaScriptWithScope;)Lorg/bson/BsonJavaScriptWithScope;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.bson.BsonJavaScriptWithScope
dup
aload 0
getfield org.bson.BsonJavaScriptWithScope.code:Ljava/lang/String;
aload 0
getfield org.bson.BsonJavaScriptWithScope.scope:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.clone:()Lorg/bson/BsonDocument;
invokespecial org.bson.BsonJavaScriptWithScope.<init>:(Ljava/lang/String;Lorg/bson/BsonDocument;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 from Lorg/bson/BsonJavaScriptWithScope;
MethodParameters:
Name Flags
from final
}
SourceFile: "BsonJavaScriptWithScope.java"