Class SignatureTck.ShadowedExceptionBound<E extends Exception, T extends E>

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.SignatureTck.ShadowedExceptionBound<E,T>
Type Parameters:
E - The exception bound
T - The dependent exception
Enclosing class:
SignatureTck

public static class SignatureTck.ShadowedExceptionBound<E extends Exception, T extends E> extends Object
Exception erasure retains the class declaration scope.
Since:
2.3
  • Constructor Details

    • ShadowedExceptionBound

      public ShadowedExceptionBound()
  • Method Details

    • value

      public <E extends RuntimeException> void value() throws T
      Type Parameters:
      E - The unrelated method variable
      Throws:
      T - The class exception