class com.sun.beans.finder.InstanceFinder<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.beans.finder.InstanceFinder
super_class: java.lang.Object
{
private static final java.lang.String[] EMPTY;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.Class<? extends T> type;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<+TT;>;
private final boolean allow;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String suffix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile java.lang.String[] packages;
descriptor: [Ljava/lang/String;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.lang.String
putstatic com.sun.beans.finder.InstanceFinder.EMPTY:[Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Class<? extends T>, boolean, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Class;ZLjava/lang/String;[Ljava/lang/String;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.beans.finder.InstanceFinder.type:Ljava/lang/Class;
2: aload 0
iload 2
putfield com.sun.beans.finder.InstanceFinder.allow:Z
3: aload 0
aload 3
putfield com.sun.beans.finder.InstanceFinder.suffix:Ljava/lang/String;
4: aload 0
aload 4
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
putfield com.sun.beans.finder.InstanceFinder.packages:[Ljava/lang/String;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/beans/finder/InstanceFinder<TT;>;
0 6 1 type Ljava/lang/Class<+TT;>;
0 6 2 allow Z
0 6 3 suffix Ljava/lang/String;
0 6 4 packages [Ljava/lang/String;
Signature: (Ljava/lang/Class<+TT;>;ZLjava/lang/String;[Ljava/lang/String;)V
MethodParameters:
Name Flags
type
allow
suffix
packages
public java.lang.String[] getPackages();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.beans.finder.InstanceFinder.packages:[Ljava/lang/String;
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/finder/InstanceFinder<TT;>;
public void setPackages(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnull 2
aload 1
arraylength
ifle 2
1: aload 1
invokevirtual java.lang.String[].clone:()Ljava/lang/Object;
checkcast java.lang.String[]
goto 3
2: StackMap locals:
StackMap stack: com.sun.beans.finder.InstanceFinder
getstatic com.sun.beans.finder.InstanceFinder.EMPTY:[Ljava/lang/String;
3: StackMap locals: com.sun.beans.finder.InstanceFinder java.lang.String[]
StackMap stack: com.sun.beans.finder.InstanceFinder java.lang.String[]
putfield com.sun.beans.finder.InstanceFinder.packages:[Ljava/lang/String;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/beans/finder/InstanceFinder<TT;>;
0 5 1 packages [Ljava/lang/String;
MethodParameters:
Name Flags
packages
public T find(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.beans.finder.InstanceFinder.suffix:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 3: aload 0
aload 1
aload 2
invokevirtual com.sun.beans.finder.InstanceFinder.instantiate:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
areturn
6: StackMap locals: java.lang.String java.lang.Object
StackMap stack:
aload 0
getfield com.sun.beans.finder.InstanceFinder.allow:Z
ifeq 10
7: aload 0
aload 1
aconst_null
invokevirtual com.sun.beans.finder.InstanceFinder.instantiate:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
astore 3
8: aload 3
ifnull 10
9: aload 3
areturn
10: StackMap locals:
StackMap stack:
aload 2
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
istore 4
start local 4 11: iload 4
ifle 13
12: aload 2
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 2
13: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.beans.finder.InstanceFinder.packages:[Ljava/lang/String;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 19
StackMap locals: com.sun.beans.finder.InstanceFinder java.lang.Class java.lang.String java.lang.Object int top int int java.lang.String[]
StackMap stack:
14: aload 8
iload 6
aaload
astore 5
start local 5 15: aload 0
aload 1
aload 5
aload 2
invokevirtual com.sun.beans.finder.InstanceFinder.instantiate:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
astore 3
16: aload 3
ifnull 18
17: aload 3
areturn
end local 5 18: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
iload 7
if_icmplt 14
20: aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/beans/finder/InstanceFinder<TT;>;
0 21 1 type Ljava/lang/Class<*>;
3 21 2 name Ljava/lang/String;
4 21 3 object TT;
11 21 4 index I
15 18 5 prefix Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;)TT;
MethodParameters:
Name Flags
type
protected T instantiate(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 7
1: aload 2
ifnull 3
2: aload 2
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic com.sun.beans.finder.ClassFinder.findClass:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
astore 1
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.beans.finder.InstanceFinder.type:Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 7
4: aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/beans/finder/InstanceFinder<TT;>;
0 8 1 type Ljava/lang/Class<*>;
0 8 2 name Ljava/lang/String;
Exception table:
from to target type
1 5 6 Class java.lang.Exception
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
type
name
protected T instantiate(java.lang.Class<?>, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
new java.lang.StringBuilder
dup
aload 2
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.beans.finder.InstanceFinder.instantiate:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/beans/finder/InstanceFinder<TT;>;
0 1 1 type Ljava/lang/Class<*>;
0 1 2 prefix Ljava/lang/String;
0 1 3 name Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
type
prefix
name
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "InstanceFinder.java"