Klasse ReflectionSupportFacade

java.lang.Object
net.jqwik.api.facades.ReflectionSupportFacade

@API(status=INTERNAL) public abstract class ReflectionSupportFacade extends Object
  • Felddetails

  • Konstruktordetails

    • ReflectionSupportFacade

      public ReflectionSupportFacade()
  • Methodendetails

    • newInstanceInTestContext

      public abstract <T> T newInstanceInTestContext(Class<T> clazz, Object context)
      Create instance of a class that can potentially be a non static inner class and its outer instance might be context
      Typparameter:
      T - The type of the instance to create
      Parameter:
      clazz - The class to instantiate
      context - The potential context instance
      Gibt zurück:
      the newly created instance
    • newInstanceWithDefaultConstructor

      public abstract <T> T newInstanceWithDefaultConstructor(Class<T> clazz)
      Create instance of a class that can potentially be a non static inner class
      Typparameter:
      T - The type of the instance to create
      Parameter:
      clazz - The class to instantiate
      Gibt zurück:
      the newly created instance