blob: e2a0d073519d8e93b9d12c2e57d03167e1e568a3 (
plain) (
blame)
1
2
3
4
|
package cbt.reflect
case class StaticMethod[Arg, Result]( function: Arg => Result, name: String ) extends ( Arg => Result ) {
def apply( arg: Arg ): Result = function( arg )
}
|