blob: cff73f84d75918b753d4f889cd60c880bd4edb84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
package scala
import scala.reflect.ClassTag
import scala.annotation.implicitNotFound
@implicitNotFound("no projector instance found to implement reflective access to structural type ${T}")
trait Projector[-T] extends Any {
def get(receiver: T, name: String): Any
def getMethod(receiver: T, name: String, paramClasses: ClassTag[_]*): Any =
new UnsupportedOperationException("getMethod")
}
|