class org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory implements org.apache.commons.collections.Factory, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5604271422565175555
private final java.lang.Object iPrototype;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private transient java.lang.reflect.Method iCloneMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private void <init>(java.lang.Object, java.lang.reflect.Method);
descriptor: (Ljava/lang/Object;Ljava/lang/reflect/Method;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iPrototype:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iCloneMethod:Ljava/lang/reflect/Method;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
0 4 1 prototype Ljava/lang/Object;
0 4 2 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
prototype
method
private void findCloneMethod();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iPrototype:Ljava/lang/Object;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "clone"
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iCloneMethod:Ljava/lang/reflect/Method;
1: goto 4
StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
2: pop
3: new java.lang.IllegalArgumentException
dup
ldc "PrototypeCloneFactory: The clone method must exist and be public "
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
public java.lang.Object create();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iCloneMethod:Ljava/lang/reflect/Method;
ifnonnull 2
1: aload 0
invokevirtual org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.findCloneMethod:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iCloneMethod:Ljava/lang/reflect/Method;
aload 0
getfield org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory.iPrototype:Ljava/lang/Object;
aconst_null
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
4: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 5: new org.apache.commons.collections.FunctorException
dup
ldc "PrototypeCloneFactory: Clone method must be public"
aload 1
invokespecial org.apache.commons.collections.FunctorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 6: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 1
start local 1 7: new org.apache.commons.collections.FunctorException
dup
ldc "PrototypeCloneFactory: Clone method threw an exception"
aload 1
invokespecial org.apache.commons.collections.FunctorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
5 6 1 ex Ljava/lang/IllegalAccessException;
7 8 1 ex Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
2 3 4 Class java.lang.IllegalAccessException
2 3 6 Class java.lang.reflect.InvocationTargetException
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
invokestatic org.apache.commons.collections.functors.FunctorUtils.checkUnsafeSerialization:(Ljava/lang/Class;)V
1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
0 3 1 os Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
os
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
invokestatic org.apache.commons.collections.functors.FunctorUtils.checkUnsafeSerialization:(Ljava/lang/Class;)V
1: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections/functors/PrototypeFactory$PrototypeCloneFactory;
0 3 1 is Ljava/io/ObjectInputStream;
Exceptions:
throws java.lang.ClassNotFoundException, java.io.IOException
MethodParameters:
Name Flags
is
}
SourceFile: "PrototypeFactory.java"
NestHost: org.apache.commons.collections.functors.PrototypeFactory
InnerClasses:
PrototypeCloneFactory = org.apache.commons.collections.functors.PrototypeFactory$PrototypeCloneFactory of org.apache.commons.collections.functors.PrototypeFactory