报告其访问可能较弱的类、方法和变量。

示例:


  def foo() {
    onlyUsedInFoo("foo", "foo")
  }
  def onlyUsedInFoo(x: String, y: String): Unit = {} // 可为 private