When a block of code is unreachable at compile time, will the compiler remove it? Example:
final boolean DO_THAT = false;
if (DO_THAT) {
// code…
}
In my application I’m specially interested in the removal of the condition check, since the condition will always be true or false at compile time.