abstract class org.junit.jupiter.api.condition.MethodBasedCondition<A extends java.lang.annotation.Annotation> implements org.junit.jupiter.api.extension.ExecutionCondition
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.junit.jupiter.api.condition.MethodBasedCondition
super_class: java.lang.Object
{
private final java.lang.Class<A> annotationType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TA;>;
private final java.util.function.Function<A, java.lang.String> methodName;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TA;Ljava/lang/String;>;
private final java.util.function.Function<A, java.lang.String> customDisabledReason;
descriptor: Ljava/util/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/function/Function<TA;Ljava/lang/String;>;
void <init>(java.lang.Class<A>, java.util.function.Function<A, java.lang.String>, java.util.function.Function<A, java.lang.String>);
descriptor: (Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/Function;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.junit.jupiter.api.condition.MethodBasedCondition.annotationType:Ljava/lang/Class;
2: aload 0
aload 2
putfield org.junit.jupiter.api.condition.MethodBasedCondition.methodName:Ljava/util/function/Function;
3: aload 0
aload 3
putfield org.junit.jupiter.api.condition.MethodBasedCondition.customDisabledReason:Ljava/util/function/Function;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 5 1 annotationType Ljava/lang/Class<TA;>;
0 5 2 methodName Ljava/util/function/Function<TA;Ljava/lang/String;>;
0 5 3 customDisabledReason Ljava/util/function/Function<TA;Ljava/lang/String;>;
Signature: (Ljava/lang/Class<TA;>;Ljava/util/function/Function<TA;Ljava/lang/String;>;Ljava/util/function/Function<TA;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
annotationType
methodName
customDisabledReason
public org.junit.jupiter.api.extension.ConditionEvaluationResult evaluateExecutionCondition(org.junit.jupiter.api.extension.ExtensionContext);
descriptor: (Lorg/junit/jupiter/api/extension/ExtensionContext;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.junit.jupiter.api.extension.ExtensionContext.getElement:()Ljava/util/Optional;
aload 0
getfield org.junit.jupiter.api.condition.MethodBasedCondition.annotationType:Ljava/lang/Class;
invokestatic org.junit.platform.commons.util.AnnotationUtils.findAnnotation:(Ljava/util/Optional;Ljava/lang/Class;)Ljava/util/Optional;
astore 2
start local 2 1: aload 2
2: aload 0
getfield org.junit.jupiter.api.condition.MethodBasedCondition.methodName:Ljava/util/function/Function;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
3: aload 0
aload 1
invokedynamic apply(Lorg/junit/jupiter/api/condition/MethodBasedCondition;Lorg/junit/jupiter/api/extension/ExtensionContext;)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/MethodBasedCondition.lambda$0(Lorg/junit/jupiter/api/extension/ExtensionContext;Ljava/lang/String;)Ljava/lang/reflect/Method; (7)
(Ljava/lang/String;)Ljava/lang/reflect/Method;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
4: aload 0
aload 1
invokedynamic apply(Lorg/junit/jupiter/api/condition/MethodBasedCondition;Lorg/junit/jupiter/api/extension/ExtensionContext;)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/MethodBasedCondition.lambda$1(Lorg/junit/jupiter/api/extension/ExtensionContext;Ljava/lang/reflect/Method;)Ljava/lang/Boolean; (7)
(Ljava/lang/reflect/Method;)Ljava/lang/Boolean;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
5: aload 0
aload 2
invokedynamic apply(Lorg/junit/jupiter/api/condition/MethodBasedCondition;Ljava/util/Optional;)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/MethodBasedCondition.lambda$2(Ljava/util/Optional;Ljava/lang/Boolean;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult; (7)
(Ljava/lang/Boolean;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
invokevirtual java.util.Optional.map:(Ljava/util/function/Function;)Ljava/util/Optional;
6: aload 0
invokedynamic get(Lorg/junit/jupiter/api/condition/MethodBasedCondition;)Ljava/util/function/Supplier;
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;
org/junit/jupiter/api/condition/MethodBasedCondition.enabledByDefault()Lorg/junit/jupiter/api/extension/ConditionEvaluationResult; (7)
()Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast org.junit.jupiter.api.extension.ConditionEvaluationResult
7: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 8 1 context Lorg/junit/jupiter/api/extension/ExtensionContext;
1 8 2 annotation Ljava/util/Optional<TA;>;
MethodParameters:
Name Flags
context
private java.lang.reflect.Method getConditionMethod(java.lang.String, org.junit.jupiter.api.extension.ExtensionContext);
descriptor: (Ljava/lang/String;Lorg/junit/jupiter/api/extension/ExtensionContext;)Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "#"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 2
1: aload 0
aload 2
invokeinterface org.junit.jupiter.api.extension.ExtensionContext.getRequiredTestClass:()Ljava/lang/Class;
aload 1
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.findMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic org.junit.platform.commons.util.ReflectionUtils.parseFullyQualifiedMethodName:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 3: aload 3
iconst_0
aaload
astore 4
start local 4 4: aload 3
iconst_1
aaload
astore 5
start local 5 5: aload 4
invokestatic org.junit.platform.commons.util.ReflectionUtils.tryToLoadClass:(Ljava/lang/String;)Lorg/junit/platform/commons/function/Try;
6: aload 4
invokedynamic apply(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;
org/junit/jupiter/api/condition/MethodBasedCondition.lambda$4(Ljava/lang/String;Ljava/lang/Exception;)Lorg/junit/platform/commons/JUnitException; (6)
(Ljava/lang/Exception;)Lorg/junit/platform/commons/JUnitException;
7: invokevirtual org.junit.platform.commons.function.Try.getOrThrow:(Ljava/util/function/Function;)Ljava/lang/Object;
checkcast java.lang.Class
astore 6
start local 6 8: aload 0
aload 6
aload 5
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.findMethod:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 9 1 fullyQualifiedMethodName Ljava/lang/String;
0 9 2 context Lorg/junit/jupiter/api/extension/ExtensionContext;
3 9 3 methodParts [Ljava/lang/String;
4 9 4 className Ljava/lang/String;
5 9 5 methodName Ljava/lang/String;
8 9 6 clazz Ljava/lang/Class<*>;
MethodParameters:
Name Flags
fullyQualifiedMethodName
context
private java.lang.reflect.Method findMethod(java.lang.Class<?>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
iconst_0
anewarray java.lang.Class
invokestatic org.junit.platform.commons.util.ReflectionUtils.findMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/util/Optional;
1: aload 1
aload 2
invokedynamic get(Ljava/lang/Class;Ljava/lang/String;)Ljava/util/function/Supplier;
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;
org/junit/jupiter/api/condition/MethodBasedCondition.lambda$5(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method; (6)
()Ljava/lang/reflect/Method;
invokevirtual java.util.Optional.orElseGet:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.reflect.Method
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 3 1 clazz Ljava/lang/Class<*>;
0 3 2 methodName Ljava/lang/String;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;)Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
clazz
methodName
private boolean invokeConditionMethod(java.lang.reflect.Method, org.junit.jupiter.api.extension.ExtensionContext);
descriptor: (Ljava/lang/reflect/Method;Lorg/junit/jupiter/api/extension/ExtensionContext;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.reflect.Method.getReturnType:()Ljava/lang/Class;
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
2: StackMap locals:
StackMap stack: int
aload 1
invokedynamic get(Ljava/lang/reflect/Method;)Ljava/util/function/Supplier;
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;
org/junit/jupiter/api/condition/MethodBasedCondition.lambda$6(Ljava/lang/reflect/Method;)Ljava/lang/String; (6)
()Ljava/lang/String;
3: invokestatic org.junit.platform.commons.util.Preconditions.condition:(ZLjava/util/function/Supplier;)V
4: aload 0
aload 1
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.acceptsExtensionContextArgument:(Ljava/lang/reflect/Method;)Z
5: aload 1
invokedynamic get(Ljava/lang/reflect/Method;)Ljava/util/function/Supplier;
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;
org/junit/jupiter/api/condition/MethodBasedCondition.lambda$7(Ljava/lang/reflect/Method;)Ljava/lang/String; (6)
()Ljava/lang/String;
6: invokestatic org.junit.platform.commons.util.Preconditions.condition:(ZLjava/util/function/Supplier;)V
7: aload 2
invokeinterface org.junit.jupiter.api.extension.ExtensionContext.getTestInstance:()Ljava/util/Optional;
aconst_null
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 8: aload 1
invokevirtual java.lang.reflect.Method.getParameterCount:()I
ifne 10
9: aload 1
aload 3
iconst_0
anewarray java.lang.Object
invokestatic org.junit.platform.commons.util.ReflectionUtils.invokeMethod:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
ireturn
10: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 3
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic org.junit.platform.commons.util.ReflectionUtils.invokeMethod:(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()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/MethodBasedCondition<TA;>;
0 11 1 method Ljava/lang/reflect/Method;
0 11 2 context Lorg/junit/jupiter/api/extension/ExtensionContext;
8 11 3 testInstance Ljava/lang/Object;
MethodParameters:
Name Flags
method
context
private boolean acceptsExtensionContextArgument(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.reflect.Method.getParameterCount:()I
tableswitch { // 0 - 1
0: 1
1: 2
default: 4
}
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.reflect.Method.getParameterTypes:()[Ljava/lang/Class;
iconst_0
aaload
ldc Lorg/junit/jupiter/api/extension/ExtensionContext;
if_acmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 5 1 method Ljava/lang/reflect/Method;
MethodParameters:
Name Flags
method
private org.junit.jupiter.api.extension.ConditionEvaluationResult buildConditionEvaluationResult(boolean, A);
descriptor: (ZLjava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc "Condition provided in @%s evaluates to %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.junit.jupiter.api.condition.MethodBasedCondition.annotationType:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
1: iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
2: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 3
start local 3 3: aload 0
iload 1
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.isEnabled:(Z)Z
ifeq 5
4: aload 3
invokestatic org.junit.jupiter.api.extension.ConditionEvaluationResult.enabled:(Ljava/lang/String;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
areturn
5: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.junit.jupiter.api.condition.MethodBasedCondition.customDisabledReason:Ljava/util/function/Function;
aload 2
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 6: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 8
7: aload 3
invokestatic org.junit.jupiter.api.extension.ConditionEvaluationResult.disabled:(Ljava/lang/String;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
areturn
8: StackMap locals: java.lang.String
StackMap stack:
aload 4
invokestatic org.junit.jupiter.api.extension.ConditionEvaluationResult.disabled:(Ljava/lang/String;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 9 1 methodResult Z
0 9 2 annotation TA;
3 9 3 defaultReason Ljava/lang/String;
6 9 4 customReason Ljava/lang/String;
Signature: (ZTA;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
MethodParameters:
Name Flags
methodResult
annotation
protected abstract boolean isEnabled(boolean);
descriptor: (Z)Z
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
methodResult
private org.junit.jupiter.api.extension.ConditionEvaluationResult enabledByDefault();
descriptor: ()Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "@%s is not present"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.junit.jupiter.api.condition.MethodBasedCondition.annotationType:Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic org.junit.jupiter.api.extension.ConditionEvaluationResult.enabled:(Ljava/lang/String;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
private java.lang.reflect.Method lambda$0(org.junit.jupiter.api.extension.ExtensionContext, java.lang.String);
descriptor: (Lorg/junit/jupiter/api/extension/ExtensionContext;Ljava/lang/String;)Ljava/lang/reflect/Method;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
aload 1
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.getConditionMethod:(Ljava/lang/String;Lorg/junit/jupiter/api/extension/ExtensionContext;)Ljava/lang/reflect/Method;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 1 2 methodName Ljava/lang/String;
private java.lang.Boolean lambda$1(org.junit.jupiter.api.extension.ExtensionContext, java.lang.reflect.Method);
descriptor: (Lorg/junit/jupiter/api/extension/ExtensionContext;Ljava/lang/reflect/Method;)Ljava/lang/Boolean;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
aload 1
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.invokeConditionMethod:(Ljava/lang/reflect/Method;Lorg/junit/jupiter/api/extension/ExtensionContext;)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 1 2 method Ljava/lang/reflect/Method;
private org.junit.jupiter.api.extension.ConditionEvaluationResult lambda$2(java.util.Optional, java.lang.Boolean);
descriptor: (Ljava/util/Optional;Ljava/lang/Boolean;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
invokevirtual java.lang.Boolean.booleanValue:()Z
aload 1
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.annotation.Annotation
invokevirtual org.junit.jupiter.api.condition.MethodBasedCondition.buildConditionEvaluationResult:(ZLjava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
areturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/junit/jupiter/api/condition/MethodBasedCondition<TA;>;
0 1 2 methodResult Ljava/lang/Boolean;
private static org.junit.platform.commons.JUnitException lambda$4(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)Lorg/junit/platform/commons/JUnitException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=7, locals=2, args_size=2
start local 1 0: new org.junit.platform.commons.JUnitException
dup
ldc "Could not load class [%s]"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 1
invokespecial org.junit.platform.commons.JUnitException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 1 LocalVariableTable:
Start End Slot Name Signature
0 1 1 cause Ljava/lang/Exception;
private static java.lang.reflect.Method lambda$5(java.lang.Class, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=2
0: aload 0
aload 1
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Lorg/junit/jupiter/api/extension/ExtensionContext;
aastore
invokestatic org.junit.platform.commons.util.ReflectionUtils.getRequiredMethod:(Ljava/lang/Class;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$6(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: ldc "Method [%s] should return a boolean"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String lambda$7(java.lang.reflect.Method);
descriptor: (Ljava/lang/reflect/Method;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=1, args_size=1
0: ldc "Method [%s] should accept either an ExtensionContext or no arguments"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.lang.reflect.Method.getName:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <A::Ljava/lang/annotation/Annotation;>Ljava/lang/Object;Lorg/junit/jupiter/api/extension/ExecutionCondition;
SourceFile: "MethodBasedCondition.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles