void (@NotNull GrMethod constructor, @NotNull List<? extends GrField> fields, @NotNull Set<? super GrVariable> initializedFields) { final List<GrMethod> chained = getChainedConstructors(constructor); chained.remove(0); for (GrMethod method : chained) { final GrOpenBlock block = method.getBlock(); if (block == null) continue; final GroovyControlFlow flow = buildFlowForField(block); for (GrField field : fields) { if (!field.hasModifierProperty(PsiModifier.STATIC) && !initializedFields.contains(field) && VariableInitializationChecker.isVariableDefinitelyInitializedCached(field, block, flow)) { initializedFields.add(field); } } } }