public final class com.google.common.reflect.Reflection
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.reflect.Reflection
super_class: java.lang.Object
{
public static java.lang.String getPackageName(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic com.google.common.reflect.Reflection.getPackageName:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Ljava/lang/String;
MethodParameters:
Name Flags
clazz
public static java.lang.String getPackageName(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 1
start local 1 1: iload 1
ifge 2
ldc ""
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 classFullName Ljava/lang/String;
1 4 1 lastDot I
MethodParameters:
Name Flags
classFullName
public static void initialize(java.lang.Class<?>[]);
descriptor: ([Ljava/lang/Class;)V
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 7
StackMap locals: java.lang.Class[] top int int java.lang.Class[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
iconst_1
aload 1
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
pop
3: goto 6
StackMap locals: java.lang.Class[] java.lang.Class int int java.lang.Class[]
StackMap stack: java.lang.ClassNotFoundException
4: astore 5
start local 5 5: new java.lang.AssertionError
dup
aload 5
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 5 end local 1 6: StackMap locals: java.lang.Class[] top int int java.lang.Class[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
iload 3
if_icmplt 1
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 classes [Ljava/lang/Class;
2 6 1 clazz Ljava/lang/Class<*>;
5 6 5 e Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
2 3 4 Class java.lang.ClassNotFoundException
Signature: ([Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
classes
public static <T> T newProxy(java.lang.Class<T>, java.lang.reflect.InvocationHandler);
descriptor: (Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.lang.Class.isInterface:()Z
ldc "%s is not an interface"
aload 0
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;Ljava/lang/Object;)V
2: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
iconst_1
anewarray java.lang.Class
dup
iconst_0
aload 0
aastore
aload 1
3: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
4: astore 2
start local 2 5: aload 0
aload 2
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 interfaceType Ljava/lang/Class<TT;>;
0 6 1 handler Ljava/lang/reflect/InvocationHandler;
5 6 2 object Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/reflect/InvocationHandler;)TT;
MethodParameters:
Name Flags
interfaceType
handler
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/reflect/Reflection;
}
SourceFile: "Reflection.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()