If I try
private[com.company.foo] def bar(xml: XmlPath) = {
I get
[error] ... \']\' expected but \'.\' found. [error]
You can only define the enclosing package, within which the code is defined:
package com.company.foo class Bar{ private[foo] def bar(xml: XmlPath) }
and if you want to set it to company:
private[company] def bar(xml: XmlPath)