Inspectopedia Help

Infinite recursion

Reports methods that call themselves infinitely unless an exception is thrown.

Methods reported by this inspection cannot return normally. While such behavior may be intended, in many cases this is just an oversight.


int baz() { return baz(); }

Inspection Details

Available in:

AppCode 2023.3, CLion 2023.3, IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Java, 233.SNAPSHOT

Last modified: 13 July 2023