This inspection reports an object and a top-level val that might be declared as const for better performance and Java interoperability.