public class com.mongodb.internal.validator.CollectibleDocumentFieldNameValidator implements org.bson.FieldNameValidator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.internal.validator.CollectibleDocumentFieldNameValidator
super_class: java.lang.Object
{
private static final java.util.List<java.lang.String> EXCEPTIONS;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "$db"
aastore
dup
iconst_1
ldc "$ref"
aastore
dup
iconst_2
ldc "$id"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic com.mongodb.internal.validator.CollectibleDocumentFieldNameValidator.EXCEPTIONS:Ljava/util/List;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lcom/mongodb/internal/validator/CollectibleDocumentFieldNameValidator;
public boolean validate(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Field name can not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "$"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
getstatic com.mongodb.internal.validator.CollectibleDocumentFieldNameValidator.EXCEPTIONS:Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/validator/CollectibleDocumentFieldNameValidator;
0 7 1 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
fieldName final
public org.bson.FieldNameValidator getValidatorForField(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bson/FieldNameValidator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/validator/CollectibleDocumentFieldNameValidator;
0 1 1 fieldName Ljava/lang/String;
MethodParameters:
Name Flags
fieldName final
}
SourceFile: "CollectibleDocumentFieldNameValidator.java"