16

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?

Ivan Aracki
  • 4,861
  • 11
  • 59
  • 73

1 Answers1

30

A method written in italic indicate that this method is a static method.

Stephan
  • 41,764
  • 65
  • 238
  • 329