class com.sun.beans.decoder.NewElementHandler extends com.sun.beans.decoder.ElementHandler
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.beans.decoder.NewElementHandler
super_class: com.sun.beans.decoder.ElementHandler
{
private java.util.List<java.lang.Object> arguments;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/Object;>;
private com.sun.beans.decoder.ValueObject value;
descriptor: Lcom/sun/beans/decoder/ValueObject;
flags: (0x0002) ACC_PRIVATE
private java.lang.Class<?> type;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<*>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.beans.decoder.ElementHandler.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
2: aload 0
getstatic com.sun.beans.decoder.ValueObjectImpl.VOID:Lcom/sun/beans/decoder/ValueObject;
putfield com.sun.beans.decoder.NewElementHandler.value:Lcom/sun/beans/decoder/ValueObject;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/beans/decoder/NewElementHandler;
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 "class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
aload 0
invokevirtual com.sun.beans.decoder.NewElementHandler.getOwner:()Lcom/sun/beans/decoder/DocumentHandler;
aload 2
invokevirtual com.sun.beans.decoder.DocumentHandler.findClass:(Ljava/lang/String;)Ljava/lang/Class;
putfield com.sun.beans.decoder.NewElementHandler.type:Ljava/lang/Class;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokespecial com.sun.beans.decoder.ElementHandler.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/NewElementHandler;
0 5 1 name Ljava/lang/String;
0 5 2 value Ljava/lang/String;
MethodParameters:
Name Flags
name
value
protected final void addArgument(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "Could not add argument to evaluated element"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/beans/decoder/NewElementHandler;
0 4 1 argument Ljava/lang/Object;
MethodParameters:
Name Flags
argument
protected final java.lang.Object getContextBean();
descriptor: ()Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.beans.decoder.NewElementHandler.type:Ljava/lang/Class;
ifnull 2
1: aload 0
getfield com.sun.beans.decoder.NewElementHandler.type:Ljava/lang/Class;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokespecial com.sun.beans.decoder.ElementHandler.getContextBean:()Ljava/lang/Object;
3: StackMap locals:
StackMap stack: java.lang.Object
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/beans/decoder/NewElementHandler;
protected final com.sun.beans.decoder.ValueObject getValueObject();
descriptor: ()Lcom/sun/beans/decoder/ValueObject;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
ifnull 10
1: aload 0
aload 0
aload 0
getfield com.sun.beans.decoder.NewElementHandler.type:Ljava/lang/Class;
aload 0
getfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
invokeinterface java.util.List.toArray:()[Ljava/lang/Object;
invokevirtual com.sun.beans.decoder.NewElementHandler.getValueObject:(Ljava/lang/Class;[Ljava/lang/Object;)Lcom/sun/beans/decoder/ValueObject;
putfield com.sun.beans.decoder.NewElementHandler.value:Lcom/sun/beans/decoder/ValueObject;
2: goto 9
3: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 4: aload 0
invokevirtual com.sun.beans.decoder.NewElementHandler.getOwner:()Lcom/sun/beans/decoder/DocumentHandler;
aload 1
invokevirtual com.sun.beans.decoder.DocumentHandler.handleException:(Ljava/lang/Exception;)V
end local 1 5: aload 0
aconst_null
putfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
goto 10
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
7: aload 0
aconst_null
putfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
8: aload 2
athrow
9: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.beans.decoder.NewElementHandler.arguments:Ljava/util/List;
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.beans.decoder.NewElementHandler.value:Lcom/sun/beans/decoder/ValueObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/beans/decoder/NewElementHandler;
4 5 1 exception Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
1 5 6 any
com.sun.beans.decoder.ValueObject getValueObject(java.lang.Class<?>, []);
descriptor: (Ljava/lang/Class;[Ljava/lang/Object;)Lcom/sun/beans/decoder/ValueObject;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Class name is not set"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.beans.decoder.NewElementHandler.getArgumentTypes:([Ljava/lang/Object;)[Ljava/lang/Class;
astore 3
start local 3 3: aload 1
aload 3
invokestatic com.sun.beans.finder.ConstructorFinder.findConstructor:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 4
start local 4 4: aload 4
invokevirtual java.lang.reflect.Constructor.isVarArgs:()Z
ifeq 6
5: aload 2
aload 4
invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
invokestatic com.sun.beans.decoder.NewElementHandler.getArguments:([Ljava/lang/Object;[Ljava/lang/Class;)[Ljava/lang/Object;
astore 2
6: StackMap locals: java.lang.Class[] java.lang.reflect.Constructor
StackMap stack:
aload 4
aload 2
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
invokestatic com.sun.beans.decoder.ValueObjectImpl.create:(Ljava/lang/Object;)Lcom/sun/beans/decoder/ValueObject;
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 this Lcom/sun/beans/decoder/NewElementHandler;
0 7 1 type Ljava/lang/Class<*>;
0 7 2 args [Ljava/lang/Object;
3 7 3 types [Ljava/lang/Class;
4 7 4 constructor Ljava/lang/reflect/Constructor<*>;
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/Class<*>;[Ljava/lang/Object;)Lcom/sun/beans/decoder/ValueObject;
MethodParameters:
Name Flags
type
args
static java.lang.Class<?>[] getArgumentTypes([]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Class;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray java.lang.Class
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 6
3: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 0
iload 2
aaload
ifnull 5
4: aload 1
iload 2
aload 0
iload 2
aaload
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aastore
5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
arraylength
if_icmplt 3
end local 2 7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 arguments [Ljava/lang/Object;
1 8 1 types [Ljava/lang/Class;
2 7 2 i I
Signature: ([Ljava/lang/Object;)[Ljava/lang/Class<*>;
MethodParameters:
Name Flags
arguments
static [] getArguments([], java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Class;)[Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_1
isub
istore 2
start local 2 1: aload 1
arraylength
aload 0
arraylength
if_icmpne 8
2: aload 0
iload 2
aaload
astore 3
start local 3 3: aload 3
ifnonnull 5
4: aload 0
areturn
5: StackMap locals: int java.lang.Object
StackMap stack:
aload 1
iload 2
aaload
astore 4
start local 4 6: aload 4
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
7: aload 0
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 2
isub
istore 3
start local 3 9: aload 1
iload 2
aaload
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
astore 4
start local 4 10: aload 4
iload 3
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
astore 5
start local 5 11: aload 0
iload 2
aload 5
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
12: aload 1
arraylength
anewarray java.lang.Object
astore 6
start local 6 13: aload 0
iconst_0
aload 6
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: aload 6
iload 2
aload 5
aastore
15: aload 6
areturn
end local 6 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 16 0 arguments [Ljava/lang/Object;
0 16 1 types [Ljava/lang/Class;
1 16 2 index I
3 8 3 argument Ljava/lang/Object;
6 8 4 type Ljava/lang/Class<*>;
9 16 3 length I
10 16 4 type Ljava/lang/Class<*>;
11 16 5 array Ljava/lang/Object;
13 16 6 args [Ljava/lang/Object;
Signature: ([Ljava/lang/Object;[Ljava/lang/Class<*>;)[Ljava/lang/Object;
MethodParameters:
Name Flags
arguments
types
}
SourceFile: "NewElementHandler.java"