aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs/scala/test/HelloLib.scala
blob: 974c8b7298c3cf281c91b4d949c510f1a1d4ebf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package scala.test

object HelloLib {
  def printMessage(arg: String) {
    println(getOtherLibMessage(arg))
    println(getOtherJavaLibMessage(arg))
    println(Exported.message)
  }

  def getOtherLibMessage(arg: String) : String = {
    arg + " " + OtherLib.getMessage()
  }

  def getOtherJavaLibMessage(arg: String) : String = {
    arg + " " + OtherJavaLib.getMessage()
  }
}