object PrivateMethod
Contains a factory method for instantiating PrivateMethod objects.
- Companion:
- class
Value members
Concrete methods
Construct a new PrivateMethod object with passed methodName symbol.
The type parameter, T, is the return type of the private method.
Construct a new PrivateMethod object with passed methodName symbol.
The type parameter, T, is the return type of the private method.
- Value parameters:
- methodName
a
Symbolrepresenting the name of the private method to invoke
- Throws:
- NullArgumentException
if
methodNameisnull