问题
By default, IntelliJ IDEA shows some of the methods as italic when we call them:
Example:
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
getContext()
is italic, but getAuthentication()
isn't, what does it mean?
回答1:
A method written in italic indicate that this method is a static method.
来源:https://stackoverflow.com/questions/33894818/what-means-when-method-is-italic-in-intellij-idea