final class org.bson.codecs.pojo.PropertyReflectionUtils
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.bson.codecs.pojo.PropertyReflectionUtils
super_class: java.lang.Object
{
private static final java.lang.String IS_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "is"
private static final java.lang.String GET_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "get"
private static final java.lang.String SET_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "set"
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/codecs/pojo/PropertyReflectionUtils;
static boolean isGetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
ifle 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "get"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ldc "get"
invokevirtual java.lang.String.length:()I
if_icmple 4
3: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "get"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isUpperCase:(C)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "is"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ldc "is"
invokevirtual java.lang.String.length:()I
if_icmple 6
5: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "is"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isUpperCase:(C)Z
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method final
static boolean isSetter(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "set"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 3
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ldc "set"
invokevirtual java.lang.String.length:()I
if_icmple 3
1: aload 0
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
arraylength
iconst_1
if_icmpne 3
2: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
ldc "set"
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isUpperCase:(C)Z
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method final
static java.lang.String toPropertyName(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
aload 1
ldc "is"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
iconst_2
goto 3
StackMap locals: java.lang.reflect.Method java.lang.String
StackMap stack: java.lang.String
2: iconst_3
StackMap locals: java.lang.reflect.Method java.lang.String
StackMap stack: java.lang.String int
3: aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 4: aload 2
invokevirtual java.lang.String.toCharArray:()[C
astore 3
start local 3 5: aload 3
iconst_0
aload 3
iconst_0
caload
invokestatic java.lang.Character.toLowerCase:(C)C
castore
6: new java.lang.String
dup
aload 3
invokespecial java.lang.String.<init>:([C)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 method Ljava/lang/reflect/Method;
1 7 1 name Ljava/lang/String;
4 7 2 propertyName Ljava/lang/String;
5 7 3 chars [C
MethodParameters:
Name Flags
method final
static org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods getPropertyMethods(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Lorg/bson/codecs/pojo/PropertyReflectionUtils$PropertyMethods;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 0
invokevirtual java.lang.Class.getDeclaredMethods:()[Ljava/lang/reflect/Method;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: java.lang.Class java.util.List java.util.List top int int java.lang.reflect.Method[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
invokevirtual java.lang.reflect.Method.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifeq 10
aload 3
invokevirtual java.lang.reflect.Method.isBridge:()Z
ifne 10
5: aload 3
invokestatic org.bson.codecs.pojo.PropertyReflectionUtils.isGetter:(Ljava/lang/reflect/Method;)Z
ifeq 8
6: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: goto 10
StackMap locals: java.lang.Class java.util.List java.util.List java.lang.reflect.Method int int java.lang.reflect.Method[]
StackMap stack:
8: aload 3
invokestatic org.bson.codecs.pojo.PropertyReflectionUtils.isSetter:(Ljava/lang/reflect/Method;)Z
ifeq 10
9: aload 1
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 10: StackMap locals: java.lang.Class java.util.List java.util.List top int int java.lang.reflect.Method[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 3
12: new org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods
dup
aload 2
aload 1
invokespecial org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods.<init>:(Ljava/util/Collection;Ljava/util/Collection;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 clazz Ljava/lang/Class<*>;
1 13 1 setters Ljava/util/List<Ljava/lang/reflect/Method;>;
2 13 2 getters Ljava/util/List<Ljava/lang/reflect/Method;>;
4 10 3 method Ljava/lang/reflect/Method;
Signature: (Ljava/lang/Class<*>;)Lorg/bson/codecs/pojo/PropertyReflectionUtils$PropertyMethods;
MethodParameters:
Name Flags
clazz final
}
SourceFile: "PropertyReflectionUtils.java"
NestMembers:
org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods
InnerClasses:
PropertyMethods = org.bson.codecs.pojo.PropertyReflectionUtils$PropertyMethods of org.bson.codecs.pojo.PropertyReflectionUtils