public final class org.springframework.boot.system.JavaVersion extends java.lang.Enum<org.springframework.boot.system.JavaVersion>
minor version: 0
major version: 59
flags: flags: (0x4031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER, ACC_ANNOTATION
this_class: org.springframework.boot.system.JavaVersion
super_class: java.lang.Enum
{
public static final org.springframework.boot.system.JavaVersion EIGHT;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.boot.system.JavaVersion NINE;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.boot.system.JavaVersion TEN;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.boot.system.JavaVersion ELEVEN;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.boot.system.JavaVersion TWELVE;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.boot.system.JavaVersion THIRTEEN;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
public static final org.springframework.boot.system.JavaVersion FOURTEEN;
descriptor: Lorg/springframework/boot/system/JavaVersion;
flags: (0x4019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL, ACC_ANNOTATION
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean available;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final org.springframework.boot.system.JavaVersion[] ENUM$VALUES;
descriptor: [Lorg/springframework/boot/system/JavaVersion;
flags: (0x101a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=0, args_size=0
0: new org.springframework.boot.system.JavaVersion
dup
ldc "EIGHT"
iconst_0
1: ldc "1.8"
ldc Ljava/util/Optional;
ldc "empty"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.EIGHT:Lorg/springframework/boot/system/JavaVersion;
2: new org.springframework.boot.system.JavaVersion
dup
ldc "NINE"
iconst_1
3: ldc "9"
ldc Ljava/util/Optional;
ldc "stream"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.NINE:Lorg/springframework/boot/system/JavaVersion;
4: new org.springframework.boot.system.JavaVersion
dup
ldc "TEN"
iconst_2
5: ldc "10"
ldc Ljava/util/Optional;
ldc "orElseThrow"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.TEN:Lorg/springframework/boot/system/JavaVersion;
6: new org.springframework.boot.system.JavaVersion
dup
ldc "ELEVEN"
iconst_3
7: ldc "11"
ldc Ljava/lang/String;
ldc "strip"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.ELEVEN:Lorg/springframework/boot/system/JavaVersion;
8: new org.springframework.boot.system.JavaVersion
dup
ldc "TWELVE"
iconst_4
9: ldc "12"
ldc Ljava/lang/String;
ldc "describeConstable"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.TWELVE:Lorg/springframework/boot/system/JavaVersion;
10: new org.springframework.boot.system.JavaVersion
dup
ldc "THIRTEEN"
iconst_5
11: ldc "13"
ldc Ljava/lang/String;
ldc "stripIndent"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.THIRTEEN:Lorg/springframework/boot/system/JavaVersion;
12: new org.springframework.boot.system.JavaVersion
dup
ldc "FOURTEEN"
bipush 6
13: ldc "14"
ldc Ljava/lang/invoke/MethodHandles$Lookup;
ldc "hasFullPrivilegeAccess"
invokespecial org.springframework.boot.system.JavaVersion.<init>:(Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
putstatic org.springframework.boot.system.JavaVersion.FOURTEEN:Lorg/springframework/boot/system/JavaVersion;
14: bipush 7
anewarray org.springframework.boot.system.JavaVersion
dup
iconst_0
getstatic org.springframework.boot.system.JavaVersion.EIGHT:Lorg/springframework/boot/system/JavaVersion;
aastore
dup
iconst_1
getstatic org.springframework.boot.system.JavaVersion.NINE:Lorg/springframework/boot/system/JavaVersion;
aastore
dup
iconst_2
getstatic org.springframework.boot.system.JavaVersion.TEN:Lorg/springframework/boot/system/JavaVersion;
aastore
dup
iconst_3
getstatic org.springframework.boot.system.JavaVersion.ELEVEN:Lorg/springframework/boot/system/JavaVersion;
aastore
dup
iconst_4
getstatic org.springframework.boot.system.JavaVersion.TWELVE:Lorg/springframework/boot/system/JavaVersion;
aastore
dup
iconst_5
getstatic org.springframework.boot.system.JavaVersion.THIRTEEN:Lorg/springframework/boot/system/JavaVersion;
aastore
dup
bipush 6
getstatic org.springframework.boot.system.JavaVersion.FOURTEEN:Lorg/springframework/boot/system/JavaVersion;
aastore
putstatic org.springframework.boot.system.JavaVersion.ENUM$VALUES:[Lorg/springframework/boot/system/JavaVersion;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/String;ILjava/lang/String;Ljava/lang/Class;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=6
start local 0 start local 3 start local 4 start local 5 0: aload 0
aload 1
iload 2
invokespecial java.lang.Enum.<init>:(Ljava/lang/String;I)V
1: aload 0
aload 3
putfield org.springframework.boot.system.JavaVersion.name:Ljava/lang/String;
2: aload 0
aload 4
aload 5
iconst_0
anewarray java.lang.Class
invokestatic org.springframework.util.ClassUtils.hasMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Z
putfield org.springframework.boot.system.JavaVersion.available:Z
3: return
end local 5 end local 4 end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/system/JavaVersion;
0 4 3 name Ljava/lang/String;
0 4 4 clazz Ljava/lang/Class<*>;
0 4 5 methodName Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;Ljava/lang/String;)V
MethodParameters:
Name Flags
$enum$name
$enum$ordinal
name
clazz
methodName
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.boot.system.JavaVersion.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/system/JavaVersion;
public static org.springframework.boot.system.JavaVersion getJavaVersion();
descriptor: ()Lorg/springframework/boot/system/JavaVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=0
0: invokestatic org.springframework.boot.system.JavaVersion.values:()[Lorg/springframework/boot/system/JavaVersion;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
astore 0
start local 0 1: aload 0
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
2: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: java.util.List top java.util.Iterator
StackMap stack:
3: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.boot.system.JavaVersion
astore 1
start local 1 4: aload 1
getfield org.springframework.boot.system.JavaVersion.available:Z
ifeq 6
5: aload 1
areturn
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: getstatic org.springframework.boot.system.JavaVersion.EIGHT:Lorg/springframework/boot/system/JavaVersion;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 8 0 candidates Ljava/util/List<Lorg/springframework/boot/system/JavaVersion;>;
4 6 1 candidate Lorg/springframework/boot/system/JavaVersion;
public boolean isEqualOrNewerThan(org.springframework.boot.system.JavaVersion);
descriptor: (Lorg/springframework/boot/system/JavaVersion;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.system.JavaVersion.compareTo:(Ljava/lang/Enum;)I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/system/JavaVersion;
0 2 1 version Lorg/springframework/boot/system/JavaVersion;
MethodParameters:
Name Flags
version
public boolean isOlderThan(org.springframework.boot.system.JavaVersion);
descriptor: (Lorg/springframework/boot/system/JavaVersion;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.system.JavaVersion.compareTo:(Ljava/lang/Enum;)I
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/system/JavaVersion;
0 2 1 version Lorg/springframework/boot/system/JavaVersion;
MethodParameters:
Name Flags
version
public static org.springframework.boot.system.JavaVersion[] values();
descriptor: ()[Lorg/springframework/boot/system/JavaVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: getstatic org.springframework.boot.system.JavaVersion.ENUM$VALUES:[Lorg/springframework/boot/system/JavaVersion;
dup
astore 0
iconst_0
aload 0
arraylength
dup
istore 1
anewarray org.springframework.boot.system.JavaVersion
dup
astore 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
aload 2
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.springframework.boot.system.JavaVersion valueOf(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/boot/system/JavaVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
0: ldc Lorg/springframework/boot/system/JavaVersion;
aload 0
invokestatic java.lang.Enum.valueOf:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
checkcast org.springframework.boot.system.JavaVersion
areturn
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
}
Signature: Ljava/lang/Enum<Lorg/springframework/boot/system/JavaVersion;>;
SourceFile: "JavaVersion.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles