void (@NotNull PsiRecordComponent recordComponent) { PsiClass recordClass = recordComponent.getContainingClass(); if (recordClass == null) return; String name = recordComponent.getName(); for (PsiAnnotation annotation : recordComponent.getAnnotations()) { processAnnotation(recordClass, name, annotation); } }