Set<String> (@NotNull PsiClass psiClass) { final Set<String> properties = new HashSet<>(); for (PsiMethod constructor : psiClass.getConstructors()) { if (constructor.hasModifierProperty(PsiModifier.PUBLIC)) { final PsiParameter[] parameters = constructor.getParameterList().getParameters(); for (PsiParameter parameter : parameters) { final String propertyName = getPropertyNameFromNamedArgAnnotation(parameter); if (!StringUtil.isEmpty(propertyName)) { properties.add(propertyName); } } } } return properties; }