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?
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?
A method written in italic indicate that this method is a static method.