public class org.junit.rules.ExpectedException implements org.junit.rules.TestRule
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.junit.rules.ExpectedException
  super_class: java.lang.Object
{
  private final org.junit.rules.ExpectedExceptionMatcherBuilder matcherBuilder;
    descriptor: Lorg/junit/rules/ExpectedExceptionMatcherBuilder;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.String missingExceptionMessage;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  public static org.junit.rules.ExpectedException none();
    descriptor: ()Lorg/junit/rules/ExpectedException;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 112
            new org.junit.rules.ExpectedException
            dup
            invokespecial org.junit.rules.ExpectedException.<init>:()V
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.junit.rules.ExpectedException this
         0: .line 119
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 115
            aload 0 /* this */
            new org.junit.rules.ExpectedExceptionMatcherBuilder
            dup
            invokespecial org.junit.rules.ExpectedExceptionMatcherBuilder.<init>:()V
            putfield org.junit.rules.ExpectedException.matcherBuilder:Lorg/junit/rules/ExpectedExceptionMatcherBuilder;
         2: .line 117
            aload 0 /* this */
            ldc "Expected test to throw %s"
            putfield org.junit.rules.ExpectedException.missingExceptionMessage:Ljava/lang/String;
         3: .line 120
            return
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/junit/rules/ExpectedException;

  public org.junit.rules.ExpectedException handleAssertionErrors();
    descriptor: ()Lorg/junit/rules/ExpectedException;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.junit.rules.ExpectedException this
         0: .line 129
            aload 0 /* this */
            areturn
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/junit/rules/ExpectedException;
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()

  public org.junit.rules.ExpectedException handleAssumptionViolatedExceptions();
    descriptor: ()Lorg/junit/rules/ExpectedException;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.junit.rules.ExpectedException this
         0: .line 139
            aload 0 /* this */
            areturn
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/junit/rules/ExpectedException;
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()

  public org.junit.rules.ExpectedException reportMissingExceptionWithMessage(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/junit/rules/ExpectedException;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // java.lang.String message
         0: .line 153
            aload 0 /* this */
            aload 1 /* message */
            putfield org.junit.rules.ExpectedException.missingExceptionMessage:Ljava/lang/String;
         1: .line 154
            aload 0 /* this */
            areturn
        end local 1 // java.lang.String message
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/junit/rules/ExpectedException;
            0    2     1  message  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      message  

  public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement, org.junit.runner.Description);
    descriptor: (Lorg/junit/runners/model/Statement;Lorg/junit/runner/Description;)Lorg/junit/runners/model/Statement;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // org.junit.runners.model.Statement base
        start local 2 // org.junit.runner.Description description
         0: .line 159
            new org.junit.rules.ExpectedException$ExpectedExceptionStatement
            dup
            aload 0 /* this */
            aload 1 /* base */
            invokespecial org.junit.rules.ExpectedException$ExpectedExceptionStatement.<init>:(Lorg/junit/rules/ExpectedException;Lorg/junit/runners/model/Statement;)V
            areturn
        end local 2 // org.junit.runner.Description description
        end local 1 // org.junit.runners.model.Statement base
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    1     0         this  Lorg/junit/rules/ExpectedException;
            0    1     1         base  Lorg/junit/runners/model/Statement;
            0    1     2  description  Lorg/junit/runner/Description;
    MethodParameters:
             Name  Flags
      base         
      description  

  public void expect(org.hamcrest.Matcher<?>);
    descriptor: (Lorg/hamcrest/Matcher;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // org.hamcrest.Matcher matcher
         0: .line 173
            aload 0 /* this */
            getfield org.junit.rules.ExpectedException.matcherBuilder:Lorg/junit/rules/ExpectedExceptionMatcherBuilder;
            aload 1 /* matcher */
            invokevirtual org.junit.rules.ExpectedExceptionMatcherBuilder.add:(Lorg/hamcrest/Matcher;)V
         1: .line 174
            return
        end local 1 // org.hamcrest.Matcher matcher
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/junit/rules/ExpectedException;
            0    2     1  matcher  Lorg/hamcrest/Matcher<*>;
    Signature: (Lorg/hamcrest/Matcher<*>;)V
    MethodParameters:
         Name  Flags
      matcher  

  public void expect(java.lang.Class<? extends java.lang.Throwable>);
    descriptor: (Ljava/lang/Class;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // java.lang.Class type
         0: .line 186
            aload 0 /* this */
            aload 1 /* type */
            invokestatic org.hamcrest.CoreMatchers.instanceOf:(Ljava/lang/Class;)Lorg/hamcrest/Matcher;
            invokevirtual org.junit.rules.ExpectedException.expect:(Lorg/hamcrest/Matcher;)V
         1: .line 187
            return
        end local 1 // java.lang.Class type
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/junit/rules/ExpectedException;
            0    2     1  type  Ljava/lang/Class<+Ljava/lang/Throwable;>;
    Signature: (Ljava/lang/Class<+Ljava/lang/Throwable;>;)V
    MethodParameters:
      Name  Flags
      type  

  public void expectMessage(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // java.lang.String substring
         0: .line 199
            aload 0 /* this */
            aload 1 /* substring */
            invokestatic org.hamcrest.CoreMatchers.containsString:(Ljava/lang/String;)Lorg/hamcrest/Matcher;
            invokevirtual org.junit.rules.ExpectedException.expectMessage:(Lorg/hamcrest/Matcher;)V
         1: .line 200
            return
        end local 1 // java.lang.String substring
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/junit/rules/ExpectedException;
            0    2     1  substring  Ljava/lang/String;
    MethodParameters:
           Name  Flags
      substring  

  public void expectMessage(org.hamcrest.Matcher<java.lang.String>);
    descriptor: (Lorg/hamcrest/Matcher;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // org.hamcrest.Matcher matcher
         0: .line 212
            aload 0 /* this */
            aload 1 /* matcher */
            invokestatic org.junit.internal.matchers.ThrowableMessageMatcher.hasMessage:(Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;
            invokevirtual org.junit.rules.ExpectedException.expect:(Lorg/hamcrest/Matcher;)V
         1: .line 213
            return
        end local 1 // org.hamcrest.Matcher matcher
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/junit/rules/ExpectedException;
            0    2     1  matcher  Lorg/hamcrest/Matcher<Ljava/lang/String;>;
    Signature: (Lorg/hamcrest/Matcher<Ljava/lang/String;>;)V
    MethodParameters:
         Name  Flags
      matcher  

  public void expectCause(org.hamcrest.Matcher<? extends java.lang.Throwable>);
    descriptor: (Lorg/hamcrest/Matcher;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // org.hamcrest.Matcher expectedCause
         0: .line 226
            aload 0 /* this */
            aload 1 /* expectedCause */
            invokestatic org.junit.internal.matchers.ThrowableCauseMatcher.hasCause:(Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;
            invokevirtual org.junit.rules.ExpectedException.expect:(Lorg/hamcrest/Matcher;)V
         1: .line 227
            return
        end local 1 // org.hamcrest.Matcher expectedCause
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lorg/junit/rules/ExpectedException;
            0    2     1  expectedCause  Lorg/hamcrest/Matcher<+Ljava/lang/Throwable;>;
    Signature: (Lorg/hamcrest/Matcher<+Ljava/lang/Throwable;>;)V
    MethodParameters:
               Name  Flags
      expectedCause  

  private void handleException(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.junit.rules.ExpectedException this
        start local 1 // java.lang.Throwable e
         0: .line 251
            aload 0 /* this */
            invokevirtual org.junit.rules.ExpectedException.isAnyExceptionExpected:()Z
            ifeq 3
         1: .line 252
            aload 1 /* e */
            aload 0 /* this */
            getfield org.junit.rules.ExpectedException.matcherBuilder:Lorg/junit/rules/ExpectedExceptionMatcherBuilder;
            invokevirtual org.junit.rules.ExpectedExceptionMatcherBuilder.build:()Lorg/hamcrest/Matcher;
            invokestatic org.junit.Assert.assertThat:(Ljava/lang/Object;Lorg/hamcrest/Matcher;)V
         2: .line 253
            goto 4
         3: .line 254
      StackMap locals:
      StackMap stack:
            aload 1 /* e */
            athrow
         4: .line 256
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Throwable e
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/junit/rules/ExpectedException;
            0    5     1     e  Ljava/lang/Throwable;
    Exceptions:
      throws java.lang.Throwable
    MethodParameters:
      Name  Flags
      e     

  private boolean isAnyExceptionExpected();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.junit.rules.ExpectedException this
         0: .line 259
            aload 0 /* this */
            getfield org.junit.rules.ExpectedException.matcherBuilder:Lorg/junit/rules/ExpectedExceptionMatcherBuilder;
            invokevirtual org.junit.rules.ExpectedExceptionMatcherBuilder.expectsThrowable:()Z
            ireturn
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/junit/rules/ExpectedException;

  private void failDueToMissingException();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.junit.rules.ExpectedException this
         0: .line 263
            aload 0 /* this */
            invokevirtual org.junit.rules.ExpectedException.missingExceptionMessage:()Ljava/lang/String;
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         1: .line 264
            return
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/junit/rules/ExpectedException;
    Exceptions:
      throws java.lang.AssertionError

  private java.lang.String missingExceptionMessage();
    descriptor: ()Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.junit.rules.ExpectedException this
         0: .line 267
            aload 0 /* this */
            getfield org.junit.rules.ExpectedException.matcherBuilder:Lorg/junit/rules/ExpectedExceptionMatcherBuilder;
            invokevirtual org.junit.rules.ExpectedExceptionMatcherBuilder.build:()Lorg/hamcrest/Matcher;
            invokestatic org.hamcrest.StringDescription.toString:(Lorg/hamcrest/SelfDescribing;)Ljava/lang/String;
            astore 1 /* expectation */
        start local 1 // java.lang.String expectation
         1: .line 268
            aload 0 /* this */
            getfield org.junit.rules.ExpectedException.missingExceptionMessage:Ljava/lang/String;
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 1 /* expectation */
            aastore
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 1 // java.lang.String expectation
        end local 0 // org.junit.rules.ExpectedException this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    2     0         this  Lorg/junit/rules/ExpectedException;
            1    2     1  expectation  Ljava/lang/String;
}
SourceFile: "ExpectedException.java"
NestMembers:
  org.junit.rules.ExpectedException$ExpectedExceptionStatement
InnerClasses:
  private ExpectedExceptionStatement = org.junit.rules.ExpectedException$ExpectedExceptionStatement of org.junit.rules.ExpectedException