Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What means when method is italic in IntelliJ IDEA?

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?

like image 333
Ivan Aracki Avatar asked Nov 24 '15 13:11

Ivan Aracki


1 Answers

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

like image 162
Stephan Avatar answered Sep 24 '22 23:09

Stephan