Class BoundedBoxFixtures.Calls

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.BoundedBoxFixtures.Calls
Enclosing class:
BoundedBoxFixtures

public static final class BoundedBoxFixtures.Calls extends Object
The overloads the generated calls choose between, called from javac to tell the expected result.
Since:
2.3
  • Method Details

    • boxed

      public static String boxed(Object box)
      Parameters:
      box - The box
      Returns:
      The overload
    • boxed

      public static <T extends Number> String boxed(BoundedBoxFixtures.NumberBox<T> box)
      Type Parameters:
      T - The element type
      Parameters:
      box - The box
      Returns:
      The overload
    • identity

      public static <T extends Number> T identity(T value)
      Type Parameters:
      T - The type
      Parameters:
      value - The value
      Returns:
      The value