void (ClsClassImpl trait, Collection<? super GrField> result) { VirtualFile traitFile = trait.getContainingFile().getVirtualFile(); if (traitFile == null) return; VirtualFile helperFile = traitFile.getParent().findChild(trait.getName() + GroovyTraitFieldsFileIndex.HELPER_SUFFIX); if (helperFile == null) return; Collection<TraitFieldDescriptor> values = GROOVY_TRAIT_FIELDS_GIST.getFileData(trait.getProject(), helperFile); if (values != null) { values.forEach(descriptor -> result.add(createTraitField(descriptor, trait))); } }