PrivateMethod

Contains a factory method for instantiating PrivateMethod objects.

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](methodName: Symbol): PrivateMethod[T]

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 Symbol representing the name of the private method to invoke

Throws:
NullArgumentException

if methodName is null