Reports invalid receiver types. Receiver type must be of the form T or *T (possibly using parentheses) where T is a type name. T must not be a pointer or interface type and it must be declared in the same package as the method.