What is the analog in Scala of doing this in Java:
public class Outer {
private Inner inner;
public static class Inner {
}
public Inner getInner()
In scala if you need to create a some static methods you can use a companion object, with the same name of the class, where you store all the pseudo static methods. Ex:
class A {
}
object A {
def xpto // define some pseudo static methods here..
}
Then you can just use A.xpto.
Try to read more about companion modules on scala