Class OverloadSelectionTck.Overloads

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.OverloadSelectionTck.Overloads
Enclosing class:
OverloadSelectionTck

public static class OverloadSelectionTck.Overloads extends Object
Reflected overloads with observably different results.
Since:
2.3
  • Constructor Details

    • Overloads

      public Overloads(Object value)
      Creates an instance recording the selected overload.
      Parameters:
      value - An object
    • Overloads

      public Overloads(CharSequence value)
      Creates an instance recording the selected overload.
      Parameters:
      value - A sequence
  • Method Details

    • reference

      public static String reference(Object value)
      Identifies the selected overload.
      Parameters:
      value - An object
      Returns:
      The selected overload
    • reference

      public static String reference(CharSequence value)
      Identifies the selected overload.
      Parameters:
      value - A sequence
      Returns:
      The selected overload
    • numeric

      public static String numeric(long value)
      Identifies the selected overload.
      Parameters:
      value - A long
      Returns:
      The selected overload
    • numeric

      public static String numeric(Integer value)
      Identifies the selected overload.
      Parameters:
      value - A boxed integer
      Returns:
      The selected overload
    • widen

      public static String widen(long value)
      Identifies the selected overload.
      Parameters:
      value - A long
      Returns:
      The selected overload
    • varargs

      public static String varargs(Object... values)
      Reports whether the varargs array itself is null.
      Parameters:
      values - The values
      Returns:
      The array state
    • fixed

      public static String fixed(Object value)
      Identifies the fixed arity overload.
      Parameters:
      value - The value
      Returns:
      The selected overload
    • fixed

      public static String fixed(String... values)
      Identifies the variable arity overload.
      Parameters:
      values - The values
      Returns:
      The selected overload
    • widen

      public static String widen(boolean value)
      Identifies the selected overload.
      Parameters:
      value - A boolean
      Returns:
      The selected overload