final class com.sun.beans.decoder.PropertyElementHandler extends com.sun.beans.decoder.AccessorElementHandler
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.beans.decoder.PropertyElementHandler
super_class: com.sun.beans.decoder.AccessorElementHandler
{
static final java.lang.String GETTER;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "get"
static final java.lang.String SETTER;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "set"
private java.lang.Integer index;
descriptor: Ljava/lang/Integer;
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.beans.decoder.AccessorElementHandler.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/decoder/PropertyElementHandler;
public void addAttribute(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "index"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aload 2
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
putfield com.sun.beans.decoder.PropertyElementHandler.index:Ljava/lang/Integer;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.sun.beans.decoder.AccessorElementHandler.addAttribute:(Ljava/lang/String;Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/beans/decoder/PropertyElementHandler;
0 5 1 name Ljava/lang/String;
0 5 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
protected boolean isArgument();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/decoder/PropertyElementHandler;
protected java.lang.Object getValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.beans.decoder.PropertyElementHandler.getContextBean:()Ljava/lang/Object;
aload 1
aload 0
getfield com.sun.beans.decoder.PropertyElementHandler.index:Ljava/lang/Integer;
invokestatic com.sun.beans.decoder.PropertyElementHandler.getPropertyValue:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 3: aload 0
invokevirtual com.sun.beans.decoder.PropertyElementHandler.getOwner:()Lcom/sun/beans/decoder/DocumentHandler;
aload 2
invokevirtual com.sun.beans.decoder.DocumentHandler.handleException:(Ljava/lang/Exception;)V
end local 2 4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/beans/decoder/PropertyElementHandler;
0 5 1 name Ljava/lang/String;
3 4 2 exception Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
name
protected void setValue(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.beans.decoder.PropertyElementHandler.getContextBean:()Ljava/lang/Object;
aload 1
aload 0
getfield com.sun.beans.decoder.PropertyElementHandler.index:Ljava/lang/Integer;
aload 2
invokestatic com.sun.beans.decoder.PropertyElementHandler.setPropertyValue:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Object;)V
1: goto 4
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 3: aload 0
invokevirtual com.sun.beans.decoder.PropertyElementHandler.getOwner:()Lcom/sun/beans/decoder/DocumentHandler;
aload 3
invokevirtual com.sun.beans.decoder.DocumentHandler.handleException:(Ljava/lang/Exception;)V
end local 3 4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/beans/decoder/PropertyElementHandler;
0 5 1 name Ljava/lang/String;
0 5 2 value Ljava/lang/Object;
3 4 3 exception Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
name
value
private static java.lang.Object getPropertyValue(java.lang.Object, java.lang.String, java.lang.Integer);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Integer;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 1: aload 2
ifnonnull 3
2: aload 3
aload 1
iconst_0
anewarray java.lang.Class
invokestatic com.sun.beans.decoder.PropertyElementHandler.findGetter:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aload 0
iconst_0
anewarray java.lang.Object
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.Class
StackMap stack:
aload 3
invokevirtual java.lang.Class.isArray:()Z
ifeq 5
aload 1
ifnonnull 5
4: aload 0
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokestatic java.lang.reflect.Array.get:(Ljava/lang/Object;I)Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 3
aload 1
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
invokestatic com.sun.beans.decoder.PropertyElementHandler.findGetter:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aload 0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bean Ljava/lang/Object;
0 6 1 name Ljava/lang/String;
0 6 2 index Ljava/lang/Integer;
1 6 3 type Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException, java.beans.IntrospectionException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
MethodParameters:
Name Flags
bean
name
index
private static void setPropertyValue(java.lang.Object, java.lang.String, java.lang.Integer, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Object;)V
flags: (0x000a) ACC_PRIVATE, 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
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 1: aload 3
ifnull 3
2: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
goto 4
3: StackMap locals: java.lang.Class
StackMap stack:
aconst_null
4: StackMap locals:
StackMap stack: java.lang.Class
astore 5
start local 5 5: aload 2
ifnonnull 8
6: aload 4
aload 1
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 5
aastore
invokestatic com.sun.beans.decoder.PropertyElementHandler.findSetter:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aload 0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
7: goto 12
StackMap locals: java.lang.Class
StackMap stack:
8: aload 4
invokevirtual java.lang.Class.isArray:()Z
ifeq 11
aload 1
ifnonnull 11
9: aload 0
aload 2
invokevirtual java.lang.Integer.intValue:()I
aload 3
invokestatic java.lang.reflect.Array.set:(Ljava/lang/Object;ILjava/lang/Object;)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 4
aload 1
iconst_2
anewarray java.lang.Class
dup
iconst_0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_1
aload 5
aastore
invokestatic com.sun.beans.decoder.PropertyElementHandler.findSetter:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
aload 0
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokestatic sun.reflect.misc.MethodUtil.invoke:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
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 13 0 bean Ljava/lang/Object;
0 13 1 name Ljava/lang/String;
0 13 2 index Ljava/lang/Integer;
0 13 3 value Ljava/lang/Object;
1 13 4 type Ljava/lang/Class<*>;
5 13 5 param Ljava/lang/Class<*>;
Exceptions:
throws java.lang.IllegalAccessException, java.beans.IntrospectionException, java.lang.reflect.InvocationTargetException, java.lang.NoSuchMethodException
MethodParameters:
Name Flags
bean
name
index
value
private static java.lang.reflect.Method findGetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
ldc "get"
aload 2
invokestatic com.sun.beans.finder.MethodFinder.findInstanceMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.sun.beans.decoder.PropertyElementHandler.getProperty:(Ljava/lang/Class;Ljava/lang/String;)Ljava/beans/PropertyDescriptor;
astore 3
start local 3 3: aload 2
arraylength
ifne 7
4: aload 3
invokevirtual java.beans.PropertyDescriptor.getReadMethod:()Ljava/lang/reflect/Method;
astore 4
start local 4 5: aload 4
ifnull 12
6: aload 4
areturn
end local 4 7: StackMap locals: java.beans.PropertyDescriptor
StackMap stack:
aload 3
instanceof java.beans.IndexedPropertyDescriptor
ifeq 12
8: aload 3
checkcast java.beans.IndexedPropertyDescriptor
astore 4
start local 4 9: aload 4
invokevirtual java.beans.IndexedPropertyDescriptor.getIndexedReadMethod:()Ljava/lang/reflect/Method;
astore 5
start local 5 10: aload 5
ifnull 12
11: aload 5
areturn
end local 5 end local 4 12: StackMap locals:
StackMap stack:
new java.beans.IntrospectionException
dup
new java.lang.StringBuilder
dup
ldc "Could not find getter for the "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " property"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.beans.IntrospectionException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 type Ljava/lang/Class<*>;
0 13 1 name Ljava/lang/String;
0 13 2 args [Ljava/lang/Class;
3 13 3 pd Ljava/beans/PropertyDescriptor;
5 7 4 method Ljava/lang/reflect/Method;
9 12 4 ipd Ljava/beans/IndexedPropertyDescriptor;
10 12 5 method Ljava/lang/reflect/Method;
Exceptions:
throws java.beans.IntrospectionException, java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
type
name
args
private static java.lang.reflect.Method findSetter(java.lang.Class<?>, java.lang.String, java.lang.Class<?>[]);
descriptor: (Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
ldc "set"
aload 2
invokestatic com.sun.beans.finder.MethodFinder.findInstanceMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic com.sun.beans.decoder.PropertyElementHandler.getProperty:(Ljava/lang/Class;Ljava/lang/String;)Ljava/beans/PropertyDescriptor;
astore 3
start local 3 3: aload 2
arraylength
iconst_1
if_icmpne 7
4: aload 3
invokevirtual java.beans.PropertyDescriptor.getWriteMethod:()Ljava/lang/reflect/Method;
astore 4
start local 4 5: aload 4
ifnull 12
6: aload 4
areturn
end local 4 7: StackMap locals: java.beans.PropertyDescriptor
StackMap stack:
aload 3
instanceof java.beans.IndexedPropertyDescriptor
ifeq 12
8: aload 3
checkcast java.beans.IndexedPropertyDescriptor
astore 4
start local 4 9: aload 4
invokevirtual java.beans.IndexedPropertyDescriptor.getIndexedWriteMethod:()Ljava/lang/reflect/Method;
astore 5
start local 5 10: aload 5
ifnull 12
11: aload 5
areturn
end local 5 end local 4 12: StackMap locals:
StackMap stack:
new java.beans.IntrospectionException
dup
new java.lang.StringBuilder
dup
ldc "Could not find setter for the "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " property"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.beans.IntrospectionException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 type Ljava/lang/Class<*>;
0 13 1 name Ljava/lang/String;
0 13 2 args [Ljava/lang/Class;
3 13 3 pd Ljava/beans/PropertyDescriptor;
5 7 4 method Ljava/lang/reflect/Method;
9 12 4 ipd Ljava/beans/IndexedPropertyDescriptor;
10 12 5 method Ljava/lang/reflect/Method;
Exceptions:
throws java.beans.IntrospectionException, java.lang.NoSuchMethodException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
type
name
args
private static java.beans.PropertyDescriptor getProperty(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/beans/PropertyDescriptor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.beans.Introspector.getBeanInfo:(Ljava/lang/Class;)Ljava/beans/BeanInfo;
invokeinterface java.beans.BeanInfo.getPropertyDescriptors:()[Ljava/beans/PropertyDescriptor;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.lang.Class java.lang.String top int int java.beans.PropertyDescriptor[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.beans.PropertyDescriptor.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: new java.beans.IntrospectionException
dup
new java.lang.StringBuilder
dup
ldc "Could not find the "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " property descriptor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.beans.IntrospectionException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/Class<*>;
0 7 1 name Ljava/lang/String;
2 4 2 pd Ljava/beans/PropertyDescriptor;
Exceptions:
throws java.beans.IntrospectionException
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/beans/PropertyDescriptor;
MethodParameters:
Name Flags
type
name
}
SourceFile: "PropertyElementHandler.java"