if (expr instanceof JMethodCall && JProgram.isClinit(((JMethodCall) expr).getTarget())) {
JDeclaredType enclosingType = ((JMethodCall) expr).getTarget().getEnclosingType();
// If a clinit of enclosingType or a subclass of enclosingType has already been
// called as part of this JMultiExpression then this clinit call is noop at runtime
// and can be statically removed.
if (enclosingType.findSubtype(clinitsCalled) != null) {
x.removeExpression(i);
--i;
madeChanges();
continue;
} else {