Class OverloadSelectionTck.GenericConstructor<T extends CharSequence>

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.OverloadSelectionTck.GenericConstructor<T>
Type Parameters:
T - The selected value type
Enclosing class:
OverloadSelectionTck

public static class OverloadSelectionTck.GenericConstructor<T extends CharSequence> extends Object
Generic class with a class-variable overload and an Object fallback.
Since:
2.3
  • Constructor Details

    • GenericConstructor

      public GenericConstructor(T value)
      Parameters:
      value - The selected value
    • GenericConstructor

      public GenericConstructor(Object value)
      Parameters:
      value - The fallback value
  • Method Details

    • selected

      public String selected()
      Returns:
      The selected constructor