public class com.sun.tools.javac.platform.PlatformUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.javac.platform.PlatformUtils
super_class: java.lang.Object
{
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/platform/PlatformUtils;
public static com.sun.tools.javac.platform.PlatformDescription lookupPlatformDescription(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/javac/platform/PlatformDescription;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 2
aload 0
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: int
StackMap stack:
2: aload 0
3: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 4: iload 1
iconst_m1
if_icmpeq 5
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 6
StackMap locals: java.lang.String
StackMap stack:
5: ldc ""
6: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 7: ldc Lcom/sun/tools/javac/platform/PlatformProvider;
ldc Lcom/sun/tools/javac/main/Arguments;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
8: astore 4
start local 4 9: aload 4
invokeinterface java.lang.Iterable.spliterator:()Ljava/util/Spliterator;
iconst_0
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
10: aload 2
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/sun/tools/javac/platform/PlatformUtils.lambda$0(Ljava/lang/String;Lcom/sun/tools/javac/platform/PlatformProvider;)Z (6)
(Lcom/sun/tools/javac/platform/PlatformProvider;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
11: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
12: aload 2
aload 3
invokedynamic apply(Ljava/lang/String;Ljava/lang/String;)Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
com/sun/tools/javac/platform/PlatformUtils.lambda$2(Ljava/lang/String;Ljava/lang/String;Lcom/sun/tools/javac/platform/PlatformProvider;)Ljava/util/Optional; (6)
(Lcom/sun/tools/javac/platform/PlatformProvider;)Ljava/util/Optional;
invokevirtual java.util.Optional.flatMap:(Ljava/util/function/Function;)Ljava/util/Optional;
13: aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.javac.platform.PlatformDescription
14: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 platformString Ljava/lang/String;
1 15 1 separator I
4 15 2 platformProviderName Ljava/lang/String;
7 15 3 platformOptions Ljava/lang/String;
9 15 4 providers Ljava/lang/Iterable<Lcom/sun/tools/javac/platform/PlatformProvider;>;
MethodParameters:
Name Flags
platformString
private static boolean lambda$0(java.lang.String, com.sun.tools.javac.platform.PlatformProvider);
descriptor: (Ljava/lang/String;Lcom/sun/tools/javac/platform/PlatformProvider;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 1 0: aload 1
invokeinterface com.sun.tools.javac.platform.PlatformProvider.getSupportedPlatformNames:()Ljava/lang/Iterable;
1: invokeinterface java.lang.Iterable.spliterator:()Ljava/util/Spliterator;
2: iconst_0
3: invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
4: aload 0
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
invokedynamic test(Ljava/lang/String;)Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
java/lang/String.equals(Ljava/lang/Object;)Z (5)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.anyMatch:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 5 1 provider Lcom/sun/tools/javac/platform/PlatformProvider;
private static java.util.Optional lambda$2(java.lang.String, java.lang.String, com.sun.tools.javac.platform.PlatformProvider);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/sun/tools/javac/platform/PlatformProvider;)Ljava/util/Optional;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 2 0: aload 2
aload 0
aload 1
invokeinterface com.sun.tools.javac.platform.PlatformProvider.getPlatform:(Ljava/lang/String;Ljava/lang/String;)Lcom/sun/tools/javac/platform/PlatformDescription;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
1: areturn
2: StackMap locals:
StackMap stack: com.sun.tools.javac.platform.PlatformProvider$PlatformNotSupported
pop
3: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 4 2 provider Lcom/sun/tools/javac/platform/PlatformProvider;
Exception table:
from to target type
0 1 2 Class com.sun.tools.javac.platform.PlatformProvider$PlatformNotSupported
}
SourceFile: "PlatformUtils.java"
InnerClasses:
public PlatformNotSupported = com.sun.tools.javac.platform.PlatformProvider$PlatformNotSupported of com.sun.tools.javac.platform.PlatformProvider
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles