abstract class org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition<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.AbstractRepeatableAnnotationCondition
super_class: java.lang.Object
{
private final org.junit.platform.commons.logging.Logger logger;
descriptor: Lorg/junit/platform/commons/logging/Logger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<A> annotationType;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TA;>;
void <init>(java.lang.Class<A>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.junit.platform.commons.logging.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/junit/platform/commons/logging/Logger;
putfield org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.logger:Lorg/junit/platform/commons/logging/Logger;
2: aload 0
aload 1
putfield org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.annotationType:Ljava/lang/Class;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/junit/jupiter/api/condition/AbstractRepeatableAnnotationCondition<TA;>;
0 4 1 annotationType Ljava/lang/Class<TA;>;
Signature: (Ljava/lang/Class<TA;>;)V
MethodParameters:
Name Flags
annotationType
public final 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: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.junit.jupiter.api.extension.ExtensionContext.getElement:()Ljava/util/Optional;
astore 2
start local 2 1: aload 2
invokevirtual java.util.Optional.isPresent:()Z
ifeq 9
2: aload 2
invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast java.lang.reflect.AnnotatedElement
astore 3
start local 3 3: aload 3
aload 0
getfield org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.annotationType:Ljava/lang/Class;
invokestatic org.junit.platform.commons.util.AnnotationUtils.findRepeatableAnnotations:(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/Class;)Ljava/util/List;
invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
4: aload 0
aload 3
invokedynamic apply(Lorg/junit/jupiter/api/condition/AbstractRepeatableAnnotationCondition;Ljava/lang/reflect/AnnotatedElement;)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/AbstractRepeatableAnnotationCondition.lambda$0(Ljava/lang/reflect/AnnotatedElement;Ljava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult; (7)
(Ljava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
5: 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/extension/ConditionEvaluationResult.isDisabled()Z (5)
(Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokeinterface java.util.stream.Stream.findFirst:()Ljava/util/Optional;
7: aload 0
invokevirtual org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.getNoDisabledConditionsEncounteredResult:()Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
invokevirtual java.util.Optional.orElse:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.junit.jupiter.api.extension.ConditionEvaluationResult
8: areturn
end local 3 9: StackMap locals: java.util.Optional
StackMap stack:
aload 0
invokevirtual org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.getNoDisabledConditionsEncounteredResult:()Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/junit/jupiter/api/condition/AbstractRepeatableAnnotationCondition<TA;>;
0 10 1 context Lorg/junit/jupiter/api/extension/ExtensionContext;
1 10 2 optionalElement Ljava/util/Optional<Ljava/lang/reflect/AnnotatedElement;>;
3 9 3 annotatedElement Ljava/lang/reflect/AnnotatedElement;
MethodParameters:
Name Flags
context
protected abstract org.junit.jupiter.api.extension.ConditionEvaluationResult evaluate(A);
descriptor: (Ljava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: (TA;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
MethodParameters:
Name Flags
annotation
protected abstract org.junit.jupiter.api.extension.ConditionEvaluationResult getNoDisabledConditionsEncounteredResult();
descriptor: ()Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
private void logResult(A, java.lang.reflect.AnnotatedElement, org.junit.jupiter.api.extension.ConditionEvaluationResult);
descriptor: (Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.logger:Lorg/junit/platform/commons/logging/Logger;
aload 1
aload 2
aload 3
invokedynamic get(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)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/AbstractRepeatableAnnotationCondition.lambda$2(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)Ljava/lang/String; (6)
()Ljava/lang/String;
invokeinterface org.junit.platform.commons.logging.Logger.trace:(Ljava/util/function/Supplier;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/junit/jupiter/api/condition/AbstractRepeatableAnnotationCondition<TA;>;
0 2 1 annotation TA;
0 2 2 annotatedElement Ljava/lang/reflect/AnnotatedElement;
0 2 3 result Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
Signature: (TA;Ljava/lang/reflect/AnnotatedElement;Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)V
MethodParameters:
Name Flags
annotation
annotatedElement
result
private org.junit.jupiter.api.extension.ConditionEvaluationResult lambda$0(java.lang.reflect.AnnotatedElement, java.lang.annotation.Annotation);
descriptor: (Ljava/lang/reflect/AnnotatedElement;Ljava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 2 0: aload 0
aload 2
invokevirtual org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.evaluate:(Ljava/lang/annotation/Annotation;)Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
astore 3
start local 3 1: aload 0
aload 2
aload 1
aload 3
invokevirtual org.junit.jupiter.api.condition.AbstractRepeatableAnnotationCondition.logResult:(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)V
2: aload 3
areturn
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/junit/jupiter/api/condition/AbstractRepeatableAnnotationCondition<TA;>;
0 3 2 annotation TA;
1 3 3 result Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;
private static java.lang.String lambda$2(java.lang.annotation.Annotation, java.lang.reflect.AnnotatedElement, org.junit.jupiter.api.extension.ConditionEvaluationResult);
descriptor: (Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;Lorg/junit/jupiter/api/extension/ConditionEvaluationResult;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=3, args_size=3
0: ldc "Evaluation of %s on [%s] resulted in: %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
aload 2
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: "AbstractRepeatableAnnotationCondition.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles