Class SignatureTck.DescriptorCollision

java.lang.Object
io.micronaut.sourcegen.bytecode.tck.SignatureTck.DescriptorCollision
Enclosing class:
SignatureTck

public static class SignatureTck.DescriptorCollision extends Object
Wrong erasure must not collapse two legal overloads into one descriptor.
Since:
2.3
  • Constructor Details

    • DescriptorCollision

      public DescriptorCollision()
  • Method Details

    • value

      public Object value(Object input)
      Supplies the javac declaration used by the signature comparison.
      Parameters:
      input - The input value
      Returns:
      The fixture result
      Since:
      2.3
    • value

      public <T extends Number> Object value(T input)
      Supplies the javac declaration used by the signature comparison.
      Type Parameters:
      T - The generic type
      Parameters:
      input - The input value
      Returns:
      The fixture result
      Since:
      2.3