class org.junit.jupiter.api.condition.DisabledOnJreCondition extends org.junit.jupiter.api.condition.BooleanExecutionCondition<org.junit.jupiter.api.condition.DisabledOnJre>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.junit.jupiter.api.condition.DisabledOnJreCondition
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/DisabledOnJre;
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;
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/DisabledOnJre.disabledReason()Ljava/lang/String; (9 itf)
(Lorg/junit/jupiter/api/condition/DisabledOnJre;)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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/junit/jupiter/api/condition/DisabledOnJreCondition;
boolean isEnabled(org.junit.jupiter.api.condition.DisabledOnJre);
descriptor: (Lorg/junit/jupiter/api/condition/DisabledOnJre;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.junit.jupiter.api.condition.DisabledOnJre.value:()[Lorg/junit/jupiter/api/condition/JRE;
astore 2
start local 2 1: aload 2
arraylength
ifle 2
iconst_1
goto 3
StackMap locals: org.junit.jupiter.api.condition.JRE[]
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "You must declare at least one JRE in @DisabledOnJre"
invokestatic org.junit.platform.commons.util.Preconditions.condition:(ZLjava/lang/String;)V
4: aload 2
invokestatic java.util.Arrays.stream:([Ljava/lang/Object;)Ljava/util/stream/Stream;
invokedynamic test()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
org/junit/jupiter/api/condition/JRE.isCurrentVersion()Z (5)
(Lorg/junit/jupiter/api/condition/JRE;)Z
invokeinterface java.util.stream.Stream.noneMatch:(Ljava/util/function/Predicate;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/junit/jupiter/api/condition/DisabledOnJreCondition;
0 5 1 annotation Lorg/junit/jupiter/api/condition/DisabledOnJre;
1 5 2 versions [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.DisabledOnJre
invokevirtual org.junit.jupiter.api.condition.DisabledOnJreCondition.isEnabled:(Lorg/junit/jupiter/api/condition/DisabledOnJre;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/junit/jupiter/api/condition/BooleanExecutionCondition<Lorg/junit/jupiter/api/condition/DisabledOnJre;>;
SourceFile: "DisabledOnJreCondition.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles