Klasse GenericsSupport

java.lang.Object
net.jqwik.engine.support.GenericsSupport

public class GenericsSupport extends Object
  • Konstruktordetails

    • GenericsSupport

      public GenericsSupport()
  • Methodendetails

    • contextFor

      public static GenericsClassContext contextFor(Class<?> contextClass)
      Return a context object which can resolve generic types for a given contextClass.

      Must be synchronized because of caching.

      Parameter:
      contextClass - The class to wrap in a context
      Gibt zurück:
      a potentially cached context object
    • contextFor

      public static GenericsClassContext contextFor(net.jqwik.api.providers.TypeUsage typeUsage)