void (LighterASTNode mutated) { if (mutated == null) return; if (!myFieldModifiers.isEmpty()) { IElementType type = mutated.getTokenType(); if (type == REFERENCE_EXPRESSION && isEffectivelyUnqualified(mutated)) { LighterASTNode modifiers = myFieldModifiers.get(JavaLightTreeUtil.getNameIdentifierText(tree, mutated)); if (modifiers != null) { boolean isStatic = LightTreeUtil.firstChildOfType(tree, modifiers, JavaTokenType.STATIC_KEYWORD) != null; if (!isStatic) { if (!constructor) { // writes to own fields in constructor do not count as mutations mutatesThis = true; } return; } } } } mutatedRefs.add(mutated); }