public final class com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper
super_class: java.lang.Object
{
private static java.lang.reflect.Method loadMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper.loadMethod:Ljava/lang/reflect/Method;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/sun/tools/javac/util/JDK9Wrappers$ServiceLoaderHelper;
public static <S> java.util.ServiceLoader<S> load(com.sun.tools.javac.util.JDK9Wrappers$Layer, java.lang.Class<S>);
descriptor: (Lcom/sun/tools/javac/util/JDK9Wrappers$Layer;Ljava/lang/Class;)Ljava/util/ServiceLoader;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: invokestatic com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper.init:()V
1: getstatic com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper.loadMethod:Ljava/lang/reflect/Method;
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.sun.tools.javac.util.JDK9Wrappers$Layer.theRealLayer:Ljava/lang/Object;
aastore
dup
iconst_1
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: aload 2
checkcast java.util.ServiceLoader
3: areturn
end local 2 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 5: new com.sun.tools.javac.util.Abort
dup
aload 2
invokespecial com.sun.tools.javac.util.Abort.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 layer Lcom/sun/tools/javac/util/JDK9Wrappers$Layer;
0 6 1 service Ljava/lang/Class<TS;>;
2 4 2 result Ljava/lang/Object;
5 6 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.IllegalAccessException
0 3 4 Class java.lang.IllegalArgumentException
0 3 4 Class java.lang.reflect.InvocationTargetException
0 3 4 Class java.lang.SecurityException
Signature: <S:Ljava/lang/Object;>(Lcom/sun/tools/javac/util/JDK9Wrappers$Layer;Ljava/lang/Class<TS;>;)Ljava/util/ServiceLoader<TS;>;
MethodParameters:
Name Flags
layer
service
private static void init();
descriptor: ()V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=1, args_size=0
0: getstatic com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper.loadMethod:Ljava/lang/reflect/Method;
ifnonnull 6
1: getstatic com.sun.tools.javac.util.JDK9Wrappers$Layer.layerClass:Ljava/lang/Class;
astore 0
start local 0 2: ldc Ljava/util/ServiceLoader;
ldc "load"
iconst_2
anewarray java.lang.Class
dup
iconst_0
aload 0
aastore
dup
iconst_1
ldc Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper.loadMethod:Ljava/lang/reflect/Method;
end local 0 3: goto 6
StackMap locals:
StackMap stack: java.lang.Exception
4: astore 0
start local 0 5: new com.sun.tools.javac.util.Abort
dup
aload 0
invokespecial com.sun.tools.javac.util.Abort.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 6: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
2 3 0 layerClass Ljava/lang/Class<*>;
5 6 0 ex Ljava/lang/Exception;
Exception table:
from to target type
1 3 4 Class java.lang.NoSuchMethodException
1 3 4 Class java.lang.SecurityException
}
SourceFile: "JDK9Wrappers.java"
NestHost: com.sun.tools.javac.util.JDK9Wrappers
InnerClasses:
public final Layer = com.sun.tools.javac.util.JDK9Wrappers$Layer of com.sun.tools.javac.util.JDK9Wrappers
public final ServiceLoaderHelper = com.sun.tools.javac.util.JDK9Wrappers$ServiceLoaderHelper of com.sun.tools.javac.util.JDK9Wrappers