Class Constructors


  • public abstract class Constructors
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Constructors()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.reflect.Constructor<?> noArgConstructorOf​(java.lang.Class<?> classToMock)
      Returns the no arg constructor of the type if any.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Constructors

        public Constructors()
    • Method Detail

      • noArgConstructorOf

        public static java.lang.reflect.Constructor<?> noArgConstructorOf​(java.lang.Class<?> classToMock)
        Returns the no arg constructor of the type if any.
        Parameters:
        classToMock - The type to look for a no-arg constructor
        Returns:
        The no-arg constructor or null if none is declared.