RussellSpitzer commented on issue #3615: URL: https://github.com/apache/iceberg/issues/3615#issuecomment-982249435
This is one of those fun things about Java Scala interoperability. Scala compiles .scala files into several Java classes depending on their usage. Singleton's and Static methods end up getting placed in a Class$.MODULE$ java class, so if we want to access the methods from a Scala `object` we need to use these weird $'s. I'm not sure if there is a way to make Scala compile it into a singleton with the same class name without $ but I just always use $.MODULE$ when I'm interoperating with Scala singletons from Java. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
