Class ReceiverTck.MethodBounds<X extends Number>

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.ReceiverTck.MethodBounds<X>
Type Parameters:
X - ResolutionFixtures.Receiver numeric type
Enclosing class:
ReceiverTck

public static class ReceiverTck.MethodBounds<X extends Number> extends Object
A method bound refers to the receiver's type argument.
Since:
2.3
  • Constructor Details

    • MethodBounds

      public MethodBounds()
  • Method Details

    • choose

      public <T extends X> String choose(List<T> values)
      Supplies the javac behavior or signature used by the regression test.
      Type Parameters:
      T - The fixture input
      Parameters:
      values - The fixture input
      Returns:
      The javac fixture result
      Since:
      2.3
    • choose

      public String choose(Object values)
      Supplies the javac behavior or signature used by the regression test.
      Parameters:
      values - The fixture input
      Returns:
      The javac fixture result
      Since:
      2.3