scala.reflect.Invocation

class ReflectionOperators

[source: scala/reflect/Invocation.scala]

class ReflectionOperators[T <: AnyRef](self : T)
extends AnyRef
An implicit on AnyRef provides it with the 'o' method, which is supposed to look like a giant '.' and present the feel of method invocation.
Value Summary
val clazz : java.lang.Class[T]
Method Summary
def o (sym : Symbol) : Any
Issue call without touching result - returns Any.
def o (symApp : SymbolWithArguments) : Any
def oo [R](symApp : SymbolWithArguments) : R
def oo [R](sym : Symbol) : R
Issue call expecting return type R - casts result to R.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
val clazz : java.lang.Class[T]

Method Details
def o(sym : Symbol) : Any
Issue call without touching result - returns Any.

def o(symApp : SymbolWithArguments) : Any

def oo[R](sym : Symbol) : R
Issue call expecting return type R - casts result to R.

def oo[R](symApp : SymbolWithArguments) : R