InstantiatableClass

class Object
trait Matchable
class Any

Value members

Concrete methods

def getConstructor(parameterTypes: Class[_]*): Option[InvokableConstructor]

Looks up a public constructor identified by the types of its formal parameters.

Looks up a public constructor identified by the types of its formal parameters.

If no such public constructor exists, returns None.

def newInstance(): Any

Instantiates a new instance of this class using the zero-argument constructor.

Instantiates a new instance of this class using the zero-argument constructor.

Throws:
java.lang.InstantiationException

(caused by a NoSuchMethodException) If this class does not have a public zero-argument constructor.