public class org.apache.http.client.utils.CloneUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.http.client.utils.CloneUtils
super_class: java.lang.Object
{
public static <T> T cloneObject();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Cloneable
ifeq 18
3: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 1
start local 1 4: aload 1
ldc "clone"
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 2
start local 2 5: goto 8
end local 2 StackMap locals: java.lang.Object java.lang.Class
StackMap stack: java.lang.NoSuchMethodException
6: astore 3
start local 3 7: new java.lang.NoSuchMethodError
dup
aload 3
invokevirtual java.lang.NoSuchMethodException.getMessage:()Ljava/lang/String;
invokespecial java.lang.NoSuchMethodError.<init>:(Ljava/lang/String;)V
athrow
end local 3 start local 2 8: StackMap locals: java.lang.reflect.Method
StackMap stack:
aload 2
aload 0
aconst_null
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 9: aload 3
10: areturn
end local 3 11: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 3
start local 3 12: aload 3
invokevirtual java.lang.reflect.InvocationTargetException.getCause:()Ljava/lang/Throwable;
astore 4
start local 4 13: aload 4
instanceof java.lang.CloneNotSupportedException
ifeq 15
14: aload 4
checkcast java.lang.CloneNotSupportedException
athrow
15: StackMap locals: java.lang.reflect.InvocationTargetException java.lang.Throwable
StackMap stack:
new java.lang.Error
dup
ldc "Unexpected exception"
aload 4
invokespecial java.lang.Error.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 16: StackMap locals: java.lang.Object java.lang.Class java.lang.reflect.Method
StackMap stack: java.lang.IllegalAccessException
astore 3
start local 3 17: new java.lang.IllegalAccessError
dup
aload 3
invokevirtual java.lang.IllegalAccessException.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalAccessError.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 18: StackMap locals:
StackMap stack:
new java.lang.CloneNotSupportedException
dup
invokespecial java.lang.CloneNotSupportedException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 obj TT;
4 18 1 clazz Ljava/lang/Class<*>;
5 6 2 m Ljava/lang/reflect/Method;
8 18 2 m Ljava/lang/reflect/Method;
7 8 3 ex Ljava/lang/NoSuchMethodException;
9 11 3 result TT;
12 16 3 ex Ljava/lang/reflect/InvocationTargetException;
13 16 4 cause Ljava/lang/Throwable;
17 18 3 ex Ljava/lang/IllegalAccessException;
Exception table:
from to target type
4 5 6 Class java.lang.NoSuchMethodException
8 10 11 Class java.lang.reflect.InvocationTargetException
8 10 16 Class java.lang.IllegalAccessException
Exceptions:
throws java.lang.CloneNotSupportedException
Signature: <T:Ljava/lang/Object;>(TT;)TT;
MethodParameters:
Name Flags
obj final
public static java.lang.Object clone(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.http.client.utils.CloneUtils.cloneObject:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
Exceptions:
throws java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
obj final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/http/client/utils/CloneUtils;
}
SourceFile: "CloneUtils.java"