class org.junit.rules.TestWatcher$1 extends org.junit.runners.model.Statement
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.junit.rules.TestWatcher$1
super_class: org.junit.runners.model.Statement
{
final org.junit.rules.TestWatcher this$0;
descriptor: Lorg/junit/rules/TestWatcher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.junit.runner.Description val$description;
descriptor: Lorg/junit/runner/Description;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.junit.runners.model.Statement val$base;
descriptor: Lorg/junit/runners/model/Statement;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.junit.rules.TestWatcher, org.junit.runner.Description, org.junit.runners.model.Statement);
descriptor: (Lorg/junit/rules/TestWatcher;Lorg/junit/runner/Description;Lorg/junit/runners/model/Statement;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
aload 2
putfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 0
aload 3
putfield org.junit.rules.TestWatcher$1.val$base:Lorg/junit/runners/model/Statement;
aload 0
invokespecial org.junit.runners.model.Statement.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/junit/rules/TestWatcher$1;
MethodParameters:
Name Flags
this$0 final
val$description final
val$base final
public void evaluate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.startingQuietly:(Lorg/junit/runner/Description;Ljava/util/List;)V
2: aload 0
getfield org.junit.rules.TestWatcher$1.val$base:Lorg/junit/runners/model/Statement;
invokevirtual org.junit.runners.model.Statement.evaluate:()V
3: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.succeededQuietly:(Lorg/junit/runner/Description;Ljava/util/List;)V
4: goto 16
StackMap locals: org.junit.rules.TestWatcher$1 java.util.List
StackMap stack: org.junit.internal.AssumptionViolatedException
5: astore 2
start local 2 6: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 2
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.skippedQuietly:(Lorg/junit/internal/AssumptionViolatedException;Lorg/junit/runner/Description;Ljava/util/List;)V
end local 2 8: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.finishedQuietly:(Lorg/junit/runner/Description;Ljava/util/List;)V
goto 17
9: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
start local 2 10: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 2
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.failedQuietly:(Ljava/lang/Throwable;Lorg/junit/runner/Description;Ljava/util/List;)V
end local 2 12: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.finishedQuietly:(Lorg/junit/runner/Description;Ljava/util/List;)V
goto 17
13: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
14: aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.finishedQuietly:(Lorg/junit/runner/Description;Ljava/util/List;)V
15: aload 3
athrow
16: StackMap locals:
StackMap stack:
aload 0
getfield org.junit.rules.TestWatcher$1.this$0:Lorg/junit/rules/TestWatcher;
aload 0
getfield org.junit.rules.TestWatcher$1.val$description:Lorg/junit/runner/Description;
aload 1
invokevirtual org.junit.rules.TestWatcher.finishedQuietly:(Lorg/junit/runner/Description;Ljava/util/List;)V
17: StackMap locals:
StackMap stack:
aload 1
invokestatic org.junit.runners.model.MultipleFailureException.assertEmpty:(Ljava/util/List;)V
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/junit/rules/TestWatcher$1;
1 19 1 errors Ljava/util/List<Ljava/lang/Throwable;>;
6 8 2 e Lorg/junit/internal/AssumptionViolatedException;
10 12 2 e Ljava/lang/Throwable;
Exception table:
from to target type
2 4 5 Class org.junit.internal.AssumptionViolatedException
2 4 9 Class java.lang.Throwable
2 8 13 any
9 12 13 any
Exceptions:
throws java.lang.Throwable
}
SourceFile: "TestWatcher.java"
EnclosingMethod: org.junit.rules.TestWatcher.apply:(Lorg/junit/runners/model/Statement;Lorg/junit/runner/Description;)Lorg/junit/runners/model/Statement;
NestHost: org.junit.rules.TestWatcher
InnerClasses:
org.junit.rules.TestWatcher$1