class org.junit.jupiter.api.condition.EnabledForJreRangeCondition extends org.junit.jupiter.api.condition.BooleanExecutionCondition<org.junit.jupiter.api.condition.EnabledForJreRange>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.junit.jupiter.api.condition.EnabledForJreRangeCondition
super_class: org.junit.jupiter.api.condition.BooleanExecutionCondition
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ldc Lorg/junit/jupiter/api/condition/EnabledForJreRange;
getstatic org.junit.jupiter.api.condition.EnabledOnJreCondition.ENABLED_ON_CURRENT_JRE:Ljava/lang/String;
getstatic org.junit.jupiter.api.condition.EnabledOnJreCondition.DISABLED_ON_CURRENT_JRE:Ljava/lang/String;
1: invokedynamic apply()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;
org/junit/jupiter/api/condition/EnabledForJreRange.disabledReason()Ljava/lang/String; (9 itf)
(Lorg/junit/jupiter/api/condition/EnabledForJreRange;)Ljava/lang/String;
invokespecial org.junit.jupiter.api.condition.BooleanExecutionCondition.<init>:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;Ljava/util/function/Function;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/junit/jupiter/api/condition/EnabledForJreRangeCondition;
boolean isEnabled(org.junit.jupiter.api.condition.EnabledForJreRange);
descriptor: (Lorg/junit/jupiter/api/condition/EnabledForJreRange;)Z
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.junit.jupiter.api.condition.EnabledForJreRange.min:()Lorg/junit/jupiter/api/condition/JRE;
astore 2
start local 2 1: aload 1
invokeinterface org.junit.jupiter.api.condition.EnabledForJreRange.max:()Lorg/junit/jupiter/api/condition/JRE;
astore 3
start local 3 2: aload 2
getstatic org.junit.jupiter.api.condition.JRE.JAVA_8:Lorg/junit/jupiter/api/condition/JRE;
if_acmpne 3
aload 3
getstatic org.junit.jupiter.api.condition.JRE.OTHER:Lorg/junit/jupiter/api/condition/JRE;
if_acmpne 3
iconst_0
goto 4
StackMap locals: org.junit.jupiter.api.condition.JRE org.junit.jupiter.api.condition.JRE
StackMap stack:
3: iconst_1
4: StackMap locals:
StackMap stack: int
ldc "You must declare a non-default value for min or max in @EnabledForJreRange"
5: invokestatic org.junit.platform.commons.util.Preconditions.condition:(ZLjava/lang/String;)V
6: aload 3
aload 2
invokevirtual org.junit.jupiter.api.condition.JRE.compareTo:(Ljava/lang/Enum;)I
iflt 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
8: StackMap locals:
StackMap stack: int
ldc "@EnabledForJreRange.min must be less than or equal to @EnabledForJreRange.max"
9: invokestatic org.junit.platform.commons.util.Preconditions.condition:(ZLjava/lang/String;)V
10: aload 2
aload 3
invokestatic org.junit.jupiter.api.condition.JRE.isCurrentVersionWithinRange:(Lorg/junit/jupiter/api/condition/JRE;Lorg/junit/jupiter/api/condition/JRE;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/junit/jupiter/api/condition/EnabledForJreRangeCondition;
0 11 1 annotation Lorg/junit/jupiter/api/condition/EnabledForJreRange;
1 11 2 min Lorg/junit/jupiter/api/condition/JRE;
2 11 3 max Lorg/junit/jupiter/api/condition/JRE;
MethodParameters:
Name Flags
annotation
boolean isEnabled(java.lang.annotation.Annotation);
descriptor: (Ljava/lang/annotation/Annotation;)Z
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.junit.jupiter.api.condition.EnabledForJreRange
invokevirtual org.junit.jupiter.api.condition.EnabledForJreRangeCondition.isEnabled:(Lorg/junit/jupiter/api/condition/EnabledForJreRange;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/junit/jupiter/api/condition/BooleanExecutionCondition<Lorg/junit/jupiter/api/condition/EnabledForJreRange;>;
SourceFile: "EnabledForJreRangeCondition.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles