public final class com.mongodb.MongoCompressor
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.MongoCompressor
super_class: java.lang.Object
{
public static final java.lang.String LEVEL;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "LEVEL"
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, java.lang.Object> properties;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public static com.mongodb.MongoCompressor createSnappyCompressor();
descriptor: ()Lcom/mongodb/MongoCompressor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.mongodb.MongoCompressor
dup
ldc "snappy"
invokespecial com.mongodb.MongoCompressor.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.MongoCompressor createZlibCompressor();
descriptor: ()Lcom/mongodb/MongoCompressor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.mongodb.MongoCompressor
dup
ldc "zlib"
invokespecial com.mongodb.MongoCompressor.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.MongoCompressor createZstdCompressor();
descriptor: ()Lcom/mongodb/MongoCompressor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.mongodb.MongoCompressor
dup
ldc "zstd"
invokespecial com.mongodb.MongoCompressor.<init>:(Ljava/lang/String;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/MongoCompressor;
public <T> T getProperty(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "key"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 2: aload 3
ifnonnull 3
aload 0
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 3
aload 2
goto 4
StackMap locals: java.lang.Object
StackMap stack:
3: aload 3
StackMap locals:
StackMap stack: java.lang.Object
4: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/MongoCompressor;
0 5 1 key Ljava/lang/String;
0 5 2 defaultValue TT;
2 5 3 value TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)TT;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
key final
defaultValue final
public <T> T getPropertyNonNull(java.lang.String, );
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.mongodb.MongoCompressor.getProperty:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
3: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/MongoCompressor;
0 4 1 key Ljava/lang/String;
0 4 2 defaultValue TT;
1 4 3 value TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)TT;
MethodParameters:
Name Flags
key final
defaultValue final
public <T> com.mongodb.MongoCompressor withProperty(java.lang.String, T);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)Lcom/mongodb/MongoCompressor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.mongodb.MongoCompressor
dup
aload 0
aload 1
aload 2
invokespecial com.mongodb.MongoCompressor.<init>:(Lcom/mongodb/MongoCompressor;Ljava/lang/String;Ljava/lang/Object;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/MongoCompressor;
0 1 1 key Ljava/lang/String;
0 1 2 value TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;TT;)Lcom/mongodb/MongoCompressor;
MethodParameters:
Name Flags
key final
value final
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
2: aload 0
invokestatic java.util.Collections.emptyMap:()Ljava/util/Map;
putfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/MongoCompressor;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
private <T> void <init>(com.mongodb.MongoCompressor, java.lang.String, );
descriptor: (Lcom/mongodb/MongoCompressor;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc "propertyKey"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
getfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
putfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
3: aload 0
new java.util.HashMap
dup
aload 1
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
putfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
4: aload 0
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
aload 2
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/MongoCompressor;
0 6 1 from Lcom/mongodb/MongoCompressor;
0 6 2 propertyKey Ljava/lang/String;
0 6 3 propertyValue TT;
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/MongoCompressor;Ljava/lang/String;TT;)V
MethodParameters:
Name Flags
from final
propertyKey final
propertyValue final
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 com.mongodb.MongoCompressor
astore 2
start local 2 5: aload 0
getfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
aload 2
getfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.MongoCompressor
StackMap stack:
aload 0
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
aload 2
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
invokeinterface java.util.Map.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/MongoCompressor;
0 8 1 o Ljava/lang/Object;
5 8 2 that Lcom/mongodb/MongoCompressor;
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 com.mongodb.MongoCompressor.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
invokeinterface java.util.Map.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 Lcom/mongodb/MongoCompressor;
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 "MongoCompressor{name='"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.MongoCompressor.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
2: ldc ", properties="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.MongoCompressor.properties:Ljava/util/Map;
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 Lcom/mongodb/MongoCompressor;
}
SourceFile: "MongoCompressor.java"