public class org.apache.commons.lang3.reflect.FieldUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.lang3.reflect.FieldUtils
super_class: java.lang.Object
{
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/lang3/reflect/FieldUtils;
public static java.lang.reflect.Field getField(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 2
start local 2 1: aload 2
invokestatic org.apache.commons.lang3.reflect.MemberUtils.setAccessibleWorkaround:(Ljava/lang/reflect/AccessibleObject;)Z
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cls Ljava/lang/Class<*>;
0 3 1 fieldName Ljava/lang/String;
1 3 2 field Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
cls final
fieldName final
public static java.lang.reflect.Field getField(java.lang.Class<?>, java.lang.String, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "The class must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic org.apache.commons.lang3.StringUtils.isNotBlank:(Ljava/lang/CharSequence;)Z
ldc "The field name must not be blank/empty"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
2: aload 0
astore 3
start local 3 3: goto 12
4: StackMap locals: java.lang.Class
StackMap stack:
aload 3
aload 1
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 4
start local 4 5: aload 4
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isPublic:(I)Z
ifne 8
6: iload 2
ifeq 11
7: aload 4
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
8: StackMap locals: java.lang.reflect.Field
StackMap stack:
aload 4
9: areturn
end local 4 10: StackMap locals: java.lang.Class java.lang.String int java.lang.Class
StackMap stack: java.lang.NoSuchFieldException
pop
11: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 3
StackMap locals:
StackMap stack:
12: aload 3
ifnonnull 4
end local 3 13: aconst_null
astore 3
start local 3 14: aload 0
invokestatic org.apache.commons.lang3.ClassUtils.getAllInterfaces:(Ljava/lang/Class;)Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 25
StackMap locals: java.lang.Class java.lang.String int java.lang.reflect.Field top java.util.Iterator
StackMap stack:
15: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 16: aload 4
aload 1
invokevirtual java.lang.Class.getField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 6
start local 6 17: aload 3
ifnonnull 18
iconst_1
goto 19
StackMap locals: java.lang.Class java.lang.String int java.lang.reflect.Field java.lang.Class java.util.Iterator java.lang.reflect.Field
StackMap stack:
18: iconst_0
StackMap locals:
StackMap stack: int
19: ldc "Reference to field %s is ambiguous relative to %s; a matching field exists on two or more implemented interfaces."
iconst_2
anewarray java.lang.Object
dup
iconst_0
20: aload 1
aastore
dup
iconst_1
aload 0
aastore
21: invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
22: aload 6
astore 3
end local 6 23: goto 25
StackMap locals: java.lang.Class java.lang.String int java.lang.reflect.Field java.lang.Class java.util.Iterator
StackMap stack: java.lang.NoSuchFieldException
24: pop
end local 4 25: StackMap locals: java.lang.Class java.lang.String int java.lang.reflect.Field top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
26: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 cls Ljava/lang/Class<*>;
0 27 1 fieldName Ljava/lang/String;
0 27 2 forceAccess Z
3 13 3 acls Ljava/lang/Class<*>;
5 10 4 field Ljava/lang/reflect/Field;
14 27 3 match Ljava/lang/reflect/Field;
16 25 4 class1 Ljava/lang/Class<*>;
17 23 6 test Ljava/lang/reflect/Field;
Exception table:
from to target type
4 9 10 Class java.lang.NoSuchFieldException
16 23 24 Class java.lang.NoSuchFieldException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
cls final
fieldName final
forceAccess final
public static java.lang.reflect.Field getDeclaredField(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getDeclaredField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cls Ljava/lang/Class<*>;
0 1 1 fieldName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
cls final
fieldName final
public static java.lang.reflect.Field getDeclaredField(java.lang.Class<?>, java.lang.String, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "The class must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic org.apache.commons.lang3.StringUtils.isNotBlank:(Ljava/lang/CharSequence;)Z
ldc "The field name must not be blank/empty"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
2: aload 0
aload 1
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 3
start local 3 3: aload 3
invokestatic org.apache.commons.lang3.reflect.MemberUtils.isAccessible:(Ljava/lang/reflect/Member;)Z
ifne 8
4: iload 2
ifeq 7
5: aload 3
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
6: goto 8
7: StackMap locals: java.lang.reflect.Field
StackMap stack:
aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 3
9: areturn
end local 3 10: StackMap locals: java.lang.Class java.lang.String int
StackMap stack: java.lang.NoSuchFieldException
pop
11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 cls Ljava/lang/Class<*>;
0 12 1 fieldName Ljava/lang/String;
0 12 2 forceAccess Z
3 10 3 field Ljava/lang/reflect/Field;
Exception table:
from to target type
2 7 10 Class java.lang.NoSuchFieldException
8 9 10 Class java.lang.NoSuchFieldException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
cls final
fieldName final
forceAccess final
public static java.lang.reflect.Field[] getAllFields(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)[Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getAllFieldsList:(Ljava/lang/Class;)Ljava/util/List;
astore 1
start local 1 1: aload 1
getstatic org.apache.commons.lang3.ArrayUtils.EMPTY_FIELD_ARRAY:[Ljava/lang/reflect/Field;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.reflect.Field[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cls Ljava/lang/Class<*>;
1 2 1 allFieldsList Ljava/util/List<Ljava/lang/reflect/Field;>;
Signature: (Ljava/lang/Class<*>;)[Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
cls final
public static java.util.List<java.lang.reflect.Field> getAllFieldsList(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
ldc "The class must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: aload 0
astore 2
start local 2 3: goto 7
4: StackMap locals: java.util.List java.lang.Class
StackMap stack:
aload 2
invokevirtual java.lang.Class.getDeclaredFields:()[Ljava/lang/reflect/Field;
astore 3
start local 3 5: aload 1
aload 3
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
6: aload 2
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 2
end local 3 7: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 cls Ljava/lang/Class<*>;
2 9 1 allFields Ljava/util/List<Ljava/lang/reflect/Field;>;
3 9 2 currentClass Ljava/lang/Class<*>;
5 7 3 declaredFields [Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;)Ljava/util/List<Ljava/lang/reflect/Field;>;
MethodParameters:
Name Flags
cls final
public static java.lang.reflect.Field[] getFieldsWithAnnotation(java.lang.Class<?>, java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)[Ljava/lang/reflect/Field;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getFieldsListWithAnnotation:(Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
astore 2
start local 2 1: aload 2
getstatic org.apache.commons.lang3.ArrayUtils.EMPTY_FIELD_ARRAY:[Ljava/lang/reflect/Field;
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.reflect.Field[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cls Ljava/lang/Class<*>;
0 2 1 annotationCls Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
1 2 2 annotatedFieldsList Ljava/util/List<Ljava/lang/reflect/Field;>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)[Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
cls final
annotationCls final
public static java.util.List<java.lang.reflect.Field> getFieldsListWithAnnotation(java.lang.Class<?>, java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ldc "The annotation class must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getAllFieldsList:(Ljava/lang/Class;)Ljava/util/List;
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: java.lang.Class java.lang.Class java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.reflect.Field
astore 4
start local 4 5: aload 4
aload 1
invokevirtual java.lang.reflect.Field.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
ifnull 7
6: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 cls Ljava/lang/Class<*>;
0 9 1 annotationCls Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
2 9 2 allFields Ljava/util/List<Ljava/lang/reflect/Field;>;
3 9 3 annotatedFields Ljava/util/List<Ljava/lang/reflect/Field;>;
5 7 4 field Ljava/lang/reflect/Field;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Ljava/util/List<Ljava/lang/reflect/Field;>;
MethodParameters:
Name Flags
cls final
annotationCls final
public static java.lang.Object readStaticField(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readStaticField:(Ljava/lang/reflect/Field;Z)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
public static java.lang.Object readStaticField(java.lang.reflect.Field, boolean);
descriptor: (Ljava/lang/reflect/Field;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "The field must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ldc "The field '%s' is not static"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
aastore
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
2: aload 0
aconst_null
iload 1
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 field Ljava/lang/reflect/Field;
0 3 1 forceAccess Z
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
forceAccess final
public static readStaticField(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readStaticField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cls Ljava/lang/Class<*>;
0 1 1 fieldName Ljava/lang/String;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Object;
MethodParameters:
Name Flags
cls final
fieldName final
public static readStaticField(java.lang.Class<?>, java.lang.String, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 3
start local 3 1: aload 3
ldc "Cannot locate field '%s' on %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
aastore
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readStaticField:(Ljava/lang/reflect/Field;Z)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cls Ljava/lang/Class<*>;
0 3 1 fieldName Ljava/lang/String;
0 3 2 forceAccess Z
1 3 3 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Z)Ljava/lang/Object;
MethodParameters:
Name Flags
cls final
fieldName final
forceAccess final
public static readDeclaredStaticField(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readDeclaredStaticField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cls Ljava/lang/Class<*>;
0 1 1 fieldName Ljava/lang/String;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/Object;
MethodParameters:
Name Flags
cls final
fieldName final
public static readDeclaredStaticField(java.lang.Class<?>, java.lang.String, boolean);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getDeclaredField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 3
start local 3 1: aload 3
ldc "Cannot locate declared field %s.%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readStaticField:(Ljava/lang/reflect/Field;Z)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cls Ljava/lang/Class<*>;
0 3 1 fieldName Ljava/lang/String;
0 3 2 forceAccess Z
1 3 3 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Z)Ljava/lang/Object;
MethodParameters:
Name Flags
cls final
fieldName final
forceAccess final
public static java.lang.Object readField(java.lang.reflect.Field, java.lang.Object);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 field Ljava/lang/reflect/Field;
0 1 1 target Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
target final
public static java.lang.Object readField(java.lang.reflect.Field, java.lang.Object, boolean);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Object;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "The field must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 2
ifeq 4
aload 0
invokevirtual java.lang.reflect.Field.isAccessible:()Z
ifne 4
2: aload 0
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.commons.lang3.reflect.MemberUtils.setAccessibleWorkaround:(Ljava/lang/reflect/AccessibleObject;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 field Ljava/lang/reflect/Field;
0 6 1 target Ljava/lang/Object;
0 6 2 forceAccess Z
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
target final
forceAccess final
public static java.lang.Object readField(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readField:(Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target Ljava/lang/Object;
0 1 1 fieldName Ljava/lang/String;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
public static java.lang.Object readField(java.lang.Object, java.lang.String, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "target object must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 2: aload 3
aload 1
iload 2
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 4
start local 4 3: aload 4
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Class java.lang.reflect.Field
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "Cannot locate field %s on %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
aastore
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
6: aload 4
aload 0
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Z)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 target Ljava/lang/Object;
0 7 1 fieldName Ljava/lang/String;
0 7 2 forceAccess Z
2 7 3 cls Ljava/lang/Class<*>;
3 7 4 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
forceAccess final
public static java.lang.Object readDeclaredField(java.lang.Object, java.lang.String);
descriptor: (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readDeclaredField:(Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 target Ljava/lang/Object;
0 1 1 fieldName Ljava/lang/String;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
public static java.lang.Object readDeclaredField(java.lang.Object, java.lang.String, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "target object must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 2: aload 3
aload 1
iload 2
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getDeclaredField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 4
start local 4 3: aload 4
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Class java.lang.reflect.Field
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "Cannot locate declared field %s.%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 1
aastore
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
6: aload 4
aload 0
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.readField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Z)Ljava/lang/Object;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 target Ljava/lang/Object;
0 7 1 fieldName Ljava/lang/String;
0 7 2 forceAccess Z
2 7 3 cls Ljava/lang/Class<*>;
3 7 4 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
forceAccess final
public static void writeStaticField(java.lang.reflect.Field, java.lang.Object);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeStaticField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 field Ljava/lang/reflect/Field;
0 2 1 value Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
value final
public static void writeStaticField(java.lang.reflect.Field, java.lang.Object, boolean);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "The field must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isStatic:(I)Z
ldc "The field %s.%s is not static"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.reflect.Field.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
aastore
3: invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
4: aload 0
aconst_null
aload 1
iload 2
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;Z)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 field Ljava/lang/reflect/Field;
0 6 1 value Ljava/lang/Object;
0 6 2 forceAccess Z
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
value final
forceAccess final
public static void writeStaticField(java.lang.Class<?>, java.lang.String, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeStaticField:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cls Ljava/lang/Class<*>;
0 2 1 fieldName Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Object;)V
MethodParameters:
Name Flags
cls final
fieldName final
value final
public static void writeStaticField(java.lang.Class<?>, java.lang.String, , );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 3
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 4
start local 4 1: aload 4
ldc "Cannot locate field %s on %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 0
aastore
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeStaticField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Z)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cls Ljava/lang/Class<*>;
0 4 1 fieldName Ljava/lang/String;
0 4 2 value Ljava/lang/Object;
0 4 3 forceAccess Z
1 4 4 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Object;Z)V
MethodParameters:
Name Flags
cls final
fieldName final
value final
forceAccess final
public static void writeDeclaredStaticField(java.lang.Class<?>, java.lang.String, );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeDeclaredStaticField:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cls Ljava/lang/Class<*>;
0 2 1 fieldName Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Object;)V
MethodParameters:
Name Flags
cls final
fieldName final
value final
public static void writeDeclaredStaticField(java.lang.Class<?>, java.lang.String, , );
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 3
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getDeclaredField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 4
start local 4 1: aload 4
ldc "Cannot locate declared field %s.%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 4
aconst_null
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;Z)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cls Ljava/lang/Class<*>;
0 4 1 fieldName Ljava/lang/String;
0 4 2 value Ljava/lang/Object;
0 4 3 forceAccess Z
1 4 4 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/Object;Z)V
MethodParameters:
Name Flags
cls final
fieldName final
value final
forceAccess final
public static void writeField(java.lang.reflect.Field, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 field Ljava/lang/reflect/Field;
0 2 1 target Ljava/lang/Object;
0 2 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
target final
value final
public static void writeField(java.lang.reflect.Field, java.lang.Object, java.lang.Object, boolean);
descriptor: (Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "The field must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 3
ifeq 4
aload 0
invokevirtual java.lang.reflect.Field.isAccessible:()Z
ifne 4
2: aload 0
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.commons.lang3.reflect.MemberUtils.setAccessibleWorkaround:(Ljava/lang/reflect/AccessibleObject;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual java.lang.reflect.Field.set:(Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 field Ljava/lang/reflect/Field;
0 7 1 target Ljava/lang/Object;
0 7 2 value Ljava/lang/Object;
0 7 3 forceAccess Z
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
field final
target final
value final
forceAccess final
public static void removeFinalModifier(java.lang.reflect.Field);
descriptor: (Ljava/lang/reflect/Field;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier:(Ljava/lang/reflect/Field;Z)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 field Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
field final
public static void removeFinalModifier(java.lang.reflect.Field, boolean);
descriptor: (Ljava/lang/reflect/Field;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
ldc "The field must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.reflect.Field.getModifiers:()I
invokestatic java.lang.reflect.Modifier.isFinal:(I)Z
ifeq 23
2: ldc Ljava/lang/reflect/Field;
ldc "modifiers"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 2
start local 2 3: iload 1
ifeq 4
aload 2
invokevirtual java.lang.reflect.Field.isAccessible:()Z
ifne 4
iconst_1
goto 5
StackMap locals: java.lang.reflect.Field
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: istore 3
start local 3 6: iload 3
ifeq 8
7: aload 2
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
8: StackMap locals: int
StackMap stack:
aload 2
aload 0
aload 0
invokevirtual java.lang.reflect.Field.getModifiers:()I
bipush -17
iand
invokevirtual java.lang.reflect.Field.setInt:(Ljava/lang/Object;I)V
9: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 4
11: iload 3
ifeq 13
12: aload 2
iconst_0
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
13: StackMap locals: java.lang.Throwable
StackMap stack:
aload 4
athrow
14: StackMap locals:
StackMap stack:
iload 3
ifeq 23
15: aload 2
iconst_0
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
end local 3 end local 2 16: goto 23
StackMap locals: java.lang.reflect.Field int
StackMap stack: java.lang.ReflectiveOperationException
17: astore 2
start local 2 18: getstatic org.apache.commons.lang3.JavaVersion.JAVA_12:Lorg/apache/commons/lang3/JavaVersion;
invokestatic org.apache.commons.lang3.SystemUtils.isJavaVersionAtLeast:(Lorg/apache/commons/lang3/JavaVersion;)Z
ifeq 23
19: new java.lang.UnsupportedOperationException
dup
20: ldc "In java 12+ final cannot be removed."
21: aload 2
22: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 field Ljava/lang/reflect/Field;
0 24 1 forceAccess Z
3 16 2 modifiersField Ljava/lang/reflect/Field;
6 16 3 doForceAccess Z
18 23 2 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
8 10 10 any
1 16 17 Class java.lang.NoSuchFieldException
1 16 17 Class java.lang.IllegalAccessException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
field final
forceAccess final
public static void writeField(java.lang.Object, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeField:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 target Ljava/lang/Object;
0 2 1 fieldName Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
value final
public static void writeField(java.lang.Object, java.lang.String, java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "target object must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 2: aload 4
aload 1
iload 3
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 5
start local 5 3: aload 5
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Class java.lang.reflect.Field
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "Cannot locate declared field %s.%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
6: aload 5
aload 0
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;Z)V
7: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 target Ljava/lang/Object;
0 8 1 fieldName Ljava/lang/String;
0 8 2 value Ljava/lang/Object;
0 8 3 forceAccess Z
2 8 4 cls Ljava/lang/Class<*>;
3 8 5 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
value final
forceAccess final
public static void writeDeclaredField(java.lang.Object, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeDeclaredField:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 target Ljava/lang/Object;
0 2 1 fieldName Ljava/lang/String;
0 2 2 value Ljava/lang/Object;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
value final
public static void writeDeclaredField(java.lang.Object, java.lang.String, java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;Z)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "target object must not be null"
iconst_0
anewarray java.lang.Object
invokestatic org.apache.commons.lang3.Validate.notNull:(Ljava/lang/Object;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 2: aload 4
aload 1
iload 3
invokestatic org.apache.commons.lang3.reflect.FieldUtils.getDeclaredField:(Ljava/lang/Class;Ljava/lang/String;Z)Ljava/lang/reflect/Field;
astore 5
start local 5 3: aload 5
ifnull 4
iconst_1
goto 5
StackMap locals: java.lang.Class java.lang.reflect.Field
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "Cannot locate declared field %s.%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 1
aastore
invokestatic org.apache.commons.lang3.Validate.isTrue:(ZLjava/lang/String;[Ljava/lang/Object;)V
6: aload 5
aload 0
aload 2
iconst_0
invokestatic org.apache.commons.lang3.reflect.FieldUtils.writeField:(Ljava/lang/reflect/Field;Ljava/lang/Object;Ljava/lang/Object;Z)V
7: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 target Ljava/lang/Object;
0 8 1 fieldName Ljava/lang/String;
0 8 2 value Ljava/lang/Object;
0 8 3 forceAccess Z
2 8 4 cls Ljava/lang/Class<*>;
3 8 5 field Ljava/lang/reflect/Field;
Exceptions:
throws java.lang.IllegalAccessException
MethodParameters:
Name Flags
target final
fieldName final
value final
forceAccess final
}
SourceFile: "FieldUtils.java"