Back to Intellij Community

Description

java/java-impl/resources/intentionDescriptions/ConstantSubexpressionIntention/description.html

2025.3-rc-2227 B
Original Source

Calculates the value of a compile time constant sub-expression, and replaces it with an equivalent literal expression. It's intended for cases where you don't wish to replace an entire constant expression, just a portion of it.