Java Language Specification, Version Java SE 13 Edition
15.12. Method Invocation Expressions7 Documented Misconceptions
CallNotStaticallyChecked
A method invocation on a reference of a type that does not have that method won't compileCannotChainMemberAccesses
Member accesses cannot be chained togetherCannotChainMemberToConstructor
Method calls or field accesses cannot be chained to a constructor invocationLiteralString
When passing a literal string as argument to a method, no quotes are neededOutsideInMethodNesting
Nested method calls are invoked outside inParenthesesOnlyIfArgument
() are optional for method calls without argumentsRightToLeftChaining
Chained accesses are invoked from right to left