void (Map<String, PsiRecordComponent> componentMap, PsiField field) { if (field.hasModifierProperty(PsiModifier.STATIC)) return; PsiRecordComponent component = componentMap.get(field.getName()); if (component == null) return; copyAnnotations(field, component, PsiAnnotation.TargetType.FIELD); }