I know about the usage difference between empty-parameter and parameterless methods in scala, and my question pertains to the class file generated. When I look at these two classes in javap, they look exactly the same:
class Foo {
def bar() = 123;
}
class Foo {
def bar = 123;
}
But when I look at them in scalap, they accurately reflect the parameter lists. Where in the class file is scalac making this distinction known?