Identify and Fix Deprecated Calls

IntelliJ IDEA will warn you if you're using deprecated methods, and they will be shown with a strikethrough if they're marked for removal.

Tip Screenshot

IntelliJ IDEA shows deprecated methods that are marked for removal with a red strikethrough. JDK 16 has marked the wrapper class constructors for removal, so you'll see these with a red strikethrough in IntelliJ IDEA.


Related Resources

Add a Breakpoint
Add a Breakpoint
Add breakpoints when you get an exception in your code.
Create a new class
Create a new class
Create a new class and a new package.
Inlay Hints
Inlay Hints
Inlay hints provide additional information about your code.